Re: 2 problems with shutdown
| From: | Thies C. Arntzen | Date: | Fri, 29 Jun 2001 12:30:27 +0000 |
| Subject: | Re: 2 problems with shutdown | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-58395@lists.php.net to get a copy of this message | ||
On Fri, Jun 29, 2001 at 03:23:03PM +0300, Zeev Suraski wrote:
> At 15:18 29/6/2001, Thies C. Arntzen wrote:
> > agreed - but we should do it, right?
>
> Yup :)
>
> > in the error_log - and sometimes it'll even SEGFAULT.
> >
> > is this good?
>
> Is this a trick question? :) Of course it's bad. Perhaps we should
> revert to only freeing registered resources on a child_exit
> (module_shutdown, I guess). We can live without actually freeing malloc'd
> memory, as indeed, it will be auto-freed upon exit anyway.
sorry for bashing this;-) i'm sure i'll be able to crash it
using any 3th party module. because the restart signal can
"hit" us any time.
does anybody know how other apache-modules handle this
situation?
tc