Re: trying to figoure out IPs in nolb-14-4.pg

From: Joseph Mack (mack.joseph@epa.gov)
Date: Tue Jun 12 2001 - 08:43:00 MDT


Oskar Pearson wrote:

> > 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

thanks for the help. tried it...

file-nr is (ro) and reports the number of files open.

Looking more at the output as polyclt runs...
the code in DnsMgr.cc is trying to open an AF_INET socket
when it fails.
when executing, polyclt reports a value of 4096 from getrlimit
and 1024 from FD_SETSIZE (and uses the FD_SETSIZE value).
Just below in the log, the value fd_limit is 983. This is
less than 1001, the number of sockets that it's trying to open.

> If it's the per-process limit being hit, you will have to change your
> ulimits.

put these at 8192 without anyeffect on the polyclt numbers reported above.
 
Thanks Joe

-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center, 
mailto:mack.joseph@epa.gov ph# 919-541-0007, RTP, NC, USA



This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:19 MDT