Re: setting ulimit



mehaboob@xxxxxxxxx wrote:


mehaboob@xxxxxxxxx wrote:

Hi,

One of processes execution dependent on ulimit settings.
i.e if i set the command "ulimit -n 1024" on the console and restart
the application then it works.but over the time the problem reappears
again.

1)What is ulimit?...is it different for different processes?
2)what could be the problem?
3)Is it possible that ulimit changes after some time?
4)Is it possible to keep the ulimit high at the kernel level?

Mehaboob


To add to the above mail,
At the kernel level the ulimit setting is 4096.But still i have to set
the ulimit to 1024 while restarting the application?..why?

The process is not taking the ulimit parameter from kernel setting?

Regards,
Mehaboob
There are 2 kernel settings for the limits.
The hard limit which is the maximum that ulimit can set that limit to.
The soft limit which is the default initial value, which can be
increased up to the hard limit via the ulimit command.

Ted.
==============================================================
| Ted Linnell <edlinnell@xxxxxxxxxxxxxx> |
| |
| Nunawading, Victoria , Australia |
==============================================================
.



Relevant Pages

  • Re: setting ulimit
    ... One of processes execution dependent on ulimit settings. ... i.e if i set the command "ulimit -n 1024" on the console and restart ... At the kernel level the ulimit setting is 4096.But still i have to set ...
    (comp.sys.hp.hpux)
  • setting ulimit
    ... One of processes execution dependent on ulimit settings. ... i.e if i set the command "ulimit -n 1024" on the console and restart ... the application then it works.but over the time the problem reappears ...
    (comp.sys.hp.hpux)