php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #46392 msg_qbytes misdocumented in msg_stat_queue (sem/functions/msg-stat-queue.xml).
Submitted: 2008-10-26 08:45 UTC Modified: 2008-10-26 15:57 UTC
From: larstorben at gmail dot com Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2008-10-26 08:45 UTC] larstorben at gmail dot com
Description:
------------
The documentation for the value of msg_qbytes returned in the array from msg_stat_queue() is incorrect: it states that msg_qbytes holds the number of bytes free in the queue, when msg_qbytes really represents the system maximum number of bytes per queue. Here is a correction:

cvs diff: Diffing .
Index: msg-stat-queue.xml
===================================================================
RCS file: /repository/phpdoc/en/reference/sem/functions/msg-stat-queue.xml,v
retrieving revision 1.9
diff -u -u -r1.9 msg-stat-queue.xml
--- msg-stat-queue.xml	14 Mar 2008 21:42:24 -0000	1.9
+++ msg-stat-queue.xml	26 Oct 2008 08:39:56 -0000
@@ -90,8 +90,9 @@
       <row>
        <entry><literal>msg_qbytes</literal></entry>
        <entry>
-        The number of bytes of space currently available in the queue to
-        hold sent messages until they are received.
+        The maximum number of bytes allowed in one message queue. On
+        Linux, this value may be read and modified via
+        <filename>/proc/sys/kernel/msgmnb</filename>.
        </entry>
       </row>
       <row>



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-26 15:57 UTC] kalle@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=2c24250fc4ba1a234159a8c68d9102eca0e35466
Log: Fixed #46392 (msg_qbytes misdocumented in msg_stat_queue (sem/functions/msg-stat-queue.xml).) -- patch by larstorben at gmail dot com
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 10:00:01 2026 UTC