| Author | 
		  Message
		 | 
		
		  | edasnarik | 
		  
		    
			  
				 Posted: Wed Nov 25, 2009 11:28 am    Post subject: java.net.SocketException: Too many open files | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 10 Mar 2009 Posts: 61
  
  | 
		  
		    
			  
				Hi Everyone ,
 
 
I see the following error message in my Audit when making a HTTP Request .
 
Please let me know on what to do about it ..
 
 
 
   
	| Code: | 
   
  
	ErrorText   :  WebService Request Exception     
 
ErrorNumber :  3162     
 
ErrorLabel  :       
 
ErrorText   :  A Web Service request has detected a SOCKET error whilst invoking a web service located at host &1, on port &2, on path &3.     ErrorNumber :  3152     
 
ErrorLabel  :        
 
ErrorText   :  An error occurred whilst performing an SSL socket operation     
 
ErrorNumber :  3165     
 
ErrorLabel  :        
 
ErrorText   :  java.net.SocketException: Too many open files     ErrorNumber :  3165     
 
ErrorLabel  :        
 
ErrorText   :  java.net.SocketException: Too many open files     ErrorNumber :  3165     
 
ErrorLabel  :    
 
 | 
   
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | edasnarik | 
		  
		    
			  
				 Posted: Wed Nov 25, 2009 12:29 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 10 Mar 2009 Posts: 61
  
  | 
		  
		    
			  
				| If we do not send a response to the requesting application , will the socket be open for indefinite time ? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bprasana | 
		  
		    
			  
				 Posted: Thu Nov 26, 2009 2:33 am    Post subject: hey | 
				     | 
			   
			 
		   | 
		
		
		    Disciple
 
 Joined: 18 Apr 2005 Posts: 179
  
  | 
		  
		    
			  
				| Hey we are facing the same issue. have you got around this issue? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Gaya3 | 
		  
		    
			  
				 Posted: Thu Nov 26, 2009 6:05 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US 
  | 
		  
		    
			  
				from here what i understood is you are trying to read an external file service.
 
 
 
use the following command
 
 
lsof -p  and see how many files are in CLOSE_WAIT state.
 
 
 
Once after reading you have to close the connection properly. [Disconnet] _________________ Regards
 
Gayathri
 
-----------------------------------------------
 
Do Something Before you Die | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | edasnarik | 
		  
		    
			  
				 Posted: Mon Dec 07, 2009 3:46 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 10 Mar 2009 Posts: 61
  
  | 
		  
		    
			  
				| This was not an issue with HTTPRequest Node or the sockets as such but some external java jar files that were being accessed from our application. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |