Re: Limit RAM used by a perl script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Jul 20, 2009 at 4:28 PM, Sean Carolan<scarolan@xxxxxxxxx> wrote:
> 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?
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>

If you run it as a regular user, then maybe you can check out
/etc/security/limits.conf
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux