setting ulimit - HP UX

This is a discussion on setting ulimit - HP UX ; 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 ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: setting ulimit

  1. setting ulimit

    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


  2. Re: setting ulimit


    mehaboob@gmail.com 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


  3. Re: setting ulimit

    mehaboob@gmail.com wrote:

    >
    >mehaboob@gmail.com 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 |
    | |
    | Nunawading, Victoria , Australia |
    ================================================== ============

+ Reply to Thread