• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: No space left to create named semaphores
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No space left to create named semaphores


  • Subject: Re: No space left to create named semaphores
  • From: Tron Thomas <email@hidden>
  • Date: Wed, 22 Jun 2005 20:53:59 -0700

I discovered that I had made a mistake with my build that was logging the closing of named of semaphores. Once I got it working correctly I saw evidence that many semaphores were in fact being closed. This means that we might not be leaking semaphores, although that is far from conclusive.

Another thing that I noticed is that semaphores are being closed and they are not being unlinked. The documentation for closing a semaphore says "resources associated with the named semaphore referenced by/ /sem are deallocated and the descriptor is invalidated." The documentation for unlink says "The named semaphore named name is removed."

I'm not really sure what the differences are between deallocating and invalidating a descriptor versus removing the semaphore. How important would it be to unlink a semaphore as well as closing it?

Paul Ripke wrote:


On Wednesday, Jun 22, 2005, at 17:14 Australia/Sydney, Jonas Maebe wrote:

man ipcs (didn't exist yet on 10.3 afaik)


Although there are a few versions floating out on the 'net for
10.3 and below...

Including:
http://stix.homeunix.net/wiki/ipcs/ipcrm_for_Darwin

Cheers,
--
stix



_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: No space left to create named semaphores
      • From: "John J. Francini" <email@hidden>
References: 
 >Re: No space left to create named semaphores (From: Paul Ripke <email@hidden>)

  • Prev by Date: binutils (gobjdump ) question
  • Next by Date: Re: No space left to create named semaphores
  • Previous by thread: Re: No space left to create named semaphores
  • Next by thread: Re: No space left to create named semaphores
  • Index(es):
    • Date
    • Thread