1 |
Hi, |
2 |
|
3 |
the last few days since my server is hosting a new website the memory |
4 |
usage is givving me serious headaches :( |
5 |
|
6 |
The case: |
7 |
as I said a few days ago I launched a public web-site. after to days the |
8 |
server was like a zombie. |
9 |
With some patience I could manage to get on the server and list what was |
10 |
running. at that time there were a lot of perl script running |
11 |
simultaniously and kjournald was freaking out, well so far so good, as I |
12 |
ran amavis and spamassassin as perl script, so I installed amavis as |
13 |
deamon (amavisd-new) spamassassin integrated, |
14 |
|
15 |
So far everything is ok, amavisd and spamassassin seem to behave nicely, |
16 |
I have less cpu load for mail tasks, but still the problem returns. |
17 |
|
18 |
Looking in the everything log showed me errors like [kernel] |
19 |
__alloc_pages: 0-order allocation failed (gfp=0x1d2/0), seems pretty |
20 |
deadly to me. Well this must be a memory leak or something |
21 |
At that point I started to kill tasks one by one which tasks were not |
22 |
paniced already. |
23 |
MySQLd: this did nothing much to improve the stability |
24 |
Postfix and courier: also no improvement |
25 |
But on killing apache2 the server came back and the command free told |
26 |
me that 500 mb of swap and 350 MB was free-ed. |
27 |
|
28 |
I have looked around how I could strict apache in memory usage for the |
29 |
apache user. |
30 |
What is the best way to prevent that apache takes all memory or maybe |
31 |
exclude a amount of memory for apache? |
32 |
|
33 |
Thanks in advance, |
34 |
Raymond den Ouden |
35 |
|
36 |
-- |
37 |
gentoo-security@g.o mailing list |