I'm currently trying to implement PHPCrawl into a simple symfony2 project. Everything seems to work fine but after a few requests (16), the browser sends me an error : ERR_CONNECTION_RESET. It happens every time I try, with every browsers.
I'm on windows with a wamp local environment.
I've tried setting setStreamTimeout(5) and setConnectionTimeout(10) without success. Also, in my php.ini, max_execution_time(120), memory_limit(256) and max_input_time(120) seem fine.
If I set the request limit to 16 for example, everything works fine. More requests, it crashes...
I have no idea how to solve that...
Last edit: Anonymous 2015-03-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My brother ran the script without browser reset errors in Ubuntu. So my symfony code is correct. The problem comes from my configuration...maybe some settings in my WAMP 2.5 ? I already checked everything...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PROBLEM SOLVED !
WAMP 2.5 fresh install didn't change a thing. But while checking the Apache error logs and searching on the web I finally stumbled on that :
Parent: child process exited with status 3221225725 — Restarting on XAMP apache
This problem often happens on Windows platform because of smaller Apache’s default stack size. And it usually happens when working with php code that allocates a lot of stacks.
To solve this issue, add the following at the end of apache config file, httpd.conf
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Hi everyone,
I'm currently trying to implement PHPCrawl into a simple symfony2 project. Everything seems to work fine but after a few requests (16), the browser sends me an error : ERR_CONNECTION_RESET. It happens every time I try, with every browsers.
I'm on windows with a wamp local environment.
I've tried setting setStreamTimeout(5) and setConnectionTimeout(10) without success. Also, in my php.ini, max_execution_time(120), memory_limit(256) and max_input_time(120) seem fine.
If I set the request limit to 16 for example, everything works fine. More requests, it crashes...
I have no idea how to solve that...
Last edit: Anonymous 2015-03-16
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
http://sourceforge.net/p/phpcrawl/discussion/307696/thread/e107e2dc/
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Thanks I've seen that thread before, but I'm not sure how it can help me..
My settings :
In that case the request limit is 20, and the browser returns a connection reset error...At 16 it works...I can't figure out what's wrong
Last edit: Anonymous 2015-03-16
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Every limit in apache and php have been checked and adjusted...(php.ini or httpd.conf)
I'm totally stuck right now...any hint or idea appreciated...
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
My brother ran the script without browser reset errors in Ubuntu. So my symfony code is correct. The problem comes from my configuration...maybe some settings in my WAMP 2.5 ? I already checked everything...
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Update : it's working fine on another machine using WAMP 2.4...I'll try a WAMP 2.5 re-install on the other one...
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
PROBLEM SOLVED !
WAMP 2.5 fresh install didn't change a thing. But while checking the Apache error logs and searching on the web I finally stumbled on that :
Parent: child process exited with status 3221225725 — Restarting on XAMP apache
This problem often happens on Windows platform because of smaller Apache’s default stack size. And it usually happens when working with php code that allocates a lot of stacks.
To solve this issue, add the following at the end of apache config file, httpd.conf
<IfModule mpm_winnt_module="">
ThreadStackSize 8888888
</IfModule>
AND restart apache.
And it works ! That bug almost killed me ^^