|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58579 No space left on device bug
Submitted: 2009-03-09 12:35 UTC Modified: 2009-03-13 15:56 UTC
From: djonline at djonline dot ru Assigned:
Status: Not a bug Package: APC (PECL)
PHP Version: 5.2.5 OS: FC9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
23 + 49 = ?
Subscribe to this entry?

 [2009-03-09 12:35 UTC] djonline at djonline dot ru
[apc-error] apc_sem_create: semget(0,...) failed: No space 
left on device

Server Software	Apache/2.2.9 (Fedora)
Shared Memory	1 Segment(s) with 32.0 MBytes 
(mmap memory, IPC semaphore locking)

 Free: 25.7 MBytes (80.5%)	 Hits: 19369 (99.2%)
 Used: 6.3 MBytes (19.5%)	 Misses: 155 (0.8%)

Bug ?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-11 16:09 UTC]
This is likely due to memory constraints on your system, or limitations on semaphores, not actually running out of APC cache space.

I would suggest, that you use pthread locking (default in the latest version) or spin locking (more experimental).  These shouldn't have the constraints you're seeing here and are preferred for your OS.  Let us know if these options cause problems for you.
 [2009-03-13 10:04 UTC] djonline at djonline dot ru
Yes, now I user pthread locking.
But it is time to add information about semaphore 
limitations in FAQ, INSTALL and documentation APC.
There is nothing about new features in manual too (added 
with version 3.0.11).
 [2009-03-13 15:56 UTC]
Yep, the documentation needs some updates and is on our list of things todo.  Thanks.
 [2009-04-21 15:43 UTC] emil at stoynev dot us
Hello, I have the same problem, same situation, How can I fix it?

Thank you.

OS: FreeBSD 7.1 
Apache 2.2 , PECL/APC-3.0.19
 [2009-04-21 16:46 UTC] emil at stoynev dot us
I fixed it, done.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Mar 03 00:01:29 2024 UTC