From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11413 invoked from network); 29 Apr 1998 22:52:48 -0000 Received: from datar.lgx.com (wbonner@204.96.140.2) by mail2.redhat.com with SMTP; 29 Apr 1998 22:52:48 -0000 Received: from localhost (wbonner@localhost) by datar.lgx.com (8.8.7/8.8.7) with SMTP id RAA09924; Wed, 29 Apr 1998 17:52:40 -0500 Date: Wed, 29 Apr 1998 17:52:40 -0500 (CDT) From: William C Bonner Reply-To: William C Bonner To: axp-list@redhat.com Subject: FTP Server problem with syslogd Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In my scrounging of back articles, I noticed somone had run into the same problem that I'm running into. I didn't notice a good answer though, so I'm going to ask the question again. I'm running an FTP server that gets a good amount of hits per day. I'm running on an Alpha PC164SX with a customized kernel. (I only customized at the make config level, not the source level) my boot message saying which kernel I'm running is: Linux version 2.0.30 (root@lists.won.net) (gcc version 2.7.2.3) #2 Fri Apr 17 17:53:34 PDT 1998 I built it on one of my machines after getting the latest updates on the redhat alpha kernel. When I do an "rpm -qa" And grep it for various packages, I see the following installed: wu-ftpd-2.4.2b15-6, glibc-2.0.7-7, kernel-source-2.0.30-3, kernel-headers-2.0.30-3 What happens is that after so many people (and it seems to be a random large number) conect to my ftp server, the messages from syslog give me the following: Apr 28 17:02:18 ftp2 syslogd: select: Bad file descriptor Apr 28 17:02:49 ftp2 last message repeated 266557 times Apr 28 17:03:50 ftp2 last message repeated 529343 times Apr 28 17:04:51 ftp2 last message repeated 530136 times And it repeats.. It keeps going forever. If I'm logged into the machine, I can kill syslog and the machine will recover. If I'm not already connected to the machine, I can't generate a file descriptor, and can't log in. This also stops the ftp daemon from functioning. It seems to allow lots of ftp connections to start, but they then hang. The input and output on the http server on the same machine continues to function. I believe that I'm using the most recent kernel sources (at least in rpm form from redhat.) I don't know which package syslog comes in, or if there is an updated version of syslog. Apr 27 11:16:12 ftp2 syslogd 1.3-3: restart. Apr 27 11:16:13 ftp2 kernel: klogd 1.3-3, log source = /proc/kmsg started. Indicates the version of syslog that I'm using. I may be able to avoid the problem by not having the ftp daemon send anything to the syslog, but I'm not sure about that. How can I force the wu-ftp program to put absolutely no messages in the system log? Does anyone have any solution for the problem? --- William C Bonner Suite 110 Home Fax: Voice: 3380 146th Place SE Work Fax: +1-425-401-4900 Voice: +1-425-649-9064x5766 Bellevue, WA 98007