[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Unexpected server freeze
--On Tuesday, February 08, 2005 11:18 AM +0100 Guillaume Rousse
<Guillaume.Rousse@inria.fr> wrote:
The only timeout available in slapd is idletimeout, wich is related to
closing client connections. It means the problem would be actually caused
by some broken clients, whereas I thought it was the server. I'll try it.
For maximum file descriptors, ulimit -a for root users gives 1024 open
files, which is far beyond 256, and /proc/sys/fs/file-max says 419430, so
I don't think there is a problem there.
Just to note, that for OpenLDAP, I tune /etc/system on Solaris 9 thus:
* Up file descriptor limit. Defaults to 1024.
set rlim_fd_max = 16384
* Up tcp conn hash size. Defaults to 256.
* See http://www.deny-all.com/en/solsecu/tech/tuning.html
set tcp:tcp_conn_hash_size = 16384
* autoup influences how much RAM is checked by fsflush every 5 seconds.
* Default = 30. Increase autoup to decrease mem management overhead.
* See http://docs.sun.com/db/doc/806-7009/6jftnqsin?a=view
set autoup = 60
* Increase memory performance when filesystem is being heavily used.
* See http://www.samag.com/documents/s=1323/sam0110e/0110e.htm
set maxpgio=25468
set slowscan=500
* Increase memory performance when filesystem is being heavily used.
* See http://www.sun.com/sun-on-net/performance/priority_paging.html
set priority_paging=1
* increase the size of the kernel stack to 24k for Solaris 8/64-bit
set rpcmod:svc_default_stksize=0x6000
set lwp_default_stksize=0x6000
* force load the shared module kernel information.
forceload: sys/shmsys
--Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html