Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: PHP - only seems to run one instance?

$
0
0
So i just created a logging script that can log all my request to php files, images, everything.

I just ran a few loads and got the server to fail a few times. Here is a start and end time for a single page load, but for 4 files being loaded

2015-03-23 21:05:24 - Start
0.011250019073486 - Run Time in Seconds
2015-03-23 21:05:24 - End

2015-03-23 21:05:24 - Start
0.0024559497833252 - Run Time in Seconds
2015-03-23 21:05:24 - End

2015-03-23 21:05:24 - Start
0.0021560192108154 - Run Time in Seconds
2015-03-23 21:05:24 - End


2015-03-23 21:05:24 - Start
0.0031940937042236 - Run Time in Seconds
2015-03-23 21:05:24 - End


The 4th file which finished executing and logged its time was reported as "ERR_CONNECTION_RESET" by the web browser (Chrome).
So PHP ran the file and executed it fine, but the server reset the connection? I had the same with some pages stating connection errors and that the server did not respond however the script logged the accesses perfectly (the database insert runs at the very bottom of the page) so im not sure what it may be

Regards,
Jamie

Viewing all articles
Browse latest Browse all 4759

Trending Articles