From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,eac187026632c516 X-Google-Attributes: gid111c93,public From: peltz@jaka.ece.uiuc.edu (Steve Peltz) Subject: Re: syslogd bad file descriptor? Date: 1998/05/12 Message-ID: <6jal70$b4k$1@jaka.ece.uiuc.edu>#1/1 X-Deja-AN: 352707822 References: <6j87g1$v5g$1@canoe.xcski.com> <6j94ob$1nv$1@jaka.ece.uiuc.edu> <6j9cic$su9$1@canoe.xcski.com> Organization: NovaNET Learning, Inc. Newsgroups: comp.os.linux.alpha In article <6j9cic$su9$1@canoe.xcski.com>, Paul Tomblin wrote: >Well, that's how I fixed it or I wouldn't have been able to post the question. >What I want to know is what caused it? "a bug"? You'll get that error if one of the bits set for select() to look at is not a currently opened file descriptor. Either something clobbered the variable with the fd, or something closed the fd. I'm guessing that it was /proc/kmsg, but I haven't looked at the code.