Re: Shared Memory in PHP
| From: | Stanislav Malyshev | Date: | Fri, 11 Aug 2000 14:38:05 +0000 |
| Subject: | Re: Shared Memory in PHP | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-28615@lists.php.net to get a copy of this message | ||
RS>> I was wondering as to what is the maximum shared
RS>> memory that can be attached usin shm_attach in
RS>> php.
That depends on your system limits. Usually ipcs man page gives you a way
to see those limits. Parameters are SHMMAX, SHMMNI and some others,
defining max size of segment, max number of segments per process and
system wide, etc.
RS>> Also, how does one access the shared memory segments created by
RS>> another C module in php. Basically, i want a custom apache
I think you should do shmat by key.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665 ext.106