Jump to content

Memory issue --> Usage 522MB+


Recommended Posts

Hello, It may depend on the size of the community and server configuration, It could be a script causing it, Have you set any limits ?

Also if you have server access, In SSH type in top and then press ctrl + M, You will see what process is causing the server to use a lot of memory.

Link to comment
Share on other sites

How much does a normal forum use ?



Mine is taking more then 500MB


then it go's up to 1250MB


and then I need to reboot the server.

From a community software only stand point, I have to ask, how many forums do you have on just the one site? How many visitors at a time? What's the CPU usage looking like?


Also if you have server access, In SSH type in top and then press ctrl + M, You will see what process is causing the server to use a lot of memory.

Here's a little secret, but don't tell anyone. After typing 'top', you can press the Enter key instead of holding down the ctrl key and pressing M.
;)
Link to comment
Share on other sites

Why are there only maximum of 4 httpd processes? Do you have a proxy or another handler in front like nginx?

You will likely benefit heavily from increasing max child count of httpd. You may be getting bogged down due to low process count. This will actually increase potential memory usage, but faster handling will, in the end, lower it.

If you have problematic bot connections, it'll also be worthwhile to ban them via firewall.

You can also opt for less memory hogging alternatives like nginx+php-fpm.

Do you have a control panel? The memory usage doesn't really seem to add up... Given your httpd, highest one uses like 3%.

Link to comment
Share on other sites

If you have bunch of idling httpd processes or a higher limit already, ignore my recommendation. It wouldn't help you, only make it worse.

You can find the max child in apache configuration. Where exactly, I cannot tell you since I don't know your system. And frankly, I cannot realistically assist further either as you haven't really given enough information.

Link to comment
Share on other sites

With the number of connections you have stated only using 750mb of memory is actually pretty low, keep in mind linux will use most of the memory available for many items/processes, typically if you have 2gb installed, if setup properly, you will use 98% of this 2gb of memory. It's nothing to worry about however as linux memory management will allocate memory where it's needed.

Are you seeing a problem with performance or just looking for one?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...