Re: [PHP4BETA] shm_remove() doesn´t work
| From: | teo at teo dot digiro dot net | Date: | Fri, 14 Apr 2000 08:13:23 +0000 |
| Subject: | Re: [PHP4BETA] shm_remove() doesn´t work | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13549@lists.php.net to get a copy of this message | ||
Hi "Gustafson,!
On Fri, 14 Apr 2000, "Gustafson, Mårten" wrote:
> Hi.
>
> Could anyone tell me why I get:
> Warning: 2 is not a existing SysV shared memory key in class.shm.inc on line
> 108
>
> when I´m doing:
>
> $this->shared_mem = shm_attach($this->shm_id, $this->shm_size, 0600);
> shm_remove($this->shared_mem);
a wild guess would be:
shm_remove ($this->shm_id);
also use `ipcs' to see if you really have something to remove.
bye
-- teodor