apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: apr_shm_attach() and APR_EEXIST
Date Thu, 27 May 2004 00:23:02 GMT
On Wed, 26 May 2004, Joe Orton wrote:

> 0. server reboots after power loss
> 1. start httpd: open(O_CREAT) => EEXIST
> 2. admin scratches head, removes file
> 3. start httpd: open(O_CREAT) => ok! shmget(IPC_CREAT) => EEXIST
> 4. admin scratches head, searches bugzilla, learns how to use ipcs/ipcrm
> 5. start httpd: open(O_CREAT) => EXIST
> 6. admin goes crazy

Hehe, that rings a bell ...

Proper hacky admin fixes it by renaming scoreboard file in httpd.conf ...

-- 
Nick Kew

Nick's manifesto: http://www.htmlhelp.com/~nick/

Mime
View raw message