note 99235 added to function.shm-attach

From: Date: Thu, 05 Aug 2010 10:07:09 +0000
Subject: note 99235 added to function.shm-attach
Groups: php.notes 
Request: Send a blank email to php-notes+get-171387@lists.php.net to get a copy of this message
In my log I have found string "shm_attach(): failed for key 0x366f: No space left on device" But have not found any suggestion for this at php.net and at google. So question was how to make free memory used by shm_attach . At first to view (Linux) how many segments allocated, use :~# ipcs -mu then limits :~# ipcs -ml to remove segment use: :~# ipcrm -m [shmid] otherwise you can reboot server, or launch sh script based on commands above. To avoid troubles with "No space left on device" ALWAYS use shm_remove() & shm_detach() after call shm_attach(). ---- Server IP: 115.165.178.40 Probable Submitter: 178.95.121.221 (proxied: 178.95.121.221) ---- Manual Page -- http://www.php.net/manual/en/function.shm-attach.php Edit -- https://master.php.net/note/edit/99235 Del: integrated -- https://master.php.net/note/delete/99235/integrated Del: useless -- https://master.php.net/note/delete/99235/useless Del: bad code -- https://master.php.net/note/delete/99235/bad+code Del: spam -- https://master.php.net/note/delete/99235/spam Del: non-english -- https://master.php.net/note/delete/99235/non-english Del: in docs -- https://master.php.net/note/delete/99235/in+docs Del: other reasons-- https://master.php.net/note/delete/99235 Reject -- https://master.php.net/note/reject/99235 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#171387) next »