[CentOS] Limit RAM used by a perl script

Sean Carolan scarolan at gmail.com
Mon Jul 20 17:07:34 UTC 2009


> If you run it as a regular user, then maybe you can check out
> /etc/security/limits.conf

Currently the script runs as the root user.  I may be able to change
this, but wanted to find out whether there was some other way first.

Would it be possible to use a "ulimit" command within the perl script
itself to accomplish this?



More information about the CentOS mailing list