New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Memory Leak

Started by iJay, April 19, 2015, 06:33:28 AM

Previous topic - Next topic

iJay

Hey,

After having my server online for over 3 months, I did a reboot. After the reboot, the RAM on my server kept rising, and after about two hours the server was running at max RAM 100% - After another reboot the same thing happened.

After monitoring the processes using the most RAM:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND

root      3782  0.0  0.7 131452 14956 ?        S    16:08   0:00 /usr/local/cwpsrv/bin/cwpsrvd
root      3801  1.0  0.8 131800 17792 ?        S    16:08   0:14 /usr/local/cwpsrv/bin/cwpsrvd
root      3888  0.8  0.8 131764 17552 ?        S    16:08   0:12 /usr/local/cwpsrv/bin/cwpsrvd
root      3889  0.9  0.8 131764 17116 ?        S    16:08   0:13 /usr/local/cwpsrv/bin/cwpsrvd
root      3891  0.8  0.8 131764 17116 ?        S    16:08   0:12 /usr/local/cwpsrv/bin/cwpsrvd
root       788  0.0  0.8 131316 17172 ?        Ss   15:26   0:00 /usr/local/cwpsrv/bin/cwpsrvd
root       802  0.0  0.8 132536 17936 ?        S    15:26   0:00 /usr/local/cwpsrv/bin/cwpsrvd
root       803  0.6  0.8 131784 17660 ?        S    15:26   0:23 /usr/local/cwpsrv/bin/cwpsrvd
root       804  0.1  0.8 131784 17188 ?        S    15:26   0:06 /usr/local/cwpsrv/bin/cwpsrvd
root       805  0.3  0.8 131768 17284 ?        S    15:26   0:12 /usr/local/cwpsrv/bin/cwpsrvd
root       806  0.0  0.8 132556 17764 ?        S    15:26   0:02 /usr/local/cwpsrv/bin/cwpsrvd



I'm guessing that cwpsrv is CentOSWebPanel Server?

I'm after a fix for this ASAP!

Thank you!

Glenn

Try free -m Linux is probably just caching you should be able to see how much memory is in cache with free by default
Linux goes by the philosophy that free RAM is wasted so it'll use it all as soon as it can

iJay

 free -m returns the following

[root@server ~]#  free -m
             total       used       free     shared    buffers     cached
Mem:          2048       2032         15          2          0         17
-/+ buffers/cache:       2014         33
Swap:         2048         45       2002


Administrator

hmm..looks like you have a full memory usage.
it would be the best to check all scripts and processes with your sysadmin, or you can check it with our support if you don't have anyone to help you.