[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RaQ2 Memory Problem



Sorry to keep posting this to the list (though I've waited a few months
since the last time).

For the last six months, I've been getting those enigmatic "Problem with
Mem" e-mails.  They're prompted by a nightly job, but the real cause is that
my server always seems to be running 200 of its 256 megs of memory, give or
take a meg.  I've searched the archives and the knowledge base.  I've
checked to see that I installed all the updates. I've posted the question
before, and the advice I've gotten is to check for runaway scripts or a
large number of httpd processes.

My question, at this point, is, what constitutes "a large number of httpd
processes?"  When I run top I typically see this:

 10:04am  up 49 days, 20:21,  1 user,  load average: 0.29, 0.24, 0.15
62 processes: 61 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  3.0% user,  6.2% system,  0.0% nice, 91.7% idle
Mem:  257308K av, 202556K used,  54752K free,  95876K shrd,  32900K buff
Swap: 130748K av,    652K used, 130096K free                142836K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
 9135 httpd      1   0  3428 3428  3208 S       0  0.1  1.3   0:00 httpd
 9047 httpd      0   0  3372 3372  3152 S       0  0.0  1.3   0:00 httpd
 9023 httpd      1   0  3372 3372  3152 S       0  0.1  1.3   0:00 httpd
 9028 httpd      1   0  3372 3372  3152 S       0  0.3  1.3   0:00 httpd
 9029 httpd      0   0  3372 3372  3152 S       0  0.1  1.3   0:00 httpd
 9025 httpd      0   0  3372 3372  3152 S       0  0.0  1.3   0:01 httpd
 9133 httpd      1   0  3344 3344  3140 S       0  0.0  1.2   0:00 httpd
 9136 httpd      1   0  3340 3340  3136 S       0  0.5  1.2   0:00 httpd
 9154 httpd      1   0  3332 3332  3144 S       0  0.5  1.2   0:00 httpd
 9177 httpd      6   0  3332 3332  3144 S       0  0.5  1.2   0:00 httpd
 9134 httpd      0   0  3328 3328  3140 S       0  0.0  1.2   0:00 httpd
 9175 httpd      1   0  3324 3324  3136 S       0  0.1  1.2   0:00 httpd
 9178 httpd      8   0  3184 3184  3060 S       0  0.3  1.2   0:00 httpd
 9179 httpd      9   0  3184 3184  3060 S       0  0.3  1.2   0:00 httpd
16801 httpd      0   0  3180 3180  2512 S       0  0.0  1.2   0:43 httpsd
16803 httpd      0   0  3180 3180  2516 S       0  0.0  1.2   0:44 httpsd
16800 httpd      0   0  3172 3172  2512 S       0  0.0  1.2   0:42 httpsd
16806 httpd      0   0  3172 3172  2512 S       0  0.0  1.2   0:44 httpsd
16805 httpd      0   0  3168 3168  2512 S       0  0.0  1.2   0:47 httpsd
16799 httpd      0   0  3164 3164  2512 S       0  0.0  1.2   0:45 httpsd
16804 httpd      0   0  3164 3164  2508 S       0  0.0  1.2   0:43 httpsd
16798 httpd      0   0  3156 3156  2508 S       0  0.0  1.2   0:46 httpsd
16807 httpd      0   0  3156 3156  2512 S       0  0.0  1.2   0:44 httpsd
 6459 httpd      0   0  3152 3152  2520 S       0  0.0  1.2   0:38 httpsd
16802 httpd      0   0  3152 3152  2512 S       0  0.0  1.2   0:45 httpsd
16378 root       9   0  3104 3104  3000 S       0  0.0  1.2   2:04 httpd
23683 httpd      0   0  3080 3080  2528 S       0  0.0  1.1   0:27 httpsd
23475 httpd      0   0  2940 2940  2504 S       0  0.0  1.1   0:07 httpsd
  309 root       0   0  2812 2644  1248 S       0  0.0  1.0  14:21 custodiat
16796 root       0   0  2416 2416  2220 S       0  0.0  0.9   0:06 httpsd
 3953 root       0   0  1388 1352  1204 S       0  0.0  0.5   0:00 ahttpd
 6713 root       0   0  1388 1352  1204 S       0  0.0  0.5   0:00 ahttpd
 8476 root       1   0  1296 1268  1100 S       0  0.3  0.4   0:03 sshd
  224 root       0   0  1168 1132  1044 S       0  0.0  0.4   0:01 ahttpd
  336 root       0   0  1156 1124   864 S       0  0.0  0.4   1:12 sendmail
 9011 root       0   0  1116 1116   732 S       0  0.0  0.4   0:00 su
 8487 admin      0   0  1072 1072   908 S       0  0.0  0.4   0:00 bash
 9012 root       0   0  1028 1028   864 S       0  0.0  0.3   0:00 sh
  361 root       0   0   968  940   832 S       0  0.0  0.3   2:24 sshd
  291 root       0   0   852  836   492 S       0  0.0  0.3   0:03 snmpd
 9146 root      18   0   744  744   596 R       0  5.2  0.2   0:09 top
  448 root       0   0   624  624   508 S       0  0.0  0.2   0:00 mgetty
  265 root       0   0   604  604   376 S       0  0.0  0.2   0:20 klogd
  276 root       0   0   556  556   452 S       0  0.0  0.2   0:41 crond

Can anyone see anything odd about this?

Also, how does one check for a runaway cgi?

Thanks for all those who tried to help me before and to anyone willing to
give it a shot now.

Chad