Subject: Re: Select producing bogus EINVAL errors?
To: Ian Dall <Ian.Dall@dsto.defence.gov.au>
From: Matthieu Herrb <matthieu@laas.fr>
List: current-users
Date: 03/24/1997 08:33:19
You wrote (in your message from Mon 24)
 > 
 > The programs I see this on are emacs running under X and fvwm. Emacs
 > sits there and every 5 minutes or so produces a "select: invalid
 > argument" error. Sometimes it produces several in a row. This is
 > annoying, but other wise doesn't stop emacs working.

This is usually a symptom indicating that you've set your descriptors
limit too high for select().

Try lowering the limit to 64. (ulimit -n 64 with sh or limit
descriptors 64 with csh).


					Matthieu