'What is the setting in PHP that enables the connection limit?
I am setting up a website. I have PHP code that will run for long periods of time. When the code runs, it takes 1-2 hours to finish the process.
This script works great up to 6, and interestingly the 7th link is "pending" until the previous one is finished.
CPU & Ram and Disk stable.
I tried the following;
Change PHP limits:
pm = dynamic
pm.max_children = 200
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 200
Change Apache Limits (I wrote these numbers very high on purpose, but it didn't work.):
FcgidConnectTimeout 5
FcgidMaxProcesses 1000000
FcgidMaxProcessesPerClass 1000000
FcgidMaxRequestInMem 65536000000
FcgidMaxRequestLen 13107200000
PHP Version: 7.2
In chrome console this php showing "pending", apache error log and journal error log is empty, just white screen and wait until the other is finished. What else should I try?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
