Date: Mon, 14 Nov 2011 18:10:11 GMT From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-java@FreeBSD.org Subject: Re: java/162522: OpenJDK 6 is not setting close on exec Message-ID: <201111141810.pAEIABEp074418@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR java/162522; it has been noted by GNATS. From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-java@freebsd.org Cc: Stephen Sanders <ssanders@softhammer.net>, freebsd-gnats-submit@freebsd.org Subject: Re: java/162522: OpenJDK 6 is not setting close on exec Date: Mon, 14 Nov 2011 13:05:47 -0500 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?201111141810.pAEIABEp074418>