Re: curl_exec won't return (any data)

From: Date: Tue, 08 Feb 2011 14:21:51 +0000
Subject: Re: curl_exec won't return (any data)
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-311205@lists.php.net to get a copy of this message
ok, i've done another run, this time with both php_daemon_script and php_script allowed to run indefinitely, and i've triple-checked my results.. - all the calls to convert and import the +-2gb video file in php_script (the import-worker-script) complete just fine, they update a debug file on the server with correct results. from there it's just a few simple steps back to curl_exec(), which i've tripple-checked to be followed correctly, with more print-to-seperate-debug-file statements. - the call to curl_exec() in launched by php_daemon_script never completes. i've added a print-to-debug-file statement right after curl_exec() there, and it does NOT update that debug file. previous experience shows that this is true for curl_setopt (CURLOPT_RETURNTRANSFER,1) aswell as ob_start();curl_exec(blah);file_put_contents("/path/to/debug-file-N.txt",ob_get_clean()). - the php_daemon_script continues to run in my debug window (i now launch windows.bat manually), it does not crash/end, it freezes. and from experience i can tell you that it will stay frozen for several hours, not doing anything anymore. i've run out of ideas :(

« previous php.general (#311205) next »