Hi,
I am starting the XMLRPC server in java and sending requests to it from python 
in Fedora 9 environment.
After around 200-300 request I am getting the follwing error.
If I restart the XMLRPC server the problem goes away.

java.net.SocketException: Too many open files
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at 
java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:358)
        at java.net.ServerSocket.implAccept(ServerSocket.java:470)
        at java.net.ServerSocket.accept(ServerSocket.java:438)
        at org.apache.xmlrpc.webserver.WebServer.run(WebServer.java:317)
        at java.lang.Thread.run(Thread.java:636)


In my python side I am opening around 30 Server sockets and some 200-300 client 
socket connections are also
created. This program runs in a different shell and the XMLRPC server in 
another shell.

Regards
Joseph

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

Reply via email to