ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » MQ socket files in /tmp

Post new topic  Reply to topic
 MQ socket files in /tmp « View previous topic :: View next topic » 
Author Message
magicwand
PostPosted: Thu Mar 08, 2007 4:25 pm    Post subject: MQ socket files in /tmp Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Thu Mar 08, 2007 11:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Nigelg
PostPosted: Fri Mar 09, 2007 10:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Fri Mar 09, 2007 10:50 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
magicwand
PostPosted: Fri Mar 09, 2007 3:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Fri Mar 09, 2007 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQ socket files in /tmp
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.