Here is the otput of top with M hit:
Code:
22:07:05 up 3 days, 13:23, 1 user, load average: 0.05, 0.04, 0.00
48 processes: 47 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.3% user 0.1% system 0.0% nice 0.0% iowait 99.4% idle
Mem: 123644k av, 120156k used, 3488k free, 0k shrd, 2888k buff
22576k active, 91812k inactive
Swap: 263160k av, 263156k used, 4k free 9868k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
25026 root 16 0 1184 1184 884 R 0.3 0.9 0:00 0 top
25027 root 10 0 2900 2712 2160 S 0.1 2.1 0:00 0 sendmail
1 root 8 0 472 444 424 S 0.0 0.3 0:00 0 init
2 root 9 0 0 0 0 SW 0.0 0.0 0:05 0 keventd
3 root 19 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd_CPU0
4 root 10 0 0 0 0 SW 0.0 0.0 7:27 0 kswapd
5 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
6 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 kupdated
7 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 jfsIO
8 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 jfsCommit
9 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 jfsSync
10 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 xfsbufd
11 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 xfslogd/0
12 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 xfsdatad/0
13 root 18446744073709551615 -20 0 0 0 SW< 0.0 0.0 0:00 0 mdrecoveryd
14 root 9 0 0 0 0 SW 0.0 0.0 0:07 0 kjournald
812 root 8 0 904 728 628 S 0.0 0.5 0:00 0 dhclient
862 root 9 0 572 516 480 S 0.0 0.4 0:04 0 syslogd
866 root 9 0 448 436 396 S 0.0 0.3 0:00 0 klogd
911 root 9 0 788 648 556 S 0.0 0.5 0:02 0 sshd
921 root 8 0 696 640 572 S 0.0 0.5 0:00 0 xinetd
957 root 9 0 3276 796 772 S 0.0 0.6 5:07 0 httpd
966 root 9 0 532 508 468 S 0.0 0.4 0:00 0 crond
984 daemon 9 0 524 508 468 S 0.0 0.4 0:00 0 atd
990 root 9 0 392 348 344 S 0.0 0.2 0:00 0 mingetty
6774 root 10 0 2028 1536 1416 S 0.0 1.2 0:01 0 sendmail
6782 smmsp 9 0 1844 1408 1312 S 0.0 1.1 0:00 0 sendmail
24803 leo 9 0 1452 1452 1128 S 0.0 1.1 0:00 0 bash
24839 root 9 0 972 972 804 S 0.0 0.7 0:00 0 su
24840 root 10 0 1472 1472 1140 S 0.0 1.1 0:00 0 bash
24965 root 9 0 2908 2724 2160 S 0.0 2.2 0:00 0 sendmail
24985 root 9 0 2904 2716 2164 S 0.0 2.1 0:00 0 sendmail
25001 root 9 0 2896 2708 2156 S 0.0 2.1 0:00 0 sendmail
25003 root 9 0 2596 2284 1968 S 0.0 1.8 0:00 0 sendmail
25006 root 9 0 2900 2712 2160 S 0.0 2.1 0:00 0 sendmail
and here is the output of ps with the recommended switches:
Code:
[root@li6-184 root]# ps -e -o pid,cmd,%mem,rss,trs,sz,vsz
PID CMD %MEM RSS TRS SZ VSZ
1 init [3] 0.3 444 23 347 1388
2 [keventd] 0.0 0 0 0 0
3 [ksoftirqd_CPU0] 0.0 0 0 0 0
4 [kswapd] 0.0 0 0 0 0
5 [bdflush] 0.0 0 0 0 0
6 [kupdated] 0.0 0 0 0 0
7 [jfsIO] 0.0 0 0 0 0
8 [jfsCommit] 0.0 0 0 0 0
9 [jfsSync] 0.0 0 0 0 0
10 [xfsbufd] 0.0 0 0 0 0
11 [xfslogd/0] 0.0 0 0 0 0
12 [xfsdatad/0] 0.0 0 0 0 0
13 [mdrecoveryd] 0.0 0 0 0 0
14 [kjournald] 0.0 0 0 0 0
812 /sbin/dhclient - 0.5 728 314 498 1992
862 syslogd -m 0 0.4 516 24 389 1556
866 klogd -x 0.3 436 18 347 1388
911 /usr/sbin/sshd 0.5 648 265 880 3520
921 xinetd -stayaliv 0.5 672 129 512 2048
957 /usr/sbin/httpd 0.6 796 289 4819 19276
966 crond 0.4 508 19 360 1440
984 /usr/sbin/atd 0.4 508 12 357 1428
990 /sbin/mingetty t 0.2 348 6 342 1368
27321 /usr/sbin/httpd 9.1 11272 289 28557 114228
27322 /usr/sbin/httpd 8.2 10140 289 20617 82468
27323 /usr/sbin/httpd 10.0 12424 289 26167 104668
27325 /usr/sbin/httpd 8.8 10908 289 28056 112224
27326 /usr/sbin/httpd 5.9 7388 289 19985 79940
27327 /usr/sbin/httpd 14.4 17848 289 21912 87648
32327 /usr/sbin/httpd 6.5 8144 289 19750 79000
12585 /usr/sbin/httpd 7.4 9172 289 10063 40252
2942 /usr/sbin/httpd 13.5 16792 289 20417 81668
6774 sendmail: accept 1.2 1536 635 1557 6228
6782 sendmail: Queue 1.1 1408 635 1506 6024
23133 /usr/sbin/httpd 1.8 2228 289 5129 20516
23165 /usr/sbin/httpd 1.6 2064 289 4863 19452
24799 /usr/sbin/sshd 1.3 1700 265 1694 6776
24802 /usr/sbin/sshd 1.5 1952 265 1702 6808
24803 -bash 1.1 1452 588 1092 4368
24839 su - 0.7 972 16 1027 4108
24840 -bash 1.1 1472 588 1094 4376
25001 sendmail: ./i83B 2.1 2708 635 1793 7172
25006 sendmail: ./i838 2.1 2716 635 1793 7172
25030 sendmail: ./i83J 2.0 2580 635 1719 6876
25034 sendmail: ./i85H 2.2 2724 635 1794 7176
25036 sendmail: ./i87G 2.1 2664 635 1793 7172
25038 ps -e -o pid,cmd 0.5 700 66 663 2652
One points to sendmail, the other - to httpd.
As far as sendmail goes, I run my own software for a mailing list (average of about 10 messages a day, roughly 60 subscribers, roughly 4-5 bounces per message). The software (pechkin_dispatcher) simply receives the message, tweaks some headers, pipes, forks, launches sendmail in the child process, and then feeds it the necessary message. Sendmail is launched in a queuing mode. I also receive a significant amount of spam through linode (old domain name), and my e-mail client bounces whatever SpamPal detects as spam (which accounts for some messages always present in the pending queue and not being flushed for a while due to bad address or whatever). However, all of this is pretty "normal" - I have been using this stuff on another provider with absolutely no sweat. I also had a bunch of sendmails running at a time trying to clear the queue, but overall my traffic is not really industrial.
The webpages served by apache are not very popular (except when robots start crawling around). Pretty much everything is a CGI script compiled from C/C++ that launches two or three processes piped (I need this to convert charsets and stuff). Again, this stuff is pretty much "standard" - I've been using this software for quite a while, written it myself. Now, if I ever had problems, it was with one of those processes launched (i.e. my programs), not really httpd being stuck or anything.
So... I'm at a loss so far. The only guess I can venture at this point that does not involve a linode conspiracy has to do with the log sizes for sendmail (/var/log/maillog in the order of 50-80 Mb) and apache (/var/log/httpd/access_log in the order of 1-2 Mb). I don't think those should be a problem, but what the hell...