site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com I have a problem where I can't restart a server (daemon) process because it can't allocate an IPC port. I imagine because the port is still allocated from the last run. How can I detect what port this is and deallocate it. I know under linux, for example, when this problem occurs with shared-memory segments I can use a commandline utility to clear out the shm segments. Is there something similar in OS X/Darwin? The specifics of my problem are these: I'm using OS X Server 10.3.9. Every week or so AppleFileServer stops responding to clients and needs to be restarted. Usually this can be done with a stop and then start in the Server Admin graphical tool. Sometimes a standard kill signal has to be sent to the process (not -9; just a normal kill). Then AppleShare can be started again. Today, though, AppleFileServer will not start. The log file reports simply that "The server wasn't able to start (Unable to register IPC port)." I believe this indicates that some Mach ports has been allocated but not released (leaked). How can I identify what ports AppleFileServer is trying to use and how do I release them? As a last resort I will reboot the server, but that is not really acceptable as I have about 1000 users that are using services on this server, either directly or indirectly. Michael -- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com