* syslogd
@ 1998-09-25 15:26 Barrett G. Lyon
1998-09-25 16:03 ` syslogd Paul Tomblin
1998-09-25 17:11 ` syslogd Brian E.W. Wood
0 siblings, 2 replies; 16+ messages in thread
From: Barrett G. Lyon @ 1998-09-25 15:26 UTC (permalink / raw)
To: axp-list
The 'syslogd' problem is known about, and has hundreds of messages in older
threads talking about it.
Nobody knows what eats up FDS and inodes, but it happens to me also. I
also noticed huge problems with wu-ftpd. I think there are problems in the
Linux kernel for the 21164sx support PCI maybe? Maybe there is some
relation to the odd clock problems that were 'fixed' with milo. I wonder
if people that have the clock that runs 2X faster than normal, and have the
milo fix are the same ones that have the inode/fds/pci problems.
-Barrett
--
Barrett G. Lyon PGP Key: http://www.doxx.net/pgp
Data & Network Security Consultant Fax: 310-737-0196
Network Presence, LLC Email: blyon@netpr.com
--
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: syslogd
1998-09-25 15:26 syslogd Barrett G. Lyon
@ 1998-09-25 16:03 ` Paul Tomblin
1998-09-25 16:29 ` syslogd Barrett G. Lyon
1998-09-25 17:11 ` syslogd Brian E.W. Wood
1 sibling, 1 reply; 16+ messages in thread
From: Paul Tomblin @ 1998-09-25 16:03 UTC (permalink / raw)
To: axp-list
Quoting Barrett G. Lyon (blyon@netpr.com):
> Nobody knows what eats up FDS and inodes, but it happens to me also. I
Nothing eats up file descriptors. file-nr is always around 470-500, even when
syslogd is spewing.
> also noticed huge problems with wu-ftpd. I think there are problems in the
I'm no longer doing any ftping on that system - I moved the ftp setup over to
the Intel Linux box which attaches to my cable modem instead of the alpha
which attaches to the regular phone modem. (Gee, I wonder why?)
> Linux kernel for the 21164sx support PCI maybe? Maybe there is some
> relation to the odd clock problems that were 'fixed' with milo. I wonder
> if people that have the clock that runs 2X faster than normal, and have the
> milo fix are the same ones that have the inode/fds/pci problems.
I have no problems with my clock. I set it every day against my provider's
time server (which in turn is set to the NIST clock), and it varys by less
than a second each time. I do have the latest milo, however.
One thing which I doubt is significant but I thought I'd mention is that this
time when I booted, I booted originally into single user mode because I had to
fix something in the news setup before the news server started. I had
forgotten about that, but I noticed it when I rebooted to fix the syslogd
problem. I guess shutdown -r causes milo to boot with whatever kernel
arguments it had been booted with last, and this time it went into single user
again.
Previous to this 11 day uptime, I had a 39+ day uptime with no syslogd
problems (that one was rebooted due to the power fluctuating during an
electrical storm).
--
Paul Tomblin, ptomblin@xcski.com.
Java could allow computer users to run numerous applicatons without Windows, a
scenario Bill Gates once said "scares the hell out of me."
- Dan Goodin, CNET News
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: syslogd
1998-09-25 16:03 ` syslogd Paul Tomblin
@ 1998-09-25 16:29 ` Barrett G. Lyon
1998-09-25 17:59 ` syslogd Paul Tomblin
0 siblings, 1 reply; 16+ messages in thread
From: Barrett G. Lyon @ 1998-09-25 16:29 UTC (permalink / raw)
To: axp-list
I do infact have an inode problem, and a fds problem. I have kernel panics
where I get messages like 'no free inodes', or the system just seems to
lock up, but its really out of fds, so anything needing disk IO just stops
working. My best uptime for the box is 9 days, but it has a very serious
load, but the adv. uptime is around 5 days.
I think I just have a bad motherboard, because anything in the PCI bus
seems to just be fucked up.
I did fix ftp however, I replaced wu-ftp with proftpd 1.1.6pl2 and that
works awesome.
Another thing that seems to eat the system alive, is when it starts to
teeter-totter on the edge of running out of FDS, syslog starts to go nuts.
It can't write out to some files, so it starts to loop messages at 1000nds
per minute. I don't even feel like looking up the exact message, but I
have seen lots of people post pastes of the same thing I got.
The only soution I have/had (and its a very very poor one at that) is to up
file-max and inode-max to a huge ungodly number.
I am thinking about trying a dev kernel 2.1.122 maybe that will fix some of
my problems. Ohh, that reminds me, what kernel do you run?
-Barrett
>Quoting Barrett G. Lyon (blyon@netpr.com):
>> Nobody knows what eats up FDS and inodes, but it happens to me also. I
>
>Nothing eats up file descriptors. file-nr is always around 470-500, even
when
>syslogd is spewing.
>
>> also noticed huge problems with wu-ftpd. I think there are problems in the
>
>I'm no longer doing any ftping on that system - I moved the ftp setup over to
>the Intel Linux box which attaches to my cable modem instead of the alpha
>which attaches to the regular phone modem. (Gee, I wonder why?)
>
>> Linux kernel for the 21164sx support PCI maybe? Maybe there is some
>> relation to the odd clock problems that were 'fixed' with milo. I wonder
>> if people that have the clock that runs 2X faster than normal, and have the
>> milo fix are the same ones that have the inode/fds/pci problems.
>
>I have no problems with my clock. I set it every day against my provider's
>time server (which in turn is set to the NIST clock), and it varys by less
>than a second each time. I do have the latest milo, however.
>
>One thing which I doubt is significant but I thought I'd mention is that this
>time when I booted, I booted originally into single user mode because I
had to
>fix something in the news setup before the news server started. I had
>forgotten about that, but I noticed it when I rebooted to fix the syslogd
>problem. I guess shutdown -r causes milo to boot with whatever kernel
>arguments it had been booted with last, and this time it went into single
user
>again.
>
>Previous to this 11 day uptime, I had a 39+ day uptime with no syslogd
>problems (that one was rebooted due to the power fluctuating during an
>electrical storm).
>
--
Barrett G. Lyon PGP Key: http://www.doxx.net/pgp
Data & Network Security Consultant Fax: 310-737-0196
Network Presence, LLC Email: blyon@netpr.com
--
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: syslogd
1998-09-25 16:29 ` syslogd Barrett G. Lyon
@ 1998-09-25 17:59 ` Paul Tomblin
1998-09-25 19:39 ` syslogd Bret Orsburn
1998-09-25 23:19 ` syslogd Uncle George
0 siblings, 2 replies; 16+ messages in thread
From: Paul Tomblin @ 1998-09-25 17:59 UTC (permalink / raw)
To: axp-list
Quoting Barrett G. Lyon (blyon@netpr.com):
> per minute. I don't even feel like looking up the exact message, but I
> have seen lots of people post pastes of the same thing I got.
Yeah, mostly me. Repeatedly.
> The only soution I have/had (and its a very very poor one at that) is to up
> file-max and inode-max to a huge ungodly number.
Mine are at 8192 now.
> I am thinking about trying a dev kernel 2.1.122 maybe that will fix some of
> my problems. Ohh, that reminds me, what kernel do you run?
2.0.35 from the RedHat updates site, built myself using egcs 1.0.3a. I've
also had it with 2.0.34 built with gcc. I can't remember if I was getting it
with 2.0.30.
--
Paul Tomblin, ptomblin@xcski.com.
Java could allow computer users to run numerous applicatons without Windows, a
scenario Bill Gates once said "scares the hell out of me."
- Dan Goodin, CNET News
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: syslogd
1998-09-25 17:59 ` syslogd Paul Tomblin
@ 1998-09-25 19:39 ` Bret Orsburn
1998-09-25 19:57 ` syslogd Paul Tomblin
1998-09-25 23:19 ` syslogd Uncle George
1 sibling, 1 reply; 16+ messages in thread
From: Bret Orsburn @ 1998-09-25 19:39 UTC (permalink / raw)
To: axp-list
Paul Tomblin wrote:
>
> Quoting Barrett G. Lyon (blyon@netpr.com):
> > per minute. I don't even feel like looking up the exact message, but I
> > have seen lots of people post pastes of the same thing I got.
>
> Yeah, mostly me. Repeatedly.
>
> > The only soution I have/had (and its a very very poor one at that) is to up
> > file-max and inode-max to a huge ungodly number.
>
> Mine are at 8192 now.
>
> > I am thinking about trying a dev kernel 2.1.122 maybe that will fix some of
> > my problems. Ohh, that reminds me, what kernel do you run?
>
> 2.0.35 from the RedHat updates site, built myself using egcs 1.0.3a. I've
> also had it with 2.0.34 built with gcc. I can't remember if I was getting it
> with 2.0.30.
Has anyone ever looked into this report from "Uncle George" to see if it
accounts for this whole class of problem? (My system doesn't fail very often, so
I don't have a lot of motivation/opportunity to pursue it.)
Here's his post:
(Replace the ntpdate with another similar trigger.... Does it fit?)
> Subject:
> Re: Inducing the syslogd/klogd syndrome
> Resent-Date:
> 21 Jul 1998 22:39:28 -0000
> Resent-From:
> axp-list@redhat.com
> Resent-CC:
> recipient list not shown: ;
> Date:
> Tue, 21 Jul 1998 18:41:06 -0400
> From:
> Uncle George <gatgul@voicenet.com>
> Reply-To:
> axp-list@redhat.com
> Organization:
> None Avail
> To:
> axp-list@redhat.com, greg@wind.rmcc.com
> CC:
> furio ercolessi <furio@spin.it>, "B. James Phillippe" <bryan@terran.org>
> References:
> 1
>
>
>
>
> It was the poll() system call in 2.0.33 kernel that causes a cryptic ( but familiar ) message to be
> printed by the kernel. Unfortunately this error message, from an unimplimented system service, does not
> have a '\n' at the tail end of its message.
>
> Along comes ntpdate, which really doesnt understand that the poll() function doesn't really work at all in
> either glibc, or the kernel. BUT it tries really hard, at least 300,000 times, and fails at each attempt.
> The kernel, on the other hand is trying to log some 300,000 attempts to this invalid system service. This
> is all fine, with the exception that there are no newlines between each of the messages! - some run on
> sentence.
>
> Then along comes klogd, which will try to log each of these messages ( via syslogd ). But there are no
> newlines, and klogd really hasn't been tested to handle a 4000 character message with no 'cr' of 'lf' in
> them. this is evident when it tries to move the 4000 character message into a 1024 character line buffer.
> rerally trashes the stack, and also trashes the kmsg channel, so it cant get any more info from the
> kernel. Klogd gets a read error, syslogd gets the report from klogd, and it cycles forever.
>
> so whats to fix:
> 1) put a '\n' in the kernel message in traps.c:do_entSys(), is printk("msg ... \n");
> this should keep klogd happy. This is simple to do, and appears to keep klogd
> happy. If there are any other like-wise type-o's, then u will still get that forever spin
> problem in klogd/syslogd.
>
> 2) fix klogd so that longer than 1024 character kernel messages that dont have ( any ) terminating cr
> or lf, to not overwrite the stack, and static variables. If u do get one of these messages that u cant
> handle, or are improbable in nature - then a message should be written into the system log saying that
> something strange has happened. I dont have a perm fix, and this is being reported to the klogd/syslogd
> folks via greg@wind.rmcc.com
>
>
>
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: syslogd
1998-09-25 19:39 ` syslogd Bret Orsburn
@ 1998-09-25 19:57 ` Paul Tomblin
0 siblings, 0 replies; 16+ messages in thread
From: Paul Tomblin @ 1998-09-25 19:57 UTC (permalink / raw)
To: axp-list
Quoting Bret Orsburn (borsburn@codonics.com):
> Has anyone ever looked into this report from "Uncle George" to see if it
> accounts for this whole class of problem? (My system doesn't fail very often, so
> I don't have a lot of motivation/opportunity to pursue it.)
I did go through my whole kernel source tree and made sure that all the kernel
messages that didn't have \n on the end were followed by ones that did - the
one he mentioned was about the only one I found. I didn't fix klogd. I still
have the problem.
--
Paul Tomblin, ptomblin@xcski.com.
Java could allow computer users to run numerous applicatons without Windows, a
scenario Bill Gates once said "scares the hell out of me."
- Dan Goodin, CNET News
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: syslogd
1998-09-25 17:59 ` syslogd Paul Tomblin
1998-09-25 19:39 ` syslogd Bret Orsburn
@ 1998-09-25 23:19 ` Uncle George
1998-09-26 2:27 ` syslogd Paul Tomblin
1 sibling, 1 reply; 16+ messages in thread
From: Uncle George @ 1998-09-25 23:19 UTC (permalink / raw)
To: axp-list
does this still happen often enough to try to analyze & possibly fix?
i'll give it a shot, but it does not happen on my machine, but i can post patches
to u so u can rebuild/reinsatall syslogd - and wait for something to happen?
so u game Mr. Ginny Pig?
Paul Tomblin wrote:
> Quoting Barrett G. Lyon (blyon@netpr.com):
> > per minute. I don't even feel like looking up the exact message, but I
> > have seen lots of people post pastes of the same thing I got.
>
> Yeah, mostly me. Repeatedly.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: syslogd
1998-09-25 23:19 ` syslogd Uncle George
@ 1998-09-26 2:27 ` Paul Tomblin
1998-09-26 9:30 ` syslogd furio ercolessi
0 siblings, 1 reply; 16+ messages in thread
From: Paul Tomblin @ 1998-09-26 2:27 UTC (permalink / raw)
To: axp-list
Quoting Uncle George (gatgul@voicenet.com):
> does this still happen often enough to try to analyze & possibly fix?
>
> i'll give it a shot, but it does not happen on my machine, but i can post patches
> to u so u can rebuild/reinsatall syslogd - and wait for something to happen?
> so u game Mr. Ginny Pig?
I think I'll try upgrading to RedHat 5.1 this weekend, since at least one
person said that made the problem go away. If it doesn't, I'll let you know.
--
Paul Tomblin, ptomblin@xcski.com.
Java could allow computer users to run numerous applicatons without Windows, a
scenario Bill Gates once said "scares the hell out of me."
- Dan Goodin, CNET News
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: syslogd
1998-09-26 2:27 ` syslogd Paul Tomblin
@ 1998-09-26 9:30 ` furio ercolessi
0 siblings, 0 replies; 16+ messages in thread
From: furio ercolessi @ 1998-09-26 9:30 UTC (permalink / raw)
To: axp-list
>
> I think I'll try upgrading to RedHat 5.1 this weekend, since at least one
> person said that made the problem go away. If it doesn't, I'll let you know.
I had this problem on a 5.1 initially, then it disappeared, possibly
following an upgrade. Anyway, I remembered that 'ntpdate' from
ftp://ftp.redhat.com/pub/redhat/redhat-5.1/alpha/RedHat/RPMS/xntp3-5.93-2.alpha.rpm
triggered it consistently, and when I replaced this package with
ftp://ftp.redhat.com/pub/contrib/manhattan/alpha/xntp3-5.91_export-3.alpha.rpm
the problem went away. This may be perhaps useful to know for people
who are trying to trigger the bug (either developers or masochists,
or perhaps these two words have the same meaning ;-)
This was discussed on the list on july 21. Unfortunately RH's archival
tool was not working those days, so here's a quick summary:
Uncle George analyzed the problem and traced it to a combination of
- stupidity of ntpdate in repeatdly calling a failing poll system call
- lack of a \n in traps.c:do_entSys() in the kernel
- klogd trashing the stack, due to lack of \n and consequent overflowing
and proposed some patches. These patches however did not work for
Paul Tomblin.
In all cases, I think that RedHat should issue an update of xntp3-5.93
which solves this problem.
furio ercolessi
Spin - Trieste (Italy)
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: syslogd
1998-09-25 15:26 syslogd Barrett G. Lyon
1998-09-25 16:03 ` syslogd Paul Tomblin
@ 1998-09-25 17:11 ` Brian E.W. Wood
1 sibling, 0 replies; 16+ messages in thread
From: Brian E.W. Wood @ 1998-09-25 17:11 UTC (permalink / raw)
To: axp-list
On 25-Sep-98 Barrett G. Lyon wrote:
>
>
> The 'syslogd' problem is known about, and has hundreds of messages in older
> threads talking about it.
>
> Nobody knows what eats up FDS and inodes, but it happens to me also. I
> also noticed huge problems with wu-ftpd. I think there are problems in the
> Linux kernel for the 21164sx support PCI maybe? Maybe there is some
> relation to the odd clock problems that were 'fixed' with milo. I wonder
> if people that have the clock that runs 2X faster than normal, and have the
> milo fix are the same ones that have the inode/fds/pci problems.
Well I for one had the 2X clock problem which was fixed by the new MILO and I
do not have the problems you refer to.
---
Brian E.W. Wood beww@intac.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: syslogd
@ 1998-09-25 15:46 Greg Lindahl
0 siblings, 0 replies; 16+ messages in thread
From: Greg Lindahl @ 1998-09-25 15:46 UTC (permalink / raw)
To: axp-list
> From axp-list-request@redhat.com Fri Sep 25 11:40 EDT 1998
> Received: from mail2.redhat.com (mail2.redhat.com [199.183.24.247])
> by ares.cs.Virginia.EDU (8.8.5/8.8.5) with SMTP id LAA02744
> for <lindahl@cs.virginia.edu>; Fri, 25 Sep 1998 11:40:36 -0400 (EDT)
> Received: (qmail 30840 invoked by uid 501); 25 Sep 1998 15:32:22 -0000
> Resent-Date: 25 Sep 1998 15:32:22 -0000
> Resent-Cc: recipient list not shown: ;
> MBOX-Line: From axp-list-request@redhat.com Fri Sep 25 11:32:21 1998
> Message-Id: <3.0.5.32.19980925102631.0087cda0@mojo.calyx.net>
> X-Sender: blyon@mojo.calyx.net
> X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
> Date: Fri, 25 Sep 1998 10:26:31 -0500
> To: axp-list@redhat.com
> From: "Barrett G. Lyon" <blyon@netpr.com>
> Subject: syslogd
> Mime-Version: 1.0
> Resent-Message-ID: <"-sVWz.0.3X7.5Ux2s"@mail2.redhat.com>
> Resent-From: axp-list@redhat.com
> Reply-To: axp-list@redhat.com
> X-Mailing-List: <axp-list@redhat.com> archive/latest/865
> X-Loop: axp-list@redhat.com
> Precedence: list
> Resent-Sender: axp-list-request@redhat.com
> X-URL: http://www.redhat.com
> Content-Type: text/plain; charset="us-ascii"
> Content-Length: 915
>
>
>
> The 'syslogd' problem is known about, and has hundreds of messages in older
> threads talking about it.
>
> Nobody knows what eats up FDS and inodes, but it happens to me also. I
> also noticed huge problems with wu-ftpd. I think there are problems in the
> Linux kernel for the 21164sx support PCI maybe? Maybe there is some
> relation to the odd clock problems that were 'fixed' with milo. I wonder
> if people that have the clock that runs 2X faster than normal, and have the
> milo fix are the same ones that have the inode/fds/pci problems.
>
> -Barrett
>
>
>
> --
> Barrett G. Lyon PGP Key: http://www.doxx.net/pgp
> Data & Network Security Consultant Fax: 310-737-0196
> Network Presence, LLC Email: blyon@netpr.com
> --
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* syslogd
@ 1998-09-26 1:06 Paul Tomblin
0 siblings, 0 replies; 16+ messages in thread
From: Paul Tomblin @ 1998-09-26 1:06 UTC (permalink / raw)
To: axp-list
Ok, it's happening right now. file-nr is 576, inode-nr says "2500 2017"
Both file-max and inode-max are 4096. syslogd has 32 fds open!!!!
lrwx------ 1 root root 64 Sep 25 20:58 0 -> [0000]:494
lrwx------ 1 root root 64 Sep 25 20:58 1 -> [0000]:496
lrwx------ 1 root root 64 Sep 25 20:58 10 -> [0000]:1687
lrwx------ 1 root root 64 Sep 25 20:58 11 -> [0000]:1698
lrwx------ 1 root root 64 Sep 25 20:58 12 -> [0000]:1798
lrwx------ 1 root root 64 Sep 25 20:58 13 -> [0000]:2007
lrwx------ 1 root root 64 Sep 25 20:58 14 -> [0000]:544519
lrwx------ 1 root root 64 Sep 25 20:58 15 -> [0000]:2036
lrwx------ 1 root root 64 Sep 25 20:58 16 -> [0000]:545360
lrwx------ 1 root root 64 Sep 25 20:58 17 -> [0000]:545896
lrwx------ 1 root root 64 Sep 25 20:58 18 -> [0000]:504505
lrwx------ 1 root root 64 Sep 25 20:58 19 -> [0000]:549228
lrwx------ 1 root root 64 Sep 25 20:58 2 -> [0000]:541
lrwx------ 1 root root 64 Sep 25 20:58 20 -> [0000]:549231
lrwx------ 1 root root 64 Sep 25 20:58 21 -> [0000]:549234
lrwx------ 1 root root 64 Sep 25 20:58 22 -> [0000]:549237
lrwx------ 1 root root 64 Sep 25 20:58 23 -> [0000]:549240
lrwx------ 1 root root 64 Sep 25 20:58 24 -> [0000]:549257
lrwx------ 1 root root 64 Sep 25 20:58 25 -> [0000]:549438
lrwx------ 1 root root 64 Sep 25 20:58 26 -> [0000]:549446
lrwx------ 1 root root 64 Sep 25 20:58 27 -> [0000]:549449
lrwx------ 1 root root 64 Sep 25 20:58 28 -> [0000]:549452
lrwx------ 1 root root 64 Sep 25 20:58 29 -> [0000]:549458
lrwx------ 1 root root 64 Sep 25 20:58 3 -> [0000]:879
lrwx------ 1 root root 64 Sep 25 20:58 30 -> [0000]:549461
lrwx------ 1 root root 64 Sep 25 20:58 31 -> [0000]:549475
lrwx------ 1 root root 64 Sep 25 20:58 4 -> [0000]:953
lrwx------ 1 root root 64 Sep 25 20:58 5 -> [0000]:1024
lrwx------ 1 root root 64 Sep 25 20:58 6 -> [0000]:1188
lrwx------ 1 root root 64 Sep 25 20:58 7 -> [0000]:1496
lrwx------ 1 root root 64 Sep 25 20:58 8 -> [0000]:1580
lrwx------ 1 root root 64 Sep 25 20:58 9 -> [0000]:1623
Oh, this looks very suspicious - syslogd probably has more than 32 files open,
and can't do a select on them because select uses a 32 bit bitmask.
I wonder where the file leak is?
--
Paul Tomblin, ptomblin@xcski.com.
Java could allow computer users to run numerous applicatons without Windows, a
scenario Bill Gates once said "scares the hell out of me."
- Dan Goodin, CNET News
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: syslogd
@ 1998-09-26 2:27 Greg Lindahl
1998-09-26 14:04 ` syslogd Paul Tomblin
0 siblings, 1 reply; 16+ messages in thread
From: Greg Lindahl @ 1998-09-26 2:27 UTC (permalink / raw)
To: axp-list
> Ok, it's happening right now. file-nr is 576, inode-nr says "2500 2017"
> Both file-max and inode-max are 4096. syslogd has 32 fds open!!!!
And you didn't forget to run strace on it, did you?
I love debugging via mailing list.
> Oh, this looks very suspicious - syslogd probably has more than 32
> files open, and can't do a select on them because select uses a 32
> bit bitmask.
Does it? I thought that was a glibc bug which was fixed?
If you also had lsof you could find out what files syslogd had open.
-- g
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: syslogd
1998-09-26 2:27 syslogd Greg Lindahl
@ 1998-09-26 14:04 ` Paul Tomblin
0 siblings, 0 replies; 16+ messages in thread
From: Paul Tomblin @ 1998-09-26 14:04 UTC (permalink / raw)
To: axp-list
Quoting Greg Lindahl (lindahl@cs.virginia.edu):
> > Ok, it's happening right now. file-nr is 576, inode-nr says "2500 2017"
> > Both file-max and inode-max are 4096. syslogd has 32 fds open!!!!
>
> And you didn't forget to run strace on it, did you?
Could *you* store the output from strace for a process that might run 40 days
before it fails? I don't think so.
> > Oh, this looks very suspicious - syslogd probably has more than 32
> > files open, and can't do a select on them because select uses a 32
> > bit bitmask.
>
> Does it? I thought that was a glibc bug which was fixed?
Oh, maybe it was. I don't know.
> If you also had lsof you could find out what files syslogd had open.
Unfortunately, lsof didn't work because I'm not using the last kernel I
compiled, so System.map didn't match. I'm going to recompile (without the ppa
support that I ended up not using) and reboot and try again.
--
Paul Tomblin, ptomblin@xcski.com.
Java could allow computer users to run numerous applicatons without Windows, a
scenario Bill Gates once said "scares the hell out of me."
- Dan Goodin, CNET News
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: syslogd
@ 1998-09-26 17:29 Greg Lindahl
1998-09-26 18:25 ` syslogd Paul Tomblin
0 siblings, 1 reply; 16+ messages in thread
From: Greg Lindahl @ 1998-09-26 17:29 UTC (permalink / raw)
To: axp-list
> > And you didn't forget to run strace on it, did you?
>
> Could *you* store the output from strace for a process that might run 40 days
> before it fails? I don't think so.
That's why strace has the -p option, so you can examine existing
processes, and connect and disconnect at any time. Sorry I didn't make
this clear. This is the major piece of information that we're missing
at this point, so please look into it for us.
-- g
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: syslogd
1998-09-26 17:29 syslogd Greg Lindahl
@ 1998-09-26 18:25 ` Paul Tomblin
0 siblings, 0 replies; 16+ messages in thread
From: Paul Tomblin @ 1998-09-26 18:25 UTC (permalink / raw)
To: axp-list
Quoting Greg Lindahl (lindahl@cs.virginia.edu):
> > > And you didn't forget to run strace on it, did you?
> >
> > Could *you* store the output from strace for a process that might run 40 days
> > before it fails? I don't think so.
>
> That's why strace has the -p option, so you can examine existing
> processes, and connect and disconnect at any time. Sorry I didn't make
> this clear. This is the major piece of information that we're missing
> at this point, so please look into it for us.
Oops. I missed that in the man page. Damn, I feel silly now.
--
Paul Tomblin, ptomblin@xcski.com.
Java could allow computer users to run numerous applicatons without Windows, a
scenario Bill Gates once said "scares the hell out of me."
- Dan Goodin, CNET News
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~1998-09-26 18:26 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-25 15:26 syslogd Barrett G. Lyon
1998-09-25 16:03 ` syslogd Paul Tomblin
1998-09-25 16:29 ` syslogd Barrett G. Lyon
1998-09-25 17:59 ` syslogd Paul Tomblin
1998-09-25 19:39 ` syslogd Bret Orsburn
1998-09-25 19:57 ` syslogd Paul Tomblin
1998-09-25 23:19 ` syslogd Uncle George
1998-09-26 2:27 ` syslogd Paul Tomblin
1998-09-26 9:30 ` syslogd furio ercolessi
1998-09-25 17:11 ` syslogd Brian E.W. Wood
-- strict thread matches above, loose matches on Subject: below --
1998-09-25 15:46 syslogd Greg Lindahl
1998-09-26 1:06 syslogd Paul Tomblin
1998-09-26 2:27 syslogd Greg Lindahl
1998-09-26 14:04 ` syslogd Paul Tomblin
1998-09-26 17:29 syslogd Greg Lindahl
1998-09-26 18:25 ` syslogd Paul Tomblin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox