[CentOS] Limit RAM used by a perl script

Sean Carolan

scarolan at gmail.com
Mon Jul 20 15:28:00 UTC 2009


I have a perl script which runs from a cron job.  How would you limit
the amount of RAM that this script is allowed to consume?  Is there a
ulimit setting that will accomplish this?  If so does ulimit have to
be run each time the script is run, or is there a way to set it
permanently?



More information about the CentOS mailing list