[Date Prev][Date Next]
Re: slapd: warning: cannot open /etc/hosts.allow: Too many open files
It looks like you have 1024, but you'd be better off asking your operating
system vendor than me.
It's a bit of a brute force method, but you can always run lsof, pfiles,
ls /proc/(pid)/fd, or whatever may be appropriate for your operating
system (again, ask your vendor) when slapd is complaining "too many files"
to find out what slapd is actually hitting as a limit.
I'm not clear on the "one process" question -- perhaps it would be helpful
to keep in mind that slapd is typically compiled multithreaded, so many
requests can be sharing one pid (and hence fdset.)
On Mon, 6 Dec 2004, [ISO-8859-1] SÚrgio M. Basto wrote:
> How many FD I have by default ?
> #ulimit -a
> core file size (blocks, -c) 0
> data seg size (kbytes, -d) unlimited
> file size (blocks, -f) unlimited
> max locked memory (kbytes, -l) 4
> max memory size (kbytes, -m) unlimited
> open files (-n) 1024
> pipe size (512 bytes, -p) 8
> stack size (kbytes, -s) 10240
> cpu time (seconds, -t) unlimited
> max user processes (-u) 7168
> virtual memory (kbytes, -v) unlimited
> and why I have only one process ?