* 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-21 17:02 serious problem Greg Lindahl
@ 1998-08-21 17:08 ` Randy Carpenter
1998-08-22 0:50 ` Wes Bauske
0 siblings, 1 reply; 14+ messages in thread
From: Randy Carpenter @ 1998-08-21 17:08 UTC (permalink / raw)
To: axp-list
> > 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.
Arrgg.. it didn't do this before. Why release buggy updates!?!?
How do I up the inodes/fd's ?
-Randy
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: serious problem...
1998-08-21 17:08 ` Randy Carpenter
@ 1998-08-22 0:50 ` Wes Bauske
1998-08-22 8:39 ` Barrett G. Lyon
0 siblings, 1 reply; 14+ messages in thread
From: Wes Bauske @ 1998-08-22 0:50 UTC (permalink / raw)
To: axp-list
Randy Carpenter wrote:
>
> > > 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.
I had a similar problem after updating my system. Rebooting made
it go away. If you haven't rebooted, try that before anything else.
Wes
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: serious problem...
1998-08-22 0:50 ` Wes Bauske
@ 1998-08-22 8:39 ` Barrett G. Lyon
1998-08-22 14:53 ` Wes Bauske
0 siblings, 1 reply; 14+ messages in thread
From: Barrett G. Lyon @ 1998-08-22 8:39 UTC (permalink / raw)
To: axp-list
At 07:50 PM 8/21/98 -0500, you wrote:
>Randy Carpenter wrote:
>>
>> > > 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.
>
>I had a similar problem after updating my system. Rebooting made
>it go away. If you haven't rebooted, try that before anything else.
I had that problem for a bit, until I added a massave ammount of fds and
inodes. 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.
My machine is a shell box, that gets a heavy load. Before I upped the
fds/inodes, I was just on the edge of 1024 (default fds). Since a port
uses a fd, I figured my box crashed whenever I got a portscan. With all
those ports opening up and closing, it could just be what the machine
needed to die.
Good luck
-Barrett
--
Barrett G. Lyon
Data & Network Security Consultant Fax: 310-737-0196
Network Presence, LLC Email: blyon@netpr.com
--
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: serious problem...
1998-08-22 8:39 ` Barrett G. Lyon
@ 1998-08-22 14:53 ` Wes Bauske
1998-08-24 12:02 ` Paul Tomblin
0 siblings, 1 reply; 14+ messages in thread
From: Wes Bauske @ 1998-08-22 14:53 UTC (permalink / raw)
To: axp-list
Barrett G. Lyon wrote:
>
> At 07:50 PM 8/21/98 -0500, you wrote:
> >Randy Carpenter wrote:
> >>
> >> > > 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.
> >
> >I had a similar problem after updating my system. Rebooting made
> >it go away. If you haven't rebooted, try that before anything else.
>
> I had that problem for a bit, until I added a massave ammount of fds and
> inodes. 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.
>
> My machine is a shell box, that gets a heavy load. Before I upped the
> fds/inodes, I was just on the edge of 1024 (default fds). Since a port
> uses a fd, I figured my box crashed whenever I got a portscan. With all
> those ports opening up and closing, it could just be what the machine
> needed to die.
>
That's an interesting observation. My systems have relatively
light load for active processes but very heavy FP load on the
main tests I run so they use few FD's. Also, my boxes sit behind
a masquerading/passthru ISDN box so it's unlikely a port scan
would occur on them. 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??
Wes
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: serious problem...
1998-08-22 14:53 ` Wes Bauske
@ 1998-08-24 12:02 ` Paul Tomblin
1998-08-24 12:44 ` Gavin
0 siblings, 1 reply; 14+ messages in thread
From: Paul Tomblin @ 1998-08-24 12:02 UTC (permalink / raw)
To: axp-list
Quoting Wes Bauske (wsb@paralleldata.com):
> That's an interesting observation. My systems have relatively
> light load for active processes but very heavy FP load on the
> main tests I run so they use few FD's. Also, my boxes sit behind
> a masquerading/passthru ISDN box so it's unlikely a port scan
> would occur on them. 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??
Could be. My box is the primary A (and MX) record for xcski.com. I haven't
been able to run syslog for months because of this damn problem, so I don't
even know any more if I'm being portscanned. I do know that when I was
running syslogd I was seeing two or three attempts to connect to my NNTP
server from people who weren't authorized, as well as the usual spammers
attempting to use my sendmail as a relay. I also know that currently (not
running syslog) that every time I check, my file-nr is around 450. But I also
run several mailing lists, and there have been times when I've had 20 or more
sendmail processes each attempting to send messages to 50 or more people,
making connections, so maybe that would trigger it, especially if the sockets
were slow to close.
But I haven't rebooted in 29 days and I'm reluctant to do any experiments with
logging turned on.
--
Paul Tomblin, ptomblin@xcski.com.
"An appointment is an engagement to see someone, while a morningstar is a
large lump of metal used for viciously crushing skulls. It is important not
to confuse the two, isn't it, Mr. --?" - Terry Pratchett
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: serious problem...
1998-08-24 12:02 ` Paul Tomblin
@ 1998-08-24 12:44 ` Gavin
0 siblings, 0 replies; 14+ messages in thread
From: Gavin @ 1998-08-24 12:44 UTC (permalink / raw)
To: axp-list, ptomblin
Hi PPL
I am running an AlphaStation 500 with RH 5.0
got about all fixes from R.H. running 2.0.34 , compiled with egcs 1.0.3a
This is the primary Server for all my and my customers domains
i have FTP ,Telnet , ssh , apache, sendmail 8.x, and a few other services.
It is not behind a firewall or anything , i have had a few breakin attempts
but as far as i can see they were not sucessfull.
I am in not having the syslogd problem you mentiond...
my maschine has been connected to the Internet for about 4 months.
If my System configuration or any other informatin could help you track this
rather bad
bug down , i will gladly be of assitance.
Regards
Gavin
Paul Tomblin schrieb:
> Quoting Wes Bauske (wsb@paralleldata.com):
> > That's an interesting observation. My systems have relatively
> > light load for active processes but very heavy FP load on the
> > main tests I run so they use few FD's. Also, my boxes sit behind
> > a masquerading/passthru ISDN box so it's unlikely a port scan
> > would occur on them. 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??
>
> Could be. My box is the primary A (and MX) record for xcski.com. I haven't
> been able to run syslog for months because of this damn problem, so I don't
> even know any more if I'm being portscanned. I do know that when I was
> running syslogd I was seeing two or three attempts to connect to my NNTP
> server from people who weren't authorized, as well as the usual spammers
> attempting to use my sendmail as a relay. I also know that currently (not
> running syslog) that every time I check, my file-nr is around 450. But I also
> run several mailing lists, and there have been times when I've had 20 or more
> sendmail processes each attempting to send messages to 50 or more people,
> making connections, so maybe that would trigger it, especially if the sockets
> were slow to close.
>
> But I haven't rebooted in 29 days and I'm reluctant to do any experiments with
> logging turned on.
>
> --
> Paul Tomblin, ptomblin@xcski.com.
> "An appointment is an engagement to see someone, while a morningstar is a
> large lump of metal used for viciously crushing skulls. It is important not
> to confuse the two, isn't it, Mr. --?" - Terry Pratchett
>
> --
> 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] 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 18:03 Greg Lindahl
@ 1998-08-21 18:21 ` Randy Carpenter
0 siblings, 0 replies; 14+ messages in thread
From: Randy Carpenter @ 1998-08-21 18:21 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.
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.
-Randy
^ 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
* Re: serious problem...
1998-08-21 17:11 Greg Lindahl
@ 1998-08-21 17:58 ` Randy Carpenter
0 siblings, 0 replies; 14+ messages in thread
From: Randy Carpenter @ 1998-08-21 17:58 UTC (permalink / raw)
To: axp-list
> 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
>
You need to do "echo 8192" :)
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.
-Randy
^ 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