tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Too many open files, Ulimit and ssh..
@ 1999-02-24  9:56 Eskil.Swahn
  0 siblings, 0 replies; only message in thread
From: Eskil.Swahn @ 1999-02-24  9:56 UTC (permalink / raw)
  To: tru64-unix-managers


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@LDC.lu.se             tfn +46 46 222 4986                |
|                                                                       |
|                                                                       |
+-----------------------------------------------------------------------+

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-02-24  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-24  9:56 SUMMARY: Too many open files, Ulimit and ssh Eskil.Swahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox