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

From: Alex Rousskov (rousskov@measurement-factory.com)
Date: Tue Jun 12 2001 - 09:12:22 MDT


On Tue, 12 Jun 2001, Joseph Mack wrote:

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

Make sure you re-configure and re-compile Polygraph when you change FD
limits.

Polygraph reports the number of FD it can open during ./configure. It
also reports the number of FD available at start up. Again, I do not
know how to change the number of FDs on Linux (including the
FD_SETSIZE value), but there is a way (and it is probably Linux
version specific).

Alex.



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