#46392 [Opn->Csd]: msg_qbytes misdocumented in msg_stat_queue (sem/functions/msg-stat-queue.xml).

From: Date: Sun, 26 Oct 2008 15:57:13 +0000
Subject: #46392 [Opn->Csd]: msg_qbytes misdocumented in msg_stat_queue (sem/functions/msg-stat-queue.xml).
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1250@lists.php.net to get a copy of this message
ID: 46392 Updated by: kalle@php.net Reported By: larstorben at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant -Assigned To: +Assigned To: kalle New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2008-10-26 08:45:19] 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> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46392&edit=1

« previous php.doc.bugs (#1250) next »