• 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: John Francini <email@hidden>
  • Date: Tue, 21 Jun 2005 09:44:24 -0400

The semaphore space is controlled by the kern.sysv.sem* set of sysctl(8) values.

The question, though, is how many semaphores is the program using, and is it "leaking" semaphores? The default value appears to be 87381 in Panther.

John Francini



On Jun 21, 2005, at 0:42, Tron Thomas wrote:

At work we have a program running on Mac OS X that routinely calls sem_open to created named semaphores. After the program has run for a while the sem_open command will fail with the result ENOSPC and the corresponding error string "No space left on device".

What determines how much space is available for creating semaphores?


_______________________________________________ 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

_______________________________________________ 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: Tron Thomas <email@hidden>
References: 
 >No space left to create named semaphores (From: Tron Thomas <email@hidden>)

  • Prev by Date: Re: Tape support on Mac OS X?
  • Next by Date: Re: Question about fsync and fcntl with F_FULLSYNC
  • Previous by thread: No space left to create named semaphores
  • Next by thread: Re: No space left to create named semaphores
  • Index(es):
    • Date
    • Thread