Author Topic: Memory Leak  (Read 9693 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Memory Leak
« on: April 19, 2015, 06:33:28 AM »
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:

Code: [Select]
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!

Offline
**
Re: Memory Leak
« Reply #1 on: April 22, 2015, 05:19:49 PM »
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

Offline
*
Re: Memory Leak
« Reply #2 on: April 23, 2015, 03:34:14 AM »
 free -m returns the following

Code: [Select]
[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

Offline
*
Re: Memory Leak
« Reply #3 on: May 25, 2015, 12:14:18 PM »
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.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services