I had a problem which proved to be dependent of two factors.
My original concern was that I got an error message about too many open
files.
Thanks to Viktor Holmberg and Tom Francini for pointing me in the
direction of the 'maxuser' parameter as well as 'open-max-soft' and
open-max-hard'.
However the main problem proved to be ssh instead since my parameters were
set high enough (anybody btw who knows why you shouldn't set them high??
do you use much memory unnecessary or what?). However when I started ssh
from a script in /sbin/init.d/ I didn't get the same high values as when I
used telnet to access the machine since telnet was started from inetd and
child processes get access to the same ulimit-values as their parent
processes. So to solve this I added 'ulimit -n 4096' to my sshd-script to
increase the max number of file descriptors when you logged into the
machine through ssh too. However some part of the problem remains since
some users with tcsh doesn't get this increase (zsh works)..
/Eskil
+-----------------------------------------------------------------------+
| Eskil Swahn |
| Eskil.Swahn_at_LDC.lu.se tfn +46 46 222 4986 |
| |
| |
+-----------------------------------------------------------------------+
Received on Wed Feb 24 1999 - 09:58:59 NZDT