|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37697 get_queue() always fails
Submitted: 2006-06-05 04:17 UTC Modified: 2006-06-05 20:28 UTC
From: aeolianmeson at blitzeclipse dot com Assigned:
Status: Not a bug Package: Semaphore related
PHP Version: 5.1.4 OS: Fed4
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:
47 + 46 = ?
Subscribe to this entry?

 [2006-06-05 04:17 UTC] aeolianmeson at blitzeclipse dot com
get_queue will always say that it is out of space, but space is abundant. Full SysV library is built.

No idea even on how to debug this.

Reproduce code:

// This key was returned by an ftok() call.

$res = msg_get_queue(1360265987);


Expected result:
No error.

Actual result:
PHP Warning:  msg_get_queue(): failed for key 0x51140303: No space left on device in /clustershare/cluster/simplemsg.php on line 3


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-05 11:50 UTC]
Works perfectly fine here:

# php -r 'var_dump(msg_get_queue(1360265987));'
resource(4) of type (sysvmsg queue)

 [2006-06-05 19:39 UTC] aeolianmeson at blitzeclipse dot com
Okay. Thanks.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Sep 26 09:05:56 2022 UTC