1836452 Members
2986 Online
110101 Solutions
New Discussion

Re: Ulimit

 
Massimo_37
Frequent Advisor

Ulimit

When running some programs - (batch jobs etc) I see the following error :
"sh[55]: ulimit: The specified value exceeds the user's allowable limit."
I am running 7.3.4 on HP UX 10.2 - DOes anyone know the reason and how to fix it , please? Many thanks
5 REPLIES 5
G. Vrijhoeven
Honored Contributor

Re: Ulimit

HI,

check ulimit man page. This can be altered or set in profile.

Gideon
KapilRaj
Honored Contributor

Re: Ulimit

ulimit -c to change

Kaps
Nothing is impossible
Shaikh Imran
Honored Contributor

Re: Ulimit

Hi,
#ulimit -a
This will tell you all the ulimit settings and
see man ulimit to set these settings.
set this in the .profile of the user or if generally required set it in /etc/profile.


Regards,

I'll sleep when i am dead.
RAC_1
Honored Contributor

Re: Ulimit

In POSIX shell,

ulimit -Sa (Gives soft limits)
ulimit -Ha (Gives hard limits)

ulimit -c "core_size"
ulimit -n "open_files"
ulimit -s "stack size"

Increase one parameter at a time and run program. this way you will be able to track down what is causing the problem? Is it files open, stack size etc?

man sh for details.

Anil
There is no substitute to HARDWORK
Bharat Katkar
Honored Contributor

Re: Ulimit

Hi,

1. Use ulimit -a to view current setting.

2. For changing:

# ulimit -s
stack
# ulimit -t
time
# ulimit -f
File
# ulimit -d
Data
# ulimit -m
Memory
# ulimit -c
Coredump
# ulimit -n
nofiles

Hope that helps.
Regards,

You need to know a lot to actually know how little you know