This is a discussion on Setting default ulimit values within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I'm wondering where the ulimit defaults are being set in Slack 10. I have to set the max ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I'm wondering where the ulimit defaults are being set in Slack 10. I have to set the max open filedes limit for all users (not just root) to something higher than 1024. Where would I be able to do this? kind regards Philip |
| |||
| Philip Lawatsch wrote: > Hi, > > I'm wondering where the ulimit defaults are being set in Slack 10. > > I have to set the max open filedes limit for all users (not just root) > to something higher than 1024. look in /etc/rc.d/rc.S, there is a function that tests for presence of /etc/sysctl.conf, and if it exists, it uses sysctl to set the desired values. My guess is that you can use /etc/sysctl.conf to set those values. |
| |||
| On Mon, 18 Oct 2004 16:41:49 -0400, Dominik L.. Borkowski wrote: > Philip Lawatsch wrote: >> I'm wondering where the ulimit defaults are being set in Slack 10. I don't think any are being set, their just what /sbin/init defaults to. /etc/passwd /etc/login.defs /etc/limits /etc/initscript < a script is provided as: /sbin/initscript.sample man login man login.defs man limits man init man initscript >> I have to set the max open filedes limit for all users (not just root) >> to something higher than 1024. > > look in /etc/rc.d/rc.S, there is a function that tests for presence > of /etc/sysctl.conf, and if it exists, it uses sysctl to set the desired > values. My guess is that you can use /etc/sysctl.conf to set those values. "man proc<return>/file-max<return>" provides some more info on that. -- -Menno. |
| ||||
| Menno Duursma wrote: > On Mon, 18 Oct 2004 16:41:49 -0400, Dominik L.. Borkowski wrote: > >>Philip Lawatsch wrote: > > >>>I'm wondering where the ulimit defaults are being set in Slack 10. > > > I don't think any are being set, their just what /sbin/init defaults to. > > /etc/passwd > /etc/login.defs > /etc/limits > /etc/initscript < a script is provided as: /sbin/initscript.sample > > man login > man login.defs > man limits > man init > man initscript Yes, this is what I've been looking for. Thanks a lot. kind regards Philip |