java.net.SocketException: Too many open files - Weblogic
This is a discussion on java.net.SocketException: Too many open files - Weblogic ; I am getting the following error:
Tue Nov 28 22:21:21 CST 2000:<E> <ListenThread> Listen failed, failure coun=
t: '1764'
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.socketAccept(Compiled Code)
at java.net.PlainSocketImpl.accept(Compiled Code)
at java.net.ServerSocket.implAccept(Compiled Code)
at java.net.ServerSocket.accept(Compiled Code)
at ...
-
java.net.SocketException: Too many open files
I am getting the following error:
Tue Nov 28 22:21:21 CST 2000:<E> <ListenThread> Listen failed, failure coun=
t: '1764'
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.socketAccept(Compiled Code)
at java.net.PlainSocketImpl.accept(Compiled Code)
at java.net.ServerSocket.implAccept(Compiled Code)
at java.net.ServerSocket.accept(Compiled Code)
at weblogic.t3.srvr.ListenThread.run(Compiled Code)
Could anybody tell me why am I getting the above error?
I am running on Solaris using JDK1.2.2_05a.
According to the usenet archives it is recommended that I use 1.2.2_06
However according to the Weblogic platform support page, for 1.2.2_06, I ne=
ed
to apply a patch first. Where do I get this patch? Is it in the set of OS =
patches
available in the 1.2.2_06 download page?
Thanks
-
Re: java.net.SocketException: Too many open files
Increase system's file descriptor size.
check the fd size via:
% ulimit -n
If this value is smaller than 1024, or even if that value is
greater than 1024, the error is still occured, you must
increase that value.
For permanent appliance, edit /etc/system, and add line:
set rlim_fd_max=3D4096
set rlim_fd_cur=3D1024
(the value whatever you want).
and reboot the system.
Reference this page :
http://www.weblogic.com/platforms/sun/index.html
for Solaris performence issue.
"Jas" <jase_08@XXXhotmail.com> wrote in message
news:3A2471E9.E2BC42AA@XXXhotmail.com...
>
>
> I am getting the following error:
>
> Tue Nov 28 22:21:21 CST 2000:<E> <ListenThread> Listen failed, failure
count: '1764'
> java.net.SocketException: Too many open files
> at java.net.PlainSocketImpl.socketAccept(Native Method)
> at java.net.PlainSocketImpl.socketAccept(Compiled Code)
> at java.net.PlainSocketImpl.accept(Compiled Code)
> at java.net.ServerSocket.implAccept(Compiled Code)
> at java.net.ServerSocket.accept(Compiled Code)
> at weblogic.t3.srvr.ListenThread.run(Compiled Code)
>
> Could anybody tell me why am I getting the above error?
>
> I am running on Solaris using JDK1.2.2_05a.
> According to the usenet archives it is recommended that I use 1.2.2_06
>
> However according to the Weblogic platform support page, for 1.2.2_06, I
need
> to apply a patch first. Where do I get this patch? Is it in the set of O=
S
patches
> available in the 1.2.2_06 download page?
>
> Thanks
>
>
>