Results 1 to 4 of 4
Hi All,
My server is keep on hanging So I have rebooted several times in the last couple of weeks, the system is eating more memory and the usage is ...
- 05-05-2011 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 13
Memory Issue
Hi All,
My server is keep on hanging So I have rebooted several times in the last couple of weeks, the system is eating more memory and the usage is keep on increasing and at particular time it became saturated and my server hungs. I could not find which process is eating more memory. I have used the below commands to check if any process is eating more memory but no luck. No such process are using high memory.
1) Top
2) ps -eo pcpu,pmem,user,args
Please see my Free and vmstat output's, any help would be highly appreciated.
Free -m
total used free shared buffers cached
Mem: 15994 10549 5445 0 18 55
-/+ buffers/cache: 10474 5519
Swap: 2047 0 2047
vmstat 5 5
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 0 5572456 20692 58376 0 0 1 7 33 16 0 0 99 0 0
0 0 0 5572456 20760 58388 0 0 0 60 130 66 0 0 100 0 0
0 0 0 5572704 20776 58392 0 0 0 22 130 105 1 0 99 0 0
0 1 0 5572580 20800 58408 0 0 0 36 131 51 0 0 100 0 0
0 0 0 5572580 20824 58400 0 0 0 9 123 50 0 0 100 0 0
Thanks,
Puru
- 05-05-2011 #2Just Joined!
- Join Date
- Mar 2011
- Posts
- 19
Hi Puru,
I'm quite a newbie in linux in general, but I had a problem with the memory use either (actually, I started a post about that yesterday). I'm not sure if that will help, but I used the renice command to prioritize the use of memory to the process that interested me.
Hope it helps
- 05-05-2011 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
What RH version and kernel are you running? From the output of the 'free' command, it seems that you are using a lot of file system buffer memory (10GB). That's a lot of memory (file I/O) to sync to disc, so when that happens, the system will experience a general slowdown. Are some of your applications write-intensive? Do you have logging turned up to some high level?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-06-2011 #4Just Joined!
- Join Date
- Mar 2009
- Posts
- 13
Hi,
This is our Test server, the same application is running in Production but the memory utilization is very less, its just 2.5GB used out of 16GB. This is a virtual server. Please find my below syslog.conf file. Now I have enabled Debug mode.
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
*.=debug /var/log/debug
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg *
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.logLast edited by purusrhce; 05-06-2011 at 10:03 AM.


Reply With Quote
