#32220 [Asn]: [PATCH] thread_resources for thread not getting freed when apache kills thread

From: Date: Thu, 01 Dec 2005 14:51:43 +0000
Subject: #32220 [Asn]: [PATCH] thread_resources for thread not getting freed when apache kills thread
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89581@lists.php.net to get a copy of this message
 ID:               32220
 Updated by:       dmitry@php.net
 Reported By:      kameshj at fastmail dot fm
 Status:           Assigned
 Bug Type:         Apache2 related
 Operating System: *
 PHP Version:      5CVS, 4CVS (2005-03-25)
 Assigned To:      dmitry
 New Comment:

I confirm that PHP doesn't call ts_free_thread() if Web Server (except
IIS) kills some thread. As a result all thread resources are not freed
before server shutdown.

The proposed patch is invalid and even cannot be compiled on Linux.


Previous Comments:
------------------------------------------------------------------------

[2005-11-10 18:36:39] sniper@php.net

Yes, but did you check out the patch..?


------------------------------------------------------------------------

[2005-11-08 09:50:11] dmitry@php.net

I am not able to reproduce this. Seems like a mess in report. Apache2
worker MPM doesn't support StartThreads and MaxThreads directives.

------------------------------------------------------------------------

[2005-11-03 22:21:58] sniper@php.net

Dmitry, can you check this out?

------------------------------------------------------------------------

[2005-03-25 02:05:13] sniper@php.net

Zeev, here's another thread issue, can you take a look in the patch?


------------------------------------------------------------------------

[2005-03-25 02:04:47] sniper@php.net

Assuming this is not fixed in latest HEAD, PHP_5_0 or PHP_4_3 CVS
branches.


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/32220

-- 
Edit this bug report at http://bugs.php.net/?id=32220&edit=1


Thread (14 messages)

« previous php.bugs (#89581) next »