Hi all (bet you'd forgotten about me...)
> The client starts 1001 agents
> with ports 3000:30000, starting 10.1.0.1 .. 10.1.3.228
> (nothing seen in netstat -an, but not sure that I expect
> anything there) and then dies with
>
> DnsMgr.cc:67 (s24) Too many open files.
>
> I assume this is something I have to fix, but I don't know how.
> (Any suggestions).
I assume that this is the system-wide limit being hit, not the per-process
limit. To increase the system-wide limit, go:
echo 20000 > /proc/sys/fs/file-nr
The below won't work for kernel 2.4, but you will need to do it on the
other box.
echo 50000 > /proc/sys/fs/inode-max
To check what your max so far is, run
cat /proc/sys/fs/file-max
and compare it to the current available:
cat /proc/sys/fs/file-nr
(same with inode-max and inode-nr)
If it's the per-process limit being hit, you will have to change your
ulimits.
Oskar
This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:19 MDT