I have a problem in Linux 2.6. There are a lot temp empty files under the java_IO_temp folder defined for tomcat. They are marked as "deleted", but still referred by java process.
I guess the files are created when there is a network problem and printer is not reachable.
I want to know
1) Most of the files on the lsof output was marked deleted. Why is java not releasing the handle of those files which are marked as deleted.
2) If we find the API and if it is one of the default java API's is there a way to disable java_IO_temp behavior. As there is no benefit and the store prints their report again if they do not see it on the printer.
3) what's the behavior of sun.print.UnixPrintServiceLookup.execCmd()
There is an exception about this problem.
Apr 23, 2012 11:11:18 AM sun.rmi.transport.tcp.TCPTransport$AcceptLoop
WARNING: RMI TCP Accept-12001: accept loop for
Throwable occurred: java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
Apr 23, 2012 11:11:49 AM sun.rmi.transport.tcp.TCPTransport$AcceptLoop
This topic has been locked.
1 reply Latest Post - 2012-05-04T01:29:36Z by U4UE_xie_zhi
Pinned topic Too many open files under the java_IO_temp folder defined for tomcat
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-05-04T01:29:36Z at 2012-05-04T01:29:36Z by U4UE_xie_zhi