FreeBSD 5.3-RELEASE + JDK1.4 native in a Jail -> hangs 99% cpuon kserel

Ronald Klop ronald-freebsd8 at klop.yi.org
Wed Dec 15 12:32:58 PST 2004


On Tue, 14 Dec 2004 12:29:59 +0100, Joris Verschoor <j.verschoor at nefli.nl>  
wrote:

> Ronald Klop wrote:
>
>> Try to check how many open files you have.
>
> kern.ipc.numopensockets: 109
> kern.openfiles: 184
>
>> And if you do kill -3 (or kill -QUIT) check the log files of the java  
>> app.
>
> When I do al kill -3, it goes in the loop
>
>> How many tcp connections do have to your db-server? Do you have a   
>> connection leak somewhere?
>
>
> I don't think there's a leak in my code. It runs fine on my windows box.
> I'll disable my webapp, so only the resin-doc will be active..

This doesn't sound like your out of resources, which was what the  
exception stated.
Can you find out what resource the exception is trying to get?
Maybe use truss to find out which system call is returning an  
out-of-resources error.

Ronald.

-- 
  Ronald Klop, Amsterdam, The Netherlands


More information about the freebsd-java mailing list