Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2001 08:44:35 -0800 (PST)
From:      mdh@logcabin.woods.bridge.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/24902: IPC Message Queue number to big
Message-ID:  <200102061644.f16GiZ151712@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24902
>Category:       kern
>Synopsis:       IPC Message Queue number to big
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 06 08:50:04 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Hughes
>Release:        3.5
>Organization:
>Environment:
FreeBSD logcabin.woods.bridge.com 3.5-RELEASE FreeBSD 3.5-RELEASE #9: Tue Jan  9 11:35:53 CST 2001     root@logcabin.woods.bridge.com:/export2/src/sys/compile/MIKE_new  i386
>Description:
When you do a ipcs -opq, it show message queue numbers that are negitive:
Message Queues:
T     ID     KEY        MODE       OWNER    GROUP CBYTES  QNUM LSPID LRPID
q  65536        100 --rwarwarwa      mdh programmer    576     12  53768  53738
q 720897         10 --rwarwarwa      mdh programmer      0      0  96326    560
q 131074          0 --rw-rw-rw-      mdh programmer      0      0    560    565
q 131075          0 --rw-rw-rw-      mdh programmer      0      0    560    568
q -1419182076          0 --rw-rw-rw-      mdh programmer      0      0  46751  46772
q -1627324411          0 --rw-rw-rw-      amh programmer     48      1  79239      0
q -1015611386          0 --rw-rw-rw-      amh programmer     48      1  79239      0
q 2071789575          0 --rw-rw-rw-      mdh programmer      0      0  53738  53768

Because of the queue number, you can't use ipcrm to clear them out.  It would
be nice if the queue numbers would not get bigger then a 5 digit number.

>How-To-Repeat:
Use a program that creates and deletes a message queue every 5 minutes.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102061644.f16GiZ151712>