Hi,
If anyone have a clue on what I should do to fix this issue, I would really appreciated:
One of the stunnel process is running at 99% and in R state and the time just keep incrementing.
[root@root]# ps auxw|grep stunnel root 781 0.0 0.0 6520 2684 ? T 11:01 0:00 /usr/sbin/stunnel /etc/stunnel/stunnel.conf root 2853 0.0 0.0 3940 604 ttyp2 S+ 11:37 0:00 grep stunnel root 16554 0.0 0.0 3992 788 ? S Jul01 0:00 /usr/sbin/stunnel /etc/stunnel/stunnel.conf root 16555 0.0 0.0 3992 788 ? S Jul01 0:00 /usr/sbin/stunnel /etc/stunnel/stunnel.conf root 16556 0.0 0.0 3992 788 ? S Jul01 0:00 /usr/sbin/stunnel /etc/stunnel/stunnel.conf root 16557 0.0 0.0 3992 788 ? S Jul01 0:00 /usr/sbin/stunnel /etc/stunnel/stunnel.conf root 16558 0.0 0.0 3992 788 ? S Jul01 0:00 /usr/sbin/stunnel /etc/stunnel/stunnel.conf root 16561 0.0 0.0 6520 2684 ? Ts Jul01 0:00 /usr/sbin/stunnel /etc/stunnel/stunnel.conf root 16656 0.0 0.0 6520 2684 ? S Jul01 0:00 /usr/sbin/stunnel /etc/stunnel/stunnel.conf root 23954 0.0 0.0 6520 2684 ? S 08:00 0:00 /usr/sbin/stunnel /etc/stunnel/stunnel.conf root 23955 99.0 0.0 6520 2684 ? R 08:00 189:52 /usr/sbin/stunnel /etc/stunnel/stunnel.conf root 31521 0.0 0.0 6520 2684 ? S 10:30 0:00 /usr/sbin/stunnel /etc/stunnel/stunnel.conf
Thanks, Mike
----- Original Message ---- From: Aron Griffis agriffis@n01se.net To: Fat Wallet fat8wallet@yahoo.com Cc: stunnel-users@mirt.net Sent: Monday, June 30, 2008 11:04:44 AM Subject: Re: [stunnel-users] Stunnel 4.21 99% cpu ultilization
Fat Wallet wrote: [Mon Jun 30 2008, 01:28:11PM EDT]
Can someone please help with this issue? This 100% cpu utilization issue happens randomly on multiprocess cpu.
strace, ltrace, build stunnel with debugging symbols and attach gdb to the spinning process, etc.
Is your name really Fat Wallet?
Hi,
Fat Wallet wrote:
If anyone have a clue on what I should do to fix this issue, I would really appreciated:
One of the stunnel process is running at 99% and in R state and the time just keep incrementing.
[...]
Fat Wallet wrote: [Mon Jun 30 2008, 01:28:11PM EDT]
Can someone please help with this issue? This 100% cpu utilization issue happens randomly on multiprocess cpu.
strace, ltrace, build stunnel with debugging symbols and attach gdb to the spinning process, etc.
I'd just like to add that I've seen similar behavior with stunnel 4.20 on FreeBSD (6.2). I upgraded to 4.20 from 4.07 a while ago, and that one was a lot more stable.
Thing is, if it consumes 99% CPU in our setup, all of the sessions stall. I'm running with monit for a while now, looking after stunnel and restarting it when necessary.
Far from ideal. It's hard to reproduce, and I couldn't find a cause with strace or ktrace / kdump (it actually seems like there's not much going on when the process stalls), and I didn't have the time to dig deeper. (Or report it, actually ;-)) And I'm afraid that adding debugging symbols would harm the performance that we need.
Just every now and then I see someone posting the same issue on the list (there was one before). So maybe it's time to throw in a "me too". I'm afraid I can't help a lot though with debugging this issue. It's on a production server, and I have no clue when it actually happens. It just does, every now and then, once a month or so.
Regards, Paul