JDK 1.4.2_05  
Author Message
Kevin





PostPosted: 2007-1-26 0:05:00 Top

java-programmer, JDK 1.4.2_05 I use WebLogic 8.1 on a Solaris 9 box with 8 processors. I have JDK
1.4.2_05 installed and due to long pauses with the default collector, I
tried out the Concurrent garbage collector. However, once I do that,
the system runs out of file handles within minutes of starting the load
test. Solaris is setup with 8192 as the top limit for file handles.

I tried various options within Concurrent garbage collector (like
ParNewGC, CMSParallelRemark) but all lead to system running out of file
handles.

Any inputs ?

Thanks,
Kevin.

 
Gordon Beaton





PostPosted: 2007-1-26 1:04:00 Top

java-programmer >> JDK 1.4.2_05 On 25 Jan 2007 08:04:39 -0800, Kevin wrote:
> I use WebLogic 8.1 on a Solaris 9 box with 8 processors. I have JDK
> 1.4.2_05 installed and due to long pauses with the default
> collector, I tried out the Concurrent garbage collector. However,
> once I do that, the system runs out of file handles within minutes
> of starting the load test. Solaris is setup with 8192 as the top
> limit for file handles.

Use ulimit to raise (or check) the per-process descriptor limit.

However realize too that lack of file descriptors does not trigger the
garbage collector. Running out of descriptors is symptomatic of a
problem in the application.

/gordon

--
[ don't email me support questions or followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
 
Mike Amling





PostPosted: 2007-1-26 1:22:00 Top

java-programmer >> JDK 1.4.2_05 Kevin wrote:
> I use WebLogic 8.1 on a Solaris 9 box with 8 processors. I have JDK
> 1.4.2_05 installed and due to long pauses with the default collector, I
> tried out the Concurrent garbage collector. However, once I do that,
> the system runs out of file handles within minutes of starting the load
> test. Solaris is setup with 8192 as the top limit for file handles.
>
> I tried various options within Concurrent garbage collector (like
> ParNewGC, CMSParallelRemark) but all lead to system running out of file
> handles.

Does your load test construct a lot of FileInputStream etc objects
without closing them? Do you depend on finalizers running to close them?

--Mike Amling
 
 
Kevin





PostPosted: 2007-1-26 2:48:00 Top

java-programmer >> JDK 1.4.2_05 Thanks for the reply Gordon - I should have mentioned this earlier -
the application is running fine (for the past two years) with the
default jvm settings and ulimit of 8192. In an effort tweak the jvm
(reduce the long pauses) I decided to use different collectors.
ParallelGC worked fine, UseParNew worked fine, but the moment I
switched to Concurrent, it started throwing error about file handles.

Kevin.

 
 
mickey





PostPosted: 2007-2-19 23:16:00 Top

java-programmer >> JDK 1.4.2_05 On Jan 25, 9:04 pm, "Kevin" <email***@***.com> wrote:
> I use WebLogic 8.1 on a Solaris 9 box with 8 processors. I have JDK
> 1.4.2_05 installed and due to long pauses with the default collector, I
> tried out the Concurrent garbage collector. However, once I do that,
> the system runs out of file handles within minutes of starting the load
> test. Solaris is setup with 8192 as the top limit for file handles.
>
> I tried various options within Concurrent garbage collector (like
> ParNewGC, CMSParallelRemark) but all lead to system running out of file
> handles.
>
> Any inputs ?
>
> Thanks,
> Kevin.



hi.. im a junior programmer in java ...i've problem in starting with
JDBC ..JSP , EJB,STRUTS n hibernate >> can u plzz tell me
hw to get start with it .. any book u can suggest me
even i'd tried using GRIDBAG LAYOUT in swings but its difficult to get
hold of it..
hw about websphere and weblogic..
CAn u suggest me any link from where i can get VIDEO TUTORIALS
regarding this..