Anyone have any ideas or insight on these bug reports: #15529 ap_cleanup_for_exec not used when creating #16548 exec or system a daemon will catch the port for this session #15642 system() with background execution hangs due to bogus filehandles open
It appears that the problem is due to this bit of code in main/main.c void php_request_shutdown_for_exec(void *dummy) { TSRMLS_FETCH(); /* used to close fd's in the 3..255 range here, but it's problematic */ shutdown_memory_manager(1, 1 TSRMLS_CC); } The comment says that closing those fd's is problematic but doesn't say why - and those PRs appear to need those fd's to be closed in order to be resolved. I've tried looking through the CVS log for main/main.c but didn't have much luck; is this something of a hangover from PHP 3 days or did I just miss the relevant commit? --Wez. -- Wez Furlong The Brain Room Ltd. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php