Child panics on OpenSolaris

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Feb 15 13:40:50 CET 2010


In message <4B793E98.2020807 at schokola.de>, Nils Goroll writes:
>Poul-Henning,
>

>Just an idea from checking differences between the code I use and trunk: In 
>cnt_wait, shouldn't we check pfd[0].revents for POLLERR and POLLHUP? Could it be 
>that Solaris assumes that delivery an error once should suffice, so further use 
>of the fd will return EBADF?

That was one of my theories, but it does not fit the facs of the case,
and it would violate POSIX, which I doubt Solaris would do...

The best contender is still that varnish closes the fd by mistake,
but I'll be damned if I can find where...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the varnish-misc mailing list