elor

Active Member
Apr 20, 2003
32
0
156
Hi,

I had a couple server crashes in the last week and I think it's available memory. Does this look strange to you with so many mysqld/mailman processes? I understand the 5 mailscanners, named and httpds, but I don't understand why so many mysql and python processes. Anyone spread a little light for me?

Thanks,

TOP
95 processes: 93 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 2.2% user, 1.4% system, 0.0% nice, 96.4% idle

Mem: 506048K av, 462132K used, 43916K free, 0K shrd, 87172K buff
Swap: 2048276K av, 58028K used, 1990248K free 254608K cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
23345 mailnull 9 0 9596 7636 1300 S 0.0 1.5 0:01 MailScanner
22628 mailnull 9 0 9532 7532 1300 S 0.0 1.4 0:01 MailScanner
23662 mailnull 9 0 9524 7524 1300 S 0.0 1.4 0:01 MailScanner
24154 mailnull 8 0 9488 7472 1300 S 0.0 1.4 0:01 MailScanner
25036 mailnull 9 0 9528 7472 1300 S 0.0 1.4 0:01 MailScanner
25838 named 9 0 7428 7192 1112 S 0.0 1.4 0:00 named
25840 named 9 0 7428 7192 1112 S 0.0 1.4 0:00 named
25841 named 9 0 7428 7192 1112 S 0.0 1.4 1:03 named
25842 named 9 0 7428 7192 1112 S 0.0 1.4 0:00 named
25843 named 9 0 7428 7192 1112 S 0.0 1.4 0:11 named
16623 root 19 19 4712 4712 1264 S N 0.0 0.9 0:05 cpanellogd
27329 nobody 8 0 4660 4400 2024 S 0.0 0.8 0:00 httpd
27425 nobody 9 0 4656 4396 2020 S 0.0 0.8 0:00 httpd
27352 nobody 9 0 4652 4392 2020 S 0.0 0.8 0:00 httpd
27560 nobody 9 0 4652 4392 2020 S 0.0 0.8 0:00 httpd
27561 nobody 9 0 4652 4392 2016 S 0.0 0.8 0:00 httpd
27563 nobody 9 0 4612 4352 1976 S 0.0 0.8 0:00 httpd
27332 nobody 9 0 4616 4344 1980 S 0.0 0.8 0:00 httpd
27331 nobody 9 0 4636 4284 2008 S 0.0 0.8 0:00 httpd
27330 nobody 9 0 4288 4028 1676 S 0.0 0.7 0:00 httpd
27333 nobody 9 0 4284 4012 1672 S 0.0 0.7 0:00 httpd
9058 root 8 0 4072 3800 1480 S 0.0 0.7 0:02 httpd
1331 mailman 9 0 3588 3332 768 S 0.0 0.6 0:00 python2
1306 mailman 9 0 3884 3300 984 S 0.0 0.6 0:00 python2
8832 mysql 9 0 11948 3284 1312 S 0.0 0.6 0:00 mysqld
8834 mysql 0 0 11948 3284 1312 S 0.0 0.6 0:00 mysqld
8835 mysql 9 0 11948 3284 1312 S 0.0 0.6 0:00 mysqld
8836 mysql 9 0 11948 3284 1312 S 0.0 0.6 0:00 mysqld
8837 mysql 9 0 11948 3284 1312 S 0.0 0.6 0:00 mysqld
8838 mysql 9 0 11948 3284 1312 S 0.0 0.6 0:00 mysqld
8839 mysql 9 0 11948 3284 1312 S 0.0 0.6 0:00 mysqld
8840 mysql 9 0 11948 3284 1312 S 0.0 0.6 0:00 mysqld
8841 mysql 9 0 11948 3284 1312 S 0.0 0.6 0:00 mysqld
8842 mysql 9 0 11948 3284 1312 S 0.0 0.6 0:00 mysqld
30799 mysql 9 0 11948 3284 1312 S 0.0 0.6 0:00 mysqld
16637 mailnull 9 0 3164 3164 952 S 0.0 0.6 0:00 eximstats
1406 root 8 0 14016 2640 740 S 0.0 0.5 0:04 spamd
13372 root 9 0 2340 2324 688 S 0.0 0.4 0:04 cppop
16624 root 8 0 2216 2216 556 S 0.0 0.4 0:00 cpaneld
15736 root 8 0 2004 2004 816 S 0.0 0.3 0:01 chkservd
16646 root 8 0 2000 2000 692 S 0.0 0.3 0:00 whostmgrd
30095 root 9 0 1888 1840 1460 R 0.0 0.3 0:00 sshd
16628 root 9 0 1648 1648 556 S 0.0 0.3 0:00 webmaild
16665 cpanel 9 0 1580 1580 1124 S 0.0 0.3 0:00 stunnel-4.04loc
29140 cpanel 8 0 1580 1580 1124 S 0.0 0.3 0:00 stunnel-4.04loc
1305 mailman 9 0 3392 1504 568 S 0.0 0.2 0:00 python2
1300 mailman 9 0 3352 1492 568 S 0.0 0.2 0:00 python2
1304 mailman 9 0 3356 1460 568 S 0.0 0.2 0:00 python2
30130 root 9 0 1420 1420 1068 S 0.0 0.2 0:00 bash
1301 mailman 9 0 3348 1416 568 S 0.0 0.2 0:00 python2

cPanel.net Support Ticket Number:
 

mickeymouse

Well-Known Member
Sep 16, 2003
389
0
166
Dear elor,

Please try the script:

/scripts/fixmailman

The should fix the problem regarding Mailman.

Check to see if you have allowed persistent connections to database. That could be a reason why you see unclosed mysql connections.

Regards,