[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Too many open files?



Jaap Winius <jwinius@umrk.nl> writes:

> Quoting Dieter Kluenter <dieter@dkluenter.de>:
>
>> What is the output of ulimit -Sn and ulimit -Hn ?
>> If the output differs increase the value of -Sn to max. -Hn
>
> ~# ulimit -Sn
> 1024
> ~# ulimit -Hn
> 1024
> ~# _
>
> Would you suggest that e.g. "ulimit -n unlimited" be added to /etc/profile?

Unfortunately the hard limit is set to 1024 so you have to increase
soft limit and hard limit. You should probably set soft limit to 2048 and
hard limit to 8192

-Dieter

-- 
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:8EF7B6C6
53°37'09,95"N
10°08'02,42"E