httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: FreeBSD core'ing.
Date Tue, 21 Mar 2000 00:56:39 GMT

> > apr_pools.c has no mechanism to free those when the last pool
> > goes away.  Even when we *try* to free the sems, lock_cleanup()
> > doesn't free them unless the lock is held when it is called.
> > It needs to free it whenever there is a valid lock descriptor.
> > 
> We should do basically how I implemented SysV shared mem support and
> as soon as we create the semaphore, do a quick IPC_RMID on it. As
> long as there are processes using it, it'll stay around. When
> Apache dies, no more processes will referencing it and it'll
> be removed/recovered.

I copied the locking code from 1.3, so it should be there.  If it isn't,
then that is because I was overzealous in deleting.  :-)


Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message