Answer the question
In order to leave comments, you need to log in
Increase the number of simultaneously running php + mysql scripts?
There is a script that performs certain actions for a long time and writes intermediate results to the database in order to speed up this process, I tried to run several versions of the script in different browsers / tabs, but only 6 "copies" can work at the same time, when more are launched, they wait for completion one of the 6.
The question is, how can you run more than 6 "copies"?
Answer the question
In order to leave comments, you need to log in
The problem was in the browser, in chrome I did not find how to disable it, and in firefox there is an item: network.http.max-persistent-connections-per-server which is 6 by default.
I'm not sure if it's all about php or muscle - more like setting up a web server.
But it seems to me that you either chose the wrong tool for your task, or incorrectly designed the architecture of the solution.
Read about the nohup command and how to run it. This will be the solution to your problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question