ERR_CONNECTION_RESET with PHP script

后端 未结 5 2045
悲哀的现实
悲哀的现实 2021-01-24 17:52

I have a PHP scripts that downloads and process some files. Sometimes the number of files is very large, so it takes some time.

But when there are a lot of files to proc

5条回答
  •  日久生厌
    2021-01-24 18:40

    ERR_CONNECTION_RESET usually means that the connection to the server has died without any responses to the client – not even some kind of HTTP 5xx error. This means that the entire PHP process has died without being able to shut down properly.

    This is usually not caused by something like an exceeded memory_limit, because that's something PHP would handle gracefully. This must be some sort of Segmentation Fault or similar. If you have access to error logs, check them. Otherwise, you might get support from your hosting company.

提交回复
热议问题