openjdk-7.45.18_1 is forbidden: Triggering a nasty FreeBSD bug.

Stephen Cook sclists at
Tue Jan 7 00:43:17 UTC 2014

On 1/3/2014 1:22 AM, Stephen Cook wrote:
> On 1/2/2014 9:59 PM, Adam Vande More wrote:
>> On Thu, Jan 2, 2014 at 8:06 PM, Walter Hurry <walterhurry at> 
>> wrote:
>>> Well, if you want to risk it, just edit 
>>> /usr/ports/java/openjdk7/Makefile
>>> and delete the "FORBIDDEN=" line.
>> As already stated, it is not safe to do this unless you're running a 
>> kernel
>> with the fix applied.  A fresh 10-STABLE is such a kernel.
> I don't feel comfortable with my knowledge to run something that is 
> not RELEASE yet. Is there a way to get the fix on 9.2?
> Can anyone point me to the bug(s) in question, so I can see what is 
> going on / what I'm risking?
> I can also just run the Minecraft server on my PC, and open the router 
> to let her friends play with her too. It is not as ideal though, 
> because if I'm working I might have to cut them off.
> -- Stephen

A bit more Googling helped me find this topic:

Someone recommends "portdowngrade", which seems to allow me to install 
an earlier version. He wrote "I found that b27 has been the last stable 
Java in my Serviio media center. On b28, Java doesn't close files and 
eventually pegs the kern.maxfilesperproc sysctl 
<>. On b29, Java causes kernel panics on 
9.2-RELEASE. Portdowngrade is your friend in situations like this."

Is this a bad idea?

Thanks for any advice!

-- Stephen

More information about the freebsd-questions mailing list