Date: Mon, 14 Nov 2011 13:05:47 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-java@freebsd.org Cc: freebsd-gnats-submit@freebsd.org, Stephen Sanders <ssanders@softhammer.net> Subject: Re: java/162522: OpenJDK 6 is not setting close on exec Message-ID: <201111141305.49582.jkim@FreeBSD.org> In-Reply-To: <201111131606.pADG6Owg074310@red.freebsd.org> References: <201111131606.pADG6Owg074310@red.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 13 November 2011 11:06 am, Stephen Sanders wrote: > It appears that OpenJDK does not set close on exec for file handles > where Diablo did. > > If a process attempts to restart itself via fork/exec without > closing all file handles first, it's child will fail with > complaints of 'socket in use'. Of course, this depends on what the > child is doing. Probably the best example is tomcat calling a > shell script that restarts tomcat. This problem should have been fixed in b21_1. However, it requires fdescfs(5) as described in pkg-message. Please check your configurations. Jung-uk Kim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111141305.49582.jkim>