Re: Shared memory in extensions
| From: | Thomas Wentzel | Date: | Mon, 02 Apr 2001 12:02:50 +0000 |
| Subject: | Re: Shared memory in extensions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-50569@lists.php.net to get a copy of this message | ||
Hehe - sorry :)
Errno is set to 43 (Identifier removed (?))
The URL is:
http://www.humanfactor.com/cgi-bin/cgi-delegate/apache-ML/nh/1999/Jan/0467.html
- enjoy ;)
Thomas
Gavin Sherry wrote:
>
> Thomas,
>
> When shmget() fails, it sets errno. It would be useful if you could
> provide this information (see shmget(2)).
>
> Also, do you have a URL got SHM across HTTP patch? This sounds like fun =)
>
> Gavin
>
> On Mon, 2 Apr 2001, Thomas Wentzel wrote:
>
> > shmid=shmget((key_t)5346,sizeof(dbinfo),0666|IPC_CREAT);
> > which returns -1
> >
> > I just found something about a patch to apache, that should enable
> > som shared memory pools across http session! Is this something I
> > should use? It was a rather old patch (for apache 1.3.4/5)...
> >
> > Thanx
> > Thomas
> >
> > Alexander Feldman wrote:
> > >
> > > On Mon, 2 Apr 2001, Thomas Wentzel wrote:
> > >
> > > > Linux!
> > > >
> > > > RedHat 6.2, Apache 1.3.14, PHP 4.0.4pl1
> > > >
> > > > I forgot to mention that because shmget fails and that it does so in
> > > > PHP_MINIT_FUNCTION, apache wil not start!
> > >
> > > With what parameters are you calling shmget? What is the errno after this
> > > call?
> > >
> >
> >
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net