Hello everyone, Recently
I've noticed that httpd processes started to consume massive amounts of
memory - after some time pretty much using almost all of the 2GB of RAM
the server has and I don't have any memory left for other stuff. Here's
what top tells me (I have added the "data" column at the end as well):
It
seems to me that each httpd process does not free the memory after
handling a request. So they all sit at ~270MB which is BAD. Is there a
way for me to know where all the memory goes and why it stays that way?
I haven't done any server tweaking lately, so I'm sure it's not me who
messed something up (haven't had the problem before). The
server is used to serve PHP apps and Apache itself is configured with
prefork module and MaxRequestsPerChild is set to 4000. Any help would be greatly appreciated. |