[CentOS] /etc/security/limits.conf : rss

Christophe Caron

christophe.caron at sb-roscoff.fr
Fri Jun 3 17:10:44 UTC 2011


Hello,

I run CentOS 5.6 on a Dell PowerEdge R815 with 256 GB of RAM.
We use Sun Grid Engine to schedule jobs on this node.


I want to limit the memory usage about 150 GB per process.
So i use the /etc/security/limits.conf configuration file. I test this 
configuration with some tools with a lower GB limit (about 2 or 4 GB), 
and it works !

But, at least one process (oases - a bioinformatics tool) bypass this 
limitation and use always 240 GB of memory (the last run) !!

/etc/security/limits.conf
...
#
*       hard    rss     150000000
*       soft    rss     150000000
#
*       hard    as      150000000
*       soft    as      150000000
#
...

# uname -r
2.6.18-238.9.1.el5.centos.plus


Any idea ?

Thanks

-- 

Christophe Caron  			Station Biologique - Service Informatique et Génomique
christophe.caron at sb-roscoff.fr		Place Georges Teissier - 29680 Roscoff
tél: +33 (0)2 98 29 25 43 / tél: +33 (0)6 07 83 54 77   fax: +33 (0)2 98 
29 23 24

Analysis and Bioinformatics for Marine Sciences Platform 
http://abims.sb-roscoff.fr/



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5103 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20110603/3e5ebe12/attachment.p7s>


More information about the CentOS mailing list