Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Virtual Machine / February 2007

Tip: Looking for answers? Try searching our database.

JDK 1.4.2_05

Thread view: 
Kevin - 25 Jan 2007 16:04 GMT
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 - 25 Jan 2007 17:04 GMT
> 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

Signature

[ 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

Kevin - 25 Jan 2007 18:47 GMT
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.
Mike Amling - 25 Jan 2007 22:21 GMT
> 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
[quoted text clipped - 5 lines]
> 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
mickey - 19 Feb 2007 15:16 GMT
> 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
[quoted text clipped - 10 lines]
> 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..


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.