Extending ulimits

From: Timo Weggen (tweggen_at_loewe-komp.de)
Date: 03/30/04

  • Next message: Janne Johansson: "Re: Extending ulimits"
    Date: Tue, 30 Mar 2004 13:25:24 +0200
    
    

    Hello,

    I hope, the question isn't covered in any FAQ, but at least I did
    non succeed in googling:

    Running a CVS (via ssh) server, I've hit the user's limits (as set by
    ulimit) for large files. Unfortunately, I cannot extend the ulimits
    indefinitely. This is what I'd tried:

    >From a shell as root:
    kill ssh server.
    ulimit -d unlimited (also tried giant values)
    /usr/sbin/sshd

    In addition, in /etc/profile I've added a line with
    ulimit -d 400000

    When logging in, the shell tells me, that the maximal value is exceeded.
    typing ulimit -a also reports a default of 65535.

    While I'm aware of the security risks involved with insensible
    ulimit values, I'm interested in granting considerable amounts
    of memory to selected users.

    But how can I do that?

    Any hints are appreciated.
    TIA
    Timo.


  • Next message: Janne Johansson: "Re: Extending ulimits"

    Relevant Pages

    • Re: ulimit does not work correctly on remote ssh
      ... If I instead ssh to the server as root and then "su foouser" then ... ulimit: max locked memory: cannot modify limit: Operation not permitted ...
      (comp.os.linux.misc)
    • ulimit - memory
      ... I need to apply an Oracle patch on a V5.1 Tru64 server that I recently ... increase the memory ulimit I get: ... server prompt> ulimit -m 2045680 ...
      (Tru64-UNIX-Managers)
    • ulimit does not work correctly on remote ssh
      ... If I instead ssh to the server as root and then "su foouser" then "ulimit ...
      (comp.os.linux.misc)
    • nofiles(descriptors)
      ... On solaris 10 is there a way to increase file descripttors without reboot the server? ...
      (SunManagers)
    • Re: script keeps getting "terminated" after about 6 minutes
      ... Bennett Haselton writes: ... (confirmed opt-in, naturally:) ... On the old server, it could run for ... Try 'ulimit -t' and read about ulimit in the Bash man page. ...
      (comp.os.linux.misc)