| Author | 
		  Message
		 | 
		
		  | magicwand | 
		  
		    
			  
				 Posted: Thu Mar 08, 2007 4:25 pm    Post subject: MQ socket files in /tmp | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 12 Feb 2007 Posts: 6
  
  | 
		  
		    
			  
				I see lots of socket files left in /tmp file system on AIX nodes.
 
 
[/tmp]                                  
 
(webadm)mpr3l7>>ls -ltr MQ*
 
srwxrwxrwx   1 mqm      mqm               0 Jun 07 2005  MQSeries.26592
 
srwxrwxrwx   1 mqm      mqm               0 Jun 07 2005  MQSeries.24838
 
srwxrwxrwx   1 mqm      mqm               0 Jun 08 2005  MQSeries.79706
 
srwxrwxrwx   1 mqm      mqm               0 Jun 08 2005  MQSeries.33624
 
....<snipped>
 
 
What are these? Why do they survive QMgr restart? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Michael Dag | 
		  
		    
			  
				 Posted: Thu Mar 08, 2007 11:49 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam) 
  | 
		  
		    
			  
				is there shared memory left? (ipcs -a )
 
 
is there a problem or is it just an inquiry?
 
 
/tmp is cleaned on reboot anyway. _________________ Michael
 
 
 
 
 
MQSystems Facebook page | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Nigelg | 
		  
		    
			  
				 Posted: Fri Mar 09, 2007 10:16 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 02 Aug 2004 Posts: 1046
  
  | 
		  
		    
			  
				Channel processes receive command msgs via these files. The file is cleaned up if the channel ends normally; if it is killed or crashes, the file is left. The qmgr does not know of the existence of the files, so they are not deleted by any other mechanism. _________________ MQSeries.net helps those who help themselves.. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Michael Dag | 
		  
		    
			  
				 Posted: Fri Mar 09, 2007 10:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam) 
  | 
		  
		    
			  
				
   
	| Nigelg wrote: | 
   
  
	| The file is cleaned up if the channel ends normally; if it is killed or crashes, the file is left. | 
   
 
 
interesting. Can anything be learned from these files? (I don't have some at hand right now...   ) _________________ Michael
 
 
 
 
 
MQSystems Facebook page | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | magicwand | 
		  
		    
			  
				 Posted: Fri Mar 09, 2007 3:54 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 12 Feb 2007 Posts: 6
  
  | 
		  
		    
			  
				icps -a shows quite a lot.
 
 
It is weird these sockets also survive server reboots. The ones I listed are from June 2005. The server was rebooted recently. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | EddieA | 
		  
		    
			  
				 Posted: Fri Mar 09, 2007 5:59 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles 
  | 
		  
		    
			  
				
   
	| magicwand wrote: | 
   
  
	| It is weird these sockets also survive server reboots. The ones I listed are from June 2005. The server was rebooted recently. | 
   
 
 
No, all it shows is that you don't have any procedures in place for clearing up "stale" files in /tmp.
 
 
Cheers, _________________ Eddie Atherton
 
IBM Certified Solution Developer - WebSphere Message Broker V6.1
 
IBM Certified Solution Developer - WebSphere Message Broker V7.0 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |