Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2001 10:12:11 -0800
From:      Xiuping Hu <xhu@aventail.com>
To:        "'freebsd-questions@FreeBsd.org'" <freebsd-questions@FreeBsd.org>
Subject:   FW: FreeBSD question about ipcrm
Message-ID:  <B56392D22C80D411AF7900508BDC91450D0C84@maestro.in.aventail.com>

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





>  I run  [Xiuping Hu]  an application in FreeBsd 4.2
> I get a banch of shared memory in the system:
> 
> Message Queues:
> T     ID     KEY        MODE       OWNER    GROUP
> 
> Shared Memory:
> T     ID     KEY        MODE       OWNER    GROUP
> m 917504          0 --rwarwarwa      xhu      xhu
> m 524289          0 --rwarwarwa      xhu      xhu
> m 524290          0 --rwarwarwa      xhu      xhu
> m 524291          0 --rwarwarwa      xhu      xhu
> m 524292          0 --rwarwarwa      xhu      xhu
> m 655365          0 --rwarwarwa      xhu      xhu
> m 1900550          0 --rwarwarwa      xhu      xhu
> m 720903          0 --rwarwarwa      xhu      xhu
> m 1245192          0 --rwarwarwa      xhu      xhu
> m 720905          0 --rwarwarwa      xhu      xhu
> m 1245194          0 --rwarwarwa      xhu      xhu
> m 2162699          0 --rwarwarwa      xhu      xhu
> m 4456460          0 --rwarwarwa      xhu      xhu
> m 589837          0 --rwarwarwa      xhu      xhu
> m 589838          0 --rwarwarwa      xhu      xhu
> m 524303          0 --rwarwarwa      xhu      xhu
> m 393232          0 --rwarwarwa      xhu      xhu
> m 393233          0 --rwarwarwa      xhu      xhu
> m 2097171          0 --rwarwarwa      xhu      xhu
> m 851988          0 --rwarwarwa      xhu      xhu
> m 327701          0 --rwarwarwa      xhu      xhu
> m 327702          0 --rwarwarwa      xhu      xhu
> m 327703          0 --rwarwarwa      xhu      xhu
> m 851992          0 --rwarwarwa      xhu      xhu
> m 851993          0 --rwarwarwa      xhu      xhu
> m 393242          0 --rwarwarwa      xhu      xhu
> m 393243          0 --rwarwarwa      xhu      xhu
> m 393244          0 --rwarwarwa      xhu      xhu
> m 458781          0 --rwarwarwa      xhu      xhu
> m 4980766          0 --rwarwarwa      xhu      xhu
> m 2752543          0 --rwarwarwa      xhu      xhu
> 
> Semaphores:
> T     ID     KEY        MODE       OWNER    GROUP
> 
> I used ipcs -m xxxxx, I get this:
> 
> ipcrm: shmid(2752543): : Invalid argument
> $
> ipcs -M
> shminfo:
> 	shmmax: 4194304	(max shared memory segment size)
> 	shmmin:       1	(min shared memory segment size)
> 	shmmni:      96	(max number of shared memory identifiers)
> 	shmseg:      64	(max shared memory segments per process)
> 	shmall:    1024	(max amount of shared memory in pages)
> Even i reboot the system, the shared memory still not go away.
> 
[Xiuping Hu]  Any body get idea how to remove these shared memory? 

Please reply to me as I did not subscribe the mailing list.

> Thanks for help.
> 
> Xiuping


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




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