[PHP-DEV] PHP hangning on futex wait

2010-04-11 Thread Frederik Banke
Hi I have a problem with my php, once in a while an apache process will hang. In apache's /server-status it looks like: *11-1*111941/3/588*W* 0.20213490179.30.2227.03 xxx.xxx.xxx.xxx localhostGET xxx.php?xxx=xxxAs you can see from this line the process has been working for 21349sec and the status

Re: [PHP-DEV] Performance improvements

2010-04-11 Thread Lukas Kahwe Smith
On 25.03.2010, at 18:07, Zeev Suraski wrote: At 18:51 25/03/2010, Sebastian Bergmann wrote: Zeev Suraski wrote: What does it contain? It looks to me as if the patch would also reduce the memory footprint: That makes perfect sense... Thanks for sharing the results! So where do we

Re: [PHP-DEV] Performance improvements

2010-04-11 Thread Sebastian Bergmann
Am 11.04.2010 16:21, schrieb Lukas Kahwe Smith: So where do we stand here? I was wondering the same. -- Sebastian BergmannCo-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/ -- PHP Internals - PHP Runtime

Re: [PHP-DEV] PHP hangning on futex wait

2010-04-11 Thread Ferenc Kovacs
On Sun, Apr 11, 2010 at 3:43 PM, Frederik Banke frede...@tigermedia.dkwrote: Hi I have a problem with my php, once in a while an apache process will hang. In apache's /server-status it looks like: *11-1*111941/3/588*W* 0.20213490179.30.2227.03 xxx.xxx.xxx.xxx localhostGET xxx.php?xxx=xxxAs

[PHP-DEV] Making reading files from remote URL's more secure

2010-04-11 Thread Keith Roberts
Hi all. I've been reading about the security implications of turning allow_url_fopen 'on' for certain PHP applications that need to read files from a remote URL. To recap, please read this old article about Remote file inclusion vulnerabilities: http://lwn.net/Articles/203904/ I'm just

Re: [PHP-DEV] Making reading files from remote URL's more secure

2010-04-11 Thread Ferenc Kovacs
On Sun, Apr 11, 2010 at 6:23 PM, Keith Roberts ke...@karsites.net wrote: Hi all. I've been reading about the security implications of turning allow_url_fopen 'on' for certain PHP applications that need to read files from a remote URL. To recap, please read this old article about Remote

Re: [PHP-DEV] Making reading files from remote URL's more secure

2010-04-11 Thread Ferenc Kovacs
On Sun, Apr 11, 2010 at 6:23 PM, Keith Roberts ke...@karsites.net wrote: Hi all. I've been reading about the security implications of turning allow_url_fopen 'on' for certain PHP applications that need to read files from a remote URL. To recap, please read this old article about Remote

[PHP-DEV] Dev process confusion?

2010-04-11 Thread Rasmus Lerdorf
A few people, well ok, Lukas mainly, seem to be confused about our current process, or lack of it. I think it is pretty simple, and it is what we used for years. We commit all new code to trunk. Bug fixes should obviously be committed to any active branches they apply to as well. When we have

Re: [PHP-DEV] php and multithreading (additional arguments)

2010-04-11 Thread speedy
Hello Moriyoshi, Monday, April 5, 2010, 5:57:38 PM, you wrote: While it is based on shared-nothing approach, some kinds of resources are shared across threads besides classes and functions that would have already been defined before the thread creation. Maybe it would not be so hard