Michael Bevilacqua on 25 Sep 2006 17:56:47 -0000 |
Zope on my RHEL3 server likes to use as much memory as possible. I would like to limit the amount of memory it uses to 32M. So within /etc/security/limits.conf I added the following: zope hard rss 32000 @zope hard rss 32000 and tested it: [root@server1 root]# su -l zope -bash-2.05b$ ulimit -a | grep "max memory" max memory size (kbytes, -m) 32000 But then according to top(1) some time later, it shows that it went over the limit I set: [root@server1 root]# top -b -n 1 | grep zope 2917 zope 15 0 62352 58M 2344 S 0.0 3.9 0:58 0 python2.3 2928 zope 15 0 31712 30M 2148 S 0.0 2.0 0:14 0 python2.3
|
|