看板 FB_bugs 關於我們 聯絡資訊
>Number: 136226 >Category: kern >Synopsis: ipcs -bp doesn't display the shm segsz if it is bigger than 2GB >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 01 17:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: durga velagapudi >Release: FreeBSD 7.2-RELEASE #0 >Organization: adara networks >Environment: FreeBSD host64-1 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The process allocates shared memory of size 9GB When ipcs -bp is executed from command line Shared Memory: T ID KEY MODE OWNER GROUP SEGSZ CPID LPID m 65541 1296 --rw-rw---- root wheel 0 1590 1576 The SEGSZ is 9GB allocated but it is shown as 0 >How-To-Repeat: run a process which requestes shmget() api requesting 9GB. also set the sysctl.shmmax to 10GB >Fix: got to change the struct shmid_kernel struct member seg_sz to type size_t or unsigned long. >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"