The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

stunnel hanging

Discussion in 'General Discussion' started by idealso, Dec 19, 2007.

  1. idealso

    idealso Active Member

    Joined:
    Mar 1, 2007
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    I'm currently having an ongoing problem with stunnel. At apparently random intervals, it will stop responding and attempt to use up all CPU. The result is that no cpanel pages (cpanel, whm, webmail) respond, and I have to log in and restart the cpanel services. Since I only see this after the fact, and have not been able to replicate it, I'm not sure what's causing it.

    I tried checking "Use native SSL support if possible, negating need for Stunnel" but quickly ran into an old problem where cpsrvd-ssl processes tend to hang, each one increasing the load of the box, causing it to slow down.

    The server is FreeBSD 5.3. We have plans to update to a new server, but it will be a little while until that's ready. Last night, I ran upcp. The server is now running WHM 11.11.0, cPanel 11.16.0-R18473, FREEBSD 5.3-RELEASE i386 on standard - WHM X v3.1.0

    Any suggestions for troubleshooting, or has anyone else run into similar problems?
     
  2. [O-CuK]Marci

    [O-CuK]Marci Active Member

    Joined:
    Jun 3, 2004
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Exactly the same problem here and would love a solution for it... s'getting very annoying. Same OS here too... altho I haven't yet upgraded to WHM 11.x.x or cPanel 11....

    And yes, had exactly the same problem when I checked "Use native SSL support if possible...." also.

    Code:
    last pid: 20069;  load averages:  2.16,  2.38,  2.27                                                 up 1+01:02:43  20:51:16
    156 processes: 2 running, 154 sleeping
    CPU states: 61.3% user,  0.0% nice,  3.5% system,  0.4% interrupt, 34.8% idle
    Mem: 492M Active, 181M Inact, 195M Wired, 39M Cache, 110M Buf, 75M Free
    Swap: 2048M Total, 69M Used, 1979M Free, 3% Inuse
    
      PID USERNAME PRI NICE   SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
    49611 cpanel    20    0  4564K  2132K kserel 0  35:44 75.98% 75.98% stunnel
      528 nobody     4    0 26312K 17944K sbwait 1  13:01  3.12%  3.12% httpd
    73111 nobody     4    0 25104K 16596K sbwait 0   3:08  3.12%  3.12% httpd
    19833 nobody     4    0 20392K 13964K sbwait 1   0:03  2.88%  2.88% httpd
      526 nobody     4    0 24608K 16324K sbwait 0  13:55  2.83%  2.83% httpd
    18876 nobody     4    0 20600K 14444K sbwait 1   0:27  2.73%  2.73% httpd
    20058 nobody    20    0 18924K 12708K lockf  0   0:01  3.66%  2.25% httpd
    20065 nobody     4    0 18748K 12548K sbwait 0   0:00  5.77%  1.90% httpd
    73112 nobody     4    0 23720K 16408K sbwait 0   2:49  1.81%  1.81% httpd
    19101 nobody     4    0 19100K 12656K sbwait 1   0:20  1.37%  1.37% httpd
    18991 nobody     4    0 19660K 13224K sbwait 1   0:14  1.37%  1.37% httpd
    19896 nobody     4    0 18960K 12584K sbwait 1   0:04  1.37%  1.37% httpd
      544 nobody     4    0 26848K 17804K sbwait 1  13:34  1.22%  1.22% httpd
      575 nobody     4    0 25704K 17408K sbwait 1  12:48  1.22%  1.22% httpd
    18990 nobody     4    0 19972K 13532K sbwait 1   0:17  1.17%  1.17% httpd
    19099 nobody    20    0 19292K 13112K lockf  0   0:14  1.17%  1.17% httpd
    82558 nobody     4    0 22832K 15056K sbwait 0   2:16  1.07%  1.07% httpd
    19342 nobody     4    0 17916K 11420K sbwait 0   0:14  1.07%  1.07% httpd
    73240 nobody     4    0 24544K 17068K sbwait 1   2:56  0.88%  0.88% httpd
    19315 nobody     4    0 17240K 10852K sbwait 0   0:13  0.88%  0.88% httpd
    19936 nobody    20    0 19328K 12976K lockf  0   0:03  0.83%  0.83% httpd
    61006 nobody    97    0 27656K 19752K select 0   3:49  0.78%  0.78% httpd
      574 nobody     4    0 26040K 17912K sbwait 0  14:04  0.68%  0.68% httpd
      543 nobody     4    0 26132K 17376K kqread 0  13:22  0.68%  0.68% httpd
      527 nobody    20    0 29456K 16708K lockf  0  14:03  0.63%  0.63% httpd
    19777 nobody     4    0 20028K 13580K sbwait 0   0:02  0.59%  0.59% httpd
     8023 nobody    20    0 21516K 15440K lockf  0   0:57  0.34%  0.34% httpd
      525 nobody     4    0 24676K 16772K sbwait 0  13:09  0.24%  0.24% httpd
      532 nobody     4    0 27508K 17616K sbwait 0  13:22  0.05%  0.05% httpd
      853 mysql     20    0 73352K 21508K kserel 0 134:12  0.00%  0.00% mysqld
    91397 nobody     4    0 27296K 17844K sbwait 0   7:49  0.00%  0.00% httpd
     7546 nobody     4    0 22036K 15980K sbwait 0   1:08  0.00%  0.00% httpd
     1037 root       8   20 15208K 12592K nanslp 0   1:03  0.00%  0.00% perl5.8.8
    42559 root       8    0  3276K  2220K nanslp 0   0:31  0.00%  0.00% perl5.8.8
     8833 root      97    0 31692K 27424K select 0   0:30  0.00%  0.00% perl
      505 root      96    0 12140K  5056K select 1   0:23  0.00%  0.00% httpd
     1222 root      96    0 12712K  4324K select 0   0:22  0.00%  0.00% cppop-ssl
     1334 mailman    8    0  8308K  5892K nanslp 0   0:20  0.00%  0.00% python2.4
     1332 mailman    8    0  8324K  5904K nanslp 0   0:20  0.00%  0.00% python2.4
     1338 mailman    8    0  8320K  5920K nanslp 0   0:20  0.00%  0.00% python2.4
     1331 mailman    8    0  8304K  5776K nanslp 0   0:20  0.00%  0.00% python2.4
     1337 mailman    8    0  8368K  5920K nanslp 0   0:20  0.00%  0.00% python2.4
     1335 mailman    8    0  8304K  5892K nanslp 0   0:19  0.00%  0.00% python2.4
     1336 mailman    8    0  8320K  5856K nanslp 0   0:19  0.00%  0.00% python2.4
      820 root      96    0 25528K 19852K select 0   0:18  0.00%  0.00% perl
      321 bind      96    0  6628K  3740K select 0   0:10  0.00%  0.00% named
    19658 nobody     4    0 19284K 13128K sbwait 0   0:10  0.00%  0.00% httpd
    
     
    #2 [O-CuK]Marci, Jan 10, 2008
    Last edited: Jan 10, 2008
  3. [O-CuK]Marci

    [O-CuK]Marci Active Member

    Joined:
    Jun 3, 2004
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    I've just raised a support ticket for this issue... will let you know the outcome if any...
     
  4. HorburySchool

    HorburySchool Active Member

    Joined:
    Dec 14, 2007
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Upgrade WHM and cPanel to latest RELEASE branch versions, THEN flip from stunnel to nativessl in the updated WHM, all issues fixed.
     
  5. stocosoft

    stocosoft Active Member

    Joined:
    Nov 14, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page