A
A
Andrew2015-12-13 18:53:51
PHP
Andrew, 2015-12-13 18:53:51

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

3 answer(s)
A
Andrew, 2015-12-14
@15megatonn

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.

A
Antiless, 2015-12-13
@Antiless

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.

A
Anton Shcherbakov, 2015-12-13
@WestTrade

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 question

Ask a Question

731 491 924 answers to any question