IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • 1 reply
  • Latest Post - ‏2008-02-03T09:45:54Z by niella
SystemAdmin
SystemAdmin
6902 Posts

Pinned topic Issues with setting ulimit through perl script

‏2008-01-29T04:52:05Z |
Hi,
I have attached below code for both 'detect_errors.ksh' and 'detect_errors.pl' script files. Wheneever we execute 'detect_errors.pl' file we get following message

You are currently running with data limits not set to unlimited.
You may experience out of memory(OOM) conditions.
In the event of an OOM error, please increase the data limit value.
You may use "ulimit -d unlimited" to set data limit as unlimited.

'ulimit' is set to 'unlimited' in user's profile. Also we have statements setting 'ulimit' parameter in perl script. despite that we are getting above message with perl script. I don't get any issues when i execute shell script file. Can anyone please help me in this?

Thanks & Regards
Omkar
Updated on 2008-02-03T09:45:54Z at 2008-02-03T09:45:54Z by niella
  • niella
    niella
    37 Posts

    Re: Issues with setting ulimit through perl script

    ‏2008-02-03T09:45:54Z  
    getrlimit() and setrlimit() works for me on all AIX versions. It's part of BSD::Resource.

    Niel