php.net |  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
 [2006-06-05 04:17 UTC] aeolianmeson at blitzeclipse dot com
Description:
------------
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:
---------------
<?php

// 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-05 11:50 UTC] tony2001@php.net
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.

Dustin
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Sep 29 01:03:36 2021 UTC