apache leak of memory

i'm having a problem with my server , its consuming 2GB de memory and 2GB de swap with the apache , its getting killed. i've try lots o things, but it keep getting killed can anyone give me some ligth??

thanks

2 Replies

@xirtan:

i'm having a problem with my server , its consuming 2GB de memory and 2GB de swap with the apache , its getting killed. i've try lots o things, but it keep getting killed can anyone give me some ligth??
What apache modules do you have installed? Any chance it's a bad php script causing this?

kenny

Do you have MaxRequestsPerChild set in http.conf?

If not it will help if it's the child processes that are leaking memory.

Type something like:

MaxRequestsPerChild 500

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct