Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* FTP Server problem with syslogd
@ 1998-04-29 22:52 William C Bonner
  1998-04-29 23:12 ` Wes Bauske
  0 siblings, 1 reply; 4+ messages in thread
From: William C Bonner @ 1998-04-29 22:52 UTC (permalink / raw)
  To: axp-list

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 <wbonner@lgx.com>                    Suite 110
Home Fax:                 Voice:                      3380 146th Place SE
Work Fax: +1-425-401-4900 Voice: +1-425-649-9064x5766 Bellevue, WA 98007


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FTP Server problem with syslogd
  1998-04-29 22:52 FTP Server problem with syslogd William C Bonner
@ 1998-04-29 23:12 ` Wes Bauske
  1998-04-29 23:41   ` William C Bonner
  0 siblings, 1 reply; 4+ messages in thread
From: Wes Bauske @ 1998-04-29 23:12 UTC (permalink / raw)
  To: axp-list

William C Bonner wrote:
> 
> 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'm not an FTP expert, but, is it possible your FTP 
daemon/system has too many file descriptors open?

If so, there was a posting about how to increase both the
system FD limit and the per process limit a couple weeks
back. Check the RH archive. If it's not there, maybe the
poster could repost the web page that had the info. It had
patch info for the kernel and some instructions on what to
do.

-- 
Regards,

Wes


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FTP Server problem with syslogd
  1998-04-29 23:12 ` Wes Bauske
@ 1998-04-29 23:41   ` William C Bonner
  1998-04-30 11:22     ` Pablo A. Godel
  0 siblings, 1 reply; 4+ messages in thread
From: William C Bonner @ 1998-04-29 23:41 UTC (permalink / raw)
  To: axp-list

On Wed, 29 Apr 1998, Wes Bauske wrote:
> William C Bonner wrote:
> > 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'm not an FTP expert, but, is it possible your FTP 
> daemon/system has too many file descriptors open?

It's possible, but I don't think that is the problem, as killing the
syslogd allows many more connections to be succesful.  That leads me to
elieve that the problem lies with syslog.  (and changing the number of
file descriptors would just delay the error)

The ftp daemon that I'm runing gets run from inetd, so I get a different
instance for each connection, and then it dies.  

Thanks.. Wim.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FTP Server problem with syslogd
  1998-04-29 23:41   ` William C Bonner
@ 1998-04-30 11:22     ` Pablo A. Godel
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo A. Godel @ 1998-04-30 11:22 UTC (permalink / raw)
  To: axp-list

> It's possible, but I don't think that is the problem, as killing the
> syslogd allows many more connections to be succesful.  That leads me to
> elieve that the problem lies with syslog.  (and changing the number of
> file descriptors would just delay the error)
>
> The ftp daemon that I'm runing gets run from inetd, so I get a different
> instance for each connection, and then it dies.

In also think that this problem points more to syslog than the ftp daemon, but do
you know proftpd ?? Take a look at www.proftpd.org


Regards,
Pablo Godel


--
-----------------------------------------------
The Internation Website Construction Co. (IWCC)
           http://www.iwcc.com.ar
Miami  -  Sao Paulo   -   Buenos Aires  -  Lima
-----------------------------------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-04-30 11:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-29 22:52 FTP Server problem with syslogd William C Bonner
1998-04-29 23:12 ` Wes Bauske
1998-04-29 23:41   ` William C Bonner
1998-04-30 11:22     ` Pablo A. Godel

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