I do.

But I think you're on the right track because I believe I've tracked the
problem down:-

I use a connection pool package which refreshes connections after a certain
time, but I found out today that the version I use did not explicitly close
a connection before assigning the pointer to a fresh connection, which I
think could in theory result in the old connection not getting garbage
collected.

The latest version does close connections, and Ive downloaded that. Ill just
have to wait for 10 or so hours to see if I'm right.

I think that twz caches to memory by default anyway doesn't it?

Thanks,

Darren Scott
Technical Director,
bluecheese.co.uk

----------
>From: "Christian Mack" <[EMAIL PROTECTED]>
>To: Java Apache Users <[EMAIL PROTECTED]>
>Subject: Re: [servlets] libthread panic: alloc_chunk (PID: 4165 LWP 2)
>Date: Thu, Mar 4, 1999, 12:22 pm
>

>Darren Scott wrote:
>> 
>> Ever since I switched our database to MySQL with Terrence Zeller's tjFM JDBC
>> Driver, our VM has apparently crashed after about 10hrs and the following
>> appears in jserv.log.
>> 
>> >open(/dev/zero): Too many open files
>> >libthread panic: alloc_chunk (PID: 4165 LWP 2)
>> >stacktrace:
>> >        ef509908
>> >        ef5083b8
>> >        ef508154
>> >        ef50eba4
>> >        ef50e968
>> >        ef507e34
>> >        ef50b434
>> >        ef50e0ec
>> >        0
>> >java.lang.NullPointerException
>> >        at org.apache.jserv.JServHandler.run(Compiled Code)
>> 
>> Does anybody know why, or what the above means?
>> 
>> Many thanks,
>> 
>> Darren Scott
>> Technical Director
>> bluecheese.co.uk
>> 
>
>Hi Darren
>
>Do you always close() your ResultSet's when done?
>twz driver does cache them in files, so you can run out of descriptors when 
>not properly closed.
>
>Tschau
>Christian
>


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://www.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to