Help: Runaway processes killing server...

Mauri Sahlberg Mauri.Sahlberg at claymountain.com
Wed Sep 1 14:57:03 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Twice comment-spammer has managed to bring our small server first to
it's knees and then to it's belly? We are running postgresql, apache
and serendipity. Today and yesterday this combination with very rapid
repeated loading of serendipity comment-function (GET
/comment.php?serendipity[entry_id]=9&serendipity[type]=comments
HTTP/1.0" 200 3708 "http://12.163.72.13/" "Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)"
) has managed to eat every scrap of memory there is? All I could do
was to boot the server.

Is my diagnosis of the out of memory correct one? What can I do to
avoid this happening again? Any ideas?

Sniplet of /var/log/messages included.
- -----
Sep  1 16:05:04 error kernel: oom-killer: gfp_mask=0x1d2
Sep  1 16:05:10 error kernel: DMA per-cpu:
Sep  1 16:05:11 error kernel: cpu 0 hot: low 2, high 6, batch 1
Sep  1 16:05:11 error kernel: cpu 0 cold: low 0, high 2, batch 1
Sep  1 16:05:11 error kernel: Normal per-cpu:
Sep  1 16:05:11 error kernel: cpu 0 hot: low 28, high 84, batch 14
Sep  1 16:05:12 error kernel: cpu 0 cold: low 0, high 28, batch 14
Sep  1 16:05:15 error postgres[22138]: [1-1] LOG:  unexpected EOF on
client connection
Sep  1 16:05:23 error postgres[22171]: [1-1] LOG:  unexpected EOF on
client connection
Sep  1 16:31:36 error kernel: HighMem per-cpu: empty
Sep  1 16:32:09 error kernel:
Sep  1 16:32:17 error kernel: Free pages:        1368kB (0kB HighMem)
Sep  1 16:32:20 error postgres[22140]: [1-1] ERROR:  duplicate key
violates unique constraint "url"
Sep  1 16:32:21 error postgres[22122]: [1-1] LOG:  unexpected EOF on
client connection
Sep  1 16:32:22 error postgres[22151]: [1-1] LOG:  unexpected EOF on
client connection
Sep  1 16:32:23 error postgres[22156]: [1-1] LOG:  unexpected EOF on
client connection
Sep  1 16:32:24 error postgres[22144]: [1-1] LOG:  unexpected EOF on
client connection
Sep  1 16:32:24 error postgres[22148]: [1-1] LOG:  unexpected EOF on
client connection
Sep  1 16:32:31 error postgres[22173]: [1-1] LOG:  unexpected EOF on
client connection
Sep  1 16:39:25 error kernel: Active:1956 inactive:52796 dirty:0
writeback:50458 unstable:0 free:342 slab:5359 mapped:11920 pagetables:2106
Sep  1 16:45:28 error kernel: DMA free:384kB min:28kB low:56kB
high:84kB active:8kB inactive:11228kB present:16384kB
Sep  1 16:47:00 error kernel: protections[]: 14 252 252
Sep  1 16:55:09 error kernel: Normal free:984kB min:476kB low:952kB
high:1428kB active:7816kB inactive:199956kB present:244672kB
Sep  1 16:56:51 error kernel: protections[]: 0 238 238
Sep  1 16:56:58 error kernel: HighMem free:0kB min:128kB low:256kB
high:384kB active:0kB inactive:0kB present:0kB
Sep  1 16:56:58 error kernel: protections[]: 0 0 0
Sep  1 16:57:37 error kernel: DMA: 4*4kB 0*8kB 1*16kB 1*32kB 1*64kB
0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 384kB
Sep  1 16:57:42 error kernel: Normal: 2*4kB 8*8kB 1*16kB 2*32kB 1*64kB
2*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 984kB
Sep  1 16:57:44 error kernel: HighMem: empty
Sep  1 16:58:16 error kernel: Swap cache: add 141269, delete 90068,
find 2534454/2544377, race 0+3
Sep  1 16:58:17 error kernel: Out of Memory: Killed process 22076 (httpd).
Sep  1 16:58:22 error kernel: oom-killer: gfp_mask=0xd2
Sep  1 16:59:20 error kernel: DMA per-cpu:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBNeM/VaWNx4+6Rf4RAk9IAKDDlcFKRM+7PITr3ksrD1tBDQAnnQCfY4tx
lryeysjt+K1L6OaY3NRy0Iw=
=VJvw
-----END PGP SIGNATURE-----





More information about the fedora-list mailing list