httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject shmcb on linux
Date Tue, 30 Apr 2002 03:43:26 GMT

I can't get shmcb to work on linux.  It fails to startup with an error
from apr_shm_create() saying "File exists", even if I delete the file
before starting the server.  So I was digging into the shm code to figure
out WTF was going on, and I noticed that I actually have TWO shmem types
listed as APR_USE_.  Is that right??  I thought it was one and only one.


#define APR_HAVE_SHMEM_MMAP_TMP     1
#define APR_HAVE_SHMEM_MMAP_SHM     0
#define APR_HAVE_SHMEM_MMAP_ZERO    1
#define APR_HAVE_SHMEM_SHMGET_ANON  1
#define APR_HAVE_SHMEM_SHMGET       1
#define APR_HAVE_SHMEM_MMAP_ANON    1
#define APR_HAVE_SHMEM_BEOS         0

#define APR_USE_SHMEM_MMAP_TMP     0
#define APR_USE_SHMEM_MMAP_SHM     0
#define APR_USE_SHMEM_MMAP_ZERO    0
#define APR_USE_SHMEM_SHMGET_ANON  0
#define APR_USE_SHMEM_SHMGET       1
#define APR_USE_SHMEM_MMAP_ANON    1
#define APR_USE_SHMEM_BEOS         0

Also, by the way, ssl_die() [at least with the worker MPM, haven't tried
others] causes Apache to go into a wacky state, leaving one process lying
around in a sleep state that never goes away.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message