to recover the swap memory

sysadmin sysadmin at bssnews.org
Fri Feb 2 14:06:28 UTC 2007


I think you have to stop the application from consuming all the memory by itself. There may be too many processes spawned by the application which are running in the background. Hence thery are consuming too much memory. Try using  "ps -ef" to see running processes. Consult the manual for the application to see if threre is any option to limit the number of processes, or any option to limit the memory usage. We use the option 'default_process_limit' in Postfix to limit the number of processes of the mail server. Also check the man pages of setrlimit, limit and ulimit.

regards

Sultan
----- Original Message ----- 
  From: Mahalingam Subramaniam 
  To: redhat-sysadmin-list at redhat.com 
  Sent: Friday, February 02, 2007 10:01 AM
  Subject: to recover the swap memory







        Dear All

        I shall greatly appreciate and honour, if anyone can suggest the solution to the below mentioned issue.

        The O/S of the m/c. is RHEL AS 3.0 with kernel 2.4.21-20. with x86_64 and taroon update 3. The RAM is 2GB with swap memory another 2GB. The server is functioning as mail server and this is the only application which is loaded onto the system with a third party vendor's mail application package.

        For quite some time the swappable memory itself was found to be consumed rather exhausted to its full quota of 2GB by the application resulting in no free memory for subsequents tasks to execute. As a result of this not only the application but also the system itself becomes frozen/hangs. The system becomes inaccessible even through remote machines using rlogin or putty etc to revive. Being the mail sever it is not desirable to have such frequent interruption in its service.

        1. The question is that how to retrieve/restore the swap memory back to its full quota?
        2. How to restore the system when it attains hung state without using brute force / hot or cold boot?

        Your guidelines and suggestions shall be highly appreciable and valuable.

        with kind regards
        s.mahalingam

        S.Mahalingam
        Bioinformatics Centre
        Centre for Cellular and Molecular Biology
        Habsiguda, Uppal Road, Hyderabad 500 007, India.

        Ph:+91-40-27192773, 27192774, 27177814
        +91-40-27160222 - 41 (20 Lines)
        Ext: 2773, 2774
        Fax: :+91-40-27160591, 27160311

        E-mail:
        smal at ccmb.res.in
        smal8 at yahoo.com

        http://www.ccmb.res.in
        _______________________________________________
        rhn-users mailing list
        rhn-users at redhat.com
        https://www.redhat.com/mailman/listinfo/rhn-users 

  -- 
  This message has been scanned for viruses and 
  dangerous content by MailScanner, and is 
  believed to be clean. 


------------------------------------------------------------------------------


  --
  redhat-sysadmin-list mailing list
  redhat-sysadmin-list at redhat.com
  https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20070202/ef152071/attachment.htm>


More information about the redhat-sysadmin-list mailing list