[Date Prev][Date Next]
Re: (ITS#3567) slapd terminates unexpectedly
Von Howard Chu <firstname.lastname@example.org> (Mon, 07 Mar 2005 02:25:10 -0800):
> Your log shows that poll() fails with ENOSYS, which is not a documented failure code for this system call. It looks like Solaris itself has failed here, and you should probably contact Sun for a solution.
I opened a case at Sun under the Case-ID 37336457 and finally got an answer:
If select is applied to a door (a special file in the filesystem allowing an immediate context switch to lower latency, in this case /var/run/syslog_door) a generic function is called in the doorfs processing the call where ENOSYS is returned, because poll is not supported on this filesystem type. Finally this is returned as errno from select. The mechanism is documented in select(3c):
The select() function supports regular files, terminal and
pseudo-terminal devices, STREAMS-based files, FIFOs and
pipes. The behavior of select() on file descriptors that
refer to other types of file is unspecified.
In this case "other file types" is a door and unspecified is ENOSYS.
Hope this helps the next time this returncode is encountered.
-- Dagobert Michelsen
Dagobert Michelsen (Leiter IT) Baltic Online Computer GmbH
Alter Markt 1-2, 24103 Kiel, +49 431 54003-0 (Fon) -99 (Fax)
Flughafenstr. 52c, 22335 Hamburg, +49 40 53299-395 (Fon) -100 (Fax)