Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Barrett G. Lyon" <blyon@netpr.com>
To: axp-list@redhat.com
Subject: Re: fd's and potential problems?
Date: Fri, 31 Jul 1998 10:12:04 -0500	[thread overview]
Message-ID: <3.0.5.32.19980731101204.007e8eb0@mojo.calyx.net> (raw)
In-Reply-To: <Pine.LNX.3.95.980731085945.6453A-100000@missing.its.to>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>
>	Been keenly reading the thread on fd's and the problems some are
>experiencing with a lack of them. I am running an XLT300 as a squid
proxy
>server for about 80 dial-up 33.6 users at a time. Once in a blue
moon, the
>machine just up and crashes with *NO* messages in /var/log/*
indicating
>why. The crashes don;t seem to correspond to any set of circumstances
that
>might indicate a problem.
>
>	I wonder if I am running out of fd's, and if so, how I determine
>how many I have to start with and how many are free at any given
time?
>

Chris, 

That is your problem.  I had the same problem, what happens is your
system runs out of FDS, and no new files can be opend or written
(/var/log/messages), that would explane why you see nothing in the
messages log.  Stuff starts to segfault, and die.  Yet processes that
don't need to access the hard disk still run fine.  You also might
notice the machine will ping, and when you telnet to it, most ports
will open.  

If you telnet to port 110 (pending on the version of pop3d you run if
any at all) it usually reports an error something like: "no free file
handles", or something to that nature.

To see your current fds usage you can do 2 things:
cat /proc/sys/kernel/file-nr
or compile lsof, and that will show you exactly what is using the fds.

To up your FDS, just issue a command like:
echo "4096">/proc/sys/kernel/file-max
echo "4096">/proc/sys/kernel/inode-max


-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.5.3

iQA/AwUBNcHexCav2qq1X8TaEQInqACgj/pZu3eZXTlQf3K6kdAKLlHEyycAnivD
L09Vlwov6mIIaKgVitkfWlaw
=reck
-----END PGP SIGNATURE-----

--
Barrett G. Lyon                                 
Data & Network Security Consultant                Fax: 310-737-0196
Network Presence, LLC                           Email: blyon@netpr.com
--


      reply	other threads:[~1998-07-31 15:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-31 15:04 fd's and potential problems? Chris Price
1998-07-31 15:12 ` Barrett G. Lyon [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox