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

Re: too many open files



On 04/23/2010 11:55 AM, Buchan Milne wrote:
And 'grep files /proc/`pidof slapd`/limits' ?


Bingo.

proxyldap1:~# grep files /proc/`pidof slapd`/limits
Max open files            1024                 1024                 files


Now this i don't undestand. Howcome is this value set to 1024 while i defined 8192 for nofile in /etc/security/limits ?

So now i added ulimit -n 4096 to /etc/default/slapd and i restarted the server.
I now get a proper value in /proc/`pidof slapd`/limits.

Now it's wait and see, but i'm feeling confident.

Thank you for your help.

Hugo Monteiro.

--
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email	 : hugo.monteiro@fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
		   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.pt                apoio@fct.unl.pt

fct.unl.pt:~# _