Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: serious problem...
@ 1998-08-21 17:02 Greg Lindahl
  1998-08-21 17:08 ` Randy Carpenter
  0 siblings, 1 reply; 14+ messages in thread
From: Greg Lindahl @ 1998-08-21 17:02 UTC (permalink / raw)
  To: axp-list

> Aug 21 12:54:34 noc kernel: Cannot read proc file system: 9 - Bad file
> descriptor.
> Aug 21 12:54:38 noc last message repeated 28265 times
> Aug 21 12:54:38 noc kernel: Cannot read proc file system: 9 - Bad file
> descriptor.
> Aug 21 12:54:38 noc last message repeated 1652 times

This is a known problem. Upping your # of inodes/fd's will delay
onset.  If you are good with kernels you could try to debug it.

-- g


^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: serious problem...
@ 1998-08-22 17:06 Greg Lindahl
  0 siblings, 0 replies; 14+ messages in thread
From: Greg Lindahl @ 1998-08-22 17:06 UTC (permalink / raw)
  To: axp-list

> > There is some problem, and lots of people have it.  FDS leak?
> > I've not seen one, but I have seen an odd difference between catting the
> > /proc/sys/kernel/file-nr vs. losf | wc -l.

I'd love to hear what this discrepency is, especially after you have
upped file-max to 8192 or an even larger number. If there is an fd
leak in the kernel, you should see file-nr close to the limit while
lsof is just a few hundred or thousand, and then the syslog problem
will develop.

The fd leak can't be at user level because a process can only open 256
fd's.

> Maybe the people having problems are right
> out on the net where their systems can be portscanned/attacked
> in general?? If so, then this problem could stem from attacks
> by hackers??

That's probably one of many ways to trigger it.

-- g


^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: serious problem...
@ 1998-08-21 19:13 Greg Lindahl
  0 siblings, 0 replies; 14+ messages in thread
From: Greg Lindahl @ 1998-08-21 19:13 UTC (permalink / raw)
  To: axp-list

> > What did you expect? I said it would delay onset of the problem.
> 
> ok..  but I still don't understand why it never happened before until I
> upgraded to the latest glibc rpm's.  It was up for a very long time before
> I upgraded the libs today.

It's pretty easy to prove that glibc can't be the actual guilty party,
if you look at the # of files open in /proc. glibc may be tickling a
kernel bug, but I suspect (and have yet to really prove) that it is
definitely in the kernel.

-- g


^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: serious problem...
@ 1998-08-21 18:03 Greg Lindahl
  1998-08-21 18:21 ` Randy Carpenter
  0 siblings, 1 reply; 14+ messages in thread
From: Greg Lindahl @ 1998-08-21 18:03 UTC (permalink / raw)
  To: axp-list

> But, this still doesn't do anything.  And, as stated before, it did *not*
> do this before I upgraded glibc.  This is the *same* kernel as before.

What did you expect? I said it would delay onset of the problem. I
take it from your lack of comments about my other suggestions that you
don't know how to investigate the problem in detail. This problem
will not get fixed until we get a good hacker and a broken system in
the same place at the same time.

-- g


^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: serious problem...
@ 1998-08-21 17:11 Greg Lindahl
  1998-08-21 17:58 ` Randy Carpenter
  0 siblings, 1 reply; 14+ messages in thread
From: Greg Lindahl @ 1998-08-21 17:11 UTC (permalink / raw)
  To: axp-list

> Arrgg.. it didn't do this before.  Why release buggy updates!?!?
> How do I up the inodes/fd's ?

This is apparently a long-standing kernel bug, and RedHat and the
typical alpha kernel hackers all apparently don't have an example
system which displays the bug.

cat 8192 > /proc/sys/kernel/file-max
cat 8192 > /proc/sys/kernel/inode-max

But this just delays the problem. If you look around proc and count
the number of fd's actually opened by programs. You could also strace
syslogd etc to find out what errors it is actually getting.

-- g


^ permalink raw reply	[flat|nested] 14+ messages in thread
* serious problem...
@ 1998-08-21 16:58 Randy Carpenter
  0 siblings, 0 replies; 14+ messages in thread
From: Randy Carpenter @ 1998-08-21 16:58 UTC (permalink / raw)
  To: axp-list

Okay, I have RH5.0 on a 533sx alpha.  I just upgraded the glibc updates in
the updates directory....

now I get this in /var/log/messages:

Aug 21 12:54:34 noc kernel: Cannot read proc file system: 9 - Bad file
descriptor.
Aug 21 12:54:38 noc last message repeated 28265 times
Aug 21 12:54:38 noc kernel: Cannot read proc file system: 9 - Bad file
descriptor.
Aug 21 12:54:38 noc last message repeated 1652 times

etc... etc...

I can read /proc just fine on the system.  What could be the problem??
syslogd and klogd are eating 50% of the cpu each, and I can't have that,
this being a vital production machine.

____________________________________________________________________
Randy Carpenter - UNIX Systems Admin             First Network Group
rcarpen@celt.network1.net                        Wapakoneta, OH
____________________________________________________________________



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

end of thread, other threads:[~1998-08-24 12:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-21 17:02 serious problem Greg Lindahl
1998-08-21 17:08 ` Randy Carpenter
1998-08-22  0:50   ` Wes Bauske
1998-08-22  8:39     ` Barrett G. Lyon
1998-08-22 14:53       ` Wes Bauske
1998-08-24 12:02         ` Paul Tomblin
1998-08-24 12:44           ` Gavin
  -- strict thread matches above, loose matches on Subject: below --
1998-08-22 17:06 Greg Lindahl
1998-08-21 19:13 Greg Lindahl
1998-08-21 18:03 Greg Lindahl
1998-08-21 18:21 ` Randy Carpenter
1998-08-21 17:11 Greg Lindahl
1998-08-21 17:58 ` Randy Carpenter
1998-08-21 16:58 Randy Carpenter

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