Sponsored Content
Operating Systems Linux Memory issues iin CentOS release 5.3 (Final) Post 302510939 by g0neinsane on Tuesday 5th of April 2011 10:46:05 AM
Old 04-05-2011
Memory issues iin CentOS release 5.3 (Final)

New to the forum.

I am running CentOS release 5.3 (Final) and have run into a unique situation.

I have been able to determine that we have a swap memory leak due to an issue with an asterisk server. This specific issue takes approximately 2-3 months for enough of the swap to to be used before it causes lockups. We have created a fix, a script that monitors swap and when it gets to a specified level, will restart the asterisk server and clear the swap.

Keep in mind that this is a production server (Or several) and limiting downtime is a must.

What I need to do is test this fix on my lab server before applying the fix to the production servers.

Is there a way to force swap memory usage whiten the CentOS?

This would keep us from having to wait months in order to test the fix.

Thanks in advance
 

5 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

SOLARIS 10 final release

they did it... get it: http://www.sun.com/software/solaris/get.jsp (0 Replies)
Discussion started by: pressy
0 Replies

2. Red Hat

centOS memory leak - MEGABYTES per day

hi i've notice a huge problem on my newly installed centOS server and i have no idea how to solve it and where to start.. memory on server 3 GB and it goes down, down, down.. after reboot it shows 71mb used after a hour its 76mb and after 24h it's around 200 later = more i have NO idea... (7 Replies)
Discussion started by: tip78
7 Replies

3. Linux

Memory issue on My CentOS 5.8 x64 bit server

Hello, I am using CentOS 5.8 x64 server for our one of internal application which is developed on PHP and Mysql as DB. Currently there are 8-10 instances deployed on this server some of them are rarely used. Below is the H/W specification fort the same :- Procesor :- Intel(R) Xeon(R) CPU ... (6 Replies)
Discussion started by: sunnysthakur
6 Replies

4. Red Hat

DNS Server Setup Centos 6.5 Issues

I am having a bit of trouble getting my CENTOS 6.5 DNS server to work correctly in our testlab environment. Lab network is 10.8.0.0/24 in which we all access from 10.7.0.0.0/24 && 10.0.0.0/24. Here are my configs: options { listen-on port 53 { 127.0.0.1; 10.8.0.19;}; #listen-on-v6 port 53 {... (2 Replies)
Discussion started by: metallica1973
2 Replies

5. UNIX for Advanced & Expert Users

Which memory test tool is popular on CentOS 6?

Hi, Which tools or method is popular, simple and effective, to check memory such as bad sector, throughput and performance? Thank you. - j (5 Replies)
Discussion started by: hce
5 Replies
swapmem_on(5)							     OBSOLETE							     swapmem_on(5)

NAME
swapmem_on - OBSOLETE kernel tunable parameter DESCRIPTION
The tunable is obsolete. Processes will always be allowed to use pseudo-swap space if it is available. In previous versions of HP-UX, system configuration required sufficient physical swap space for the maximum possible number of processes on the system. This is because HP-UX reserves swap space for a process when it is created, to ensure that a running process never needs to be killed due to insufficient swap. This was difficult, however, for systems needing gigabytes of swap space with gigabytes of physical memory, and those with workloads where the entire load would always be in core. This tunable was created to allow system swap space to be less than core memory. To accomplish this, a portion of physical memory is set aside as "pseudo-swap" space. While actual swap space is still available, processes still reserve all the swap they will need at fork or execute time from the physical device or file system swap. Once this swap is completely used, new processes do not reserve swap, and each page which would have been swapped to the physical device or file system is instead locked in memory and counted as part of the pseudo-swap space. WARNINGS
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. Tunable Kernel Parameters swapmem_on(5)
All times are GMT -4. The time now is 12:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy