From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29471 invoked from network); 31 Jul 1998 15:16:29 -0000 Received: from relay.la.tis.com (198.51.22.11) by mail2.redhat.com with SMTP; 31 Jul 1998 15:16:29 -0000 Received: by relay.la.tis.com; id IAA09123; Fri, 31 Jul 1998 08:36:55 -0700 (PDT) Received: from unknown(205.242.228.209) by relay.la.tis.com via smap (3.2) id xma009121; Fri, 31 Jul 98 08:36:26 -0700 Message-Id: <3.0.5.32.19980731101204.007e8eb0@mojo.calyx.net> X-Sender: blyon@mojo.calyx.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Fri, 31 Jul 1998 10:12:04 -0500 To: axp-list@redhat.com From: "Barrett G. Lyon" Subject: Re: fd's and potential problems? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" -----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 --