Too many open files Error in java - TechRepublic
General discussion
August 9, 2001 at 04:28 AM
mathew_t

Too many open files Error in java

by mathew_t . Updated 24 years, 5 months ago

Hi,

I have a java application running on Solaris 2.6 that works fine for a while and then craps out with the following error:

java.io.FileNotFoundException: /tmp/jlaunch.malettd.com.gcm.UPL.UPLMain.props (Too many open files)
java.io.FileNotFoundException: /tmp/jlaunch.malettd.com.gcm.UPL.UPLMain.props (Too many open files)
thr_continue of 0xd42702f8(0) failed: 3 = ESRCH.

At other times I get the following error message:

thr_continue of 0xd543fac8(3) failed: 3 = ESRCH.
thr_continue of 0xd543fa30(-278136652) failed: 3 = ESRCH.
thr_continue of 0xd543f990(-278136652) failed: 3 = ESRCH.
thr_continue of 0xd543fb30(-716965000) failed: 3 = ESRCH.
thr_continue of 0xd543fa78(-716965184) failed: 3 = ESRCH.
thr_continue of 0xd543fb78(0) failed: 3 = ESRCH.
Bus Error
si_signo [10]: Bus Error
si_errno [0]: Error 0
si_code [1]: BUS_ADRALN [addr: 0x3]

stackpointer=D3E21678

This happens even though the limit of the file descriptors is set to 256.

Iam a new java developer, so I am having trouble figuring out what is causing this problem.

Please help.

Thanks.

This discussion is locked

All Comments