Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!rit!cci632!tom From: tom@cci632.UUCP (Thomas Bullinger) Newsgroups: comp.unix.questions Subject: Messages in SYS V Keywords: message queues, messages Message-ID: <32780@cci632.UUCP> Date: 21 Dec 89 16:10:16 GMT Organization: CCI, Communications Systems Division, Rochester, NY Lines: 30 Hello all, and thanks for your attention! I'm trying to understand the messaging tools in System V UNIX, and I've written a program to execise these things. However, I seem to have a problem allocating message queues after debugging for awhile. Here's what happens: I start my program, and messages begin to fly all over, Everything works fine, I exit normally, no problem. Now if I start my program, allow messages to start passing out and about, and then crash my program, I think it leaves the message queue still assigned to my program. After doing this a few times, I seem to run out of queues, and my program hangs while trying to allocate a new queue. This hanging problem persists until the machine is re-booted. Obviously, I can't go around booting a machine with tons of users, I wouldn't last too long! :-) So my question is (finally): Is there any way to find out what queues are assigned to me or my programs, and how can I clean up queues left over from a premature program exit? Thanks again for sticking with me this far, I hope someone can help!! tom.. [] [] [] []