Hi, I need to allow 1 user to use all server resources.
To be more specific, one PHP script must be able to run at full speed and consume all server resources.
My current limitations seems to be MySQL because if I run one instance of script MySQL reports approx 13k queries/second, with a CPU usage of 1%, 4GB of RAM
while if I run 20 simultaneous instances MySQL reports aprox 400k - 700k queries/second, with a CPU usage of 70%, 40GB of RAM.
There is no bottleneck, I have been watching performance for almost 2 months.
Server setup is Cloudlinux + Cpanel + Litespeed, and I already used this command:
Checked and LVE limits correctly set to "unlimited".
The PHP script is not designed to run more than one instance and is giving me lots of troubles.
Greatly appreciate any help in advance.
To be more specific, one PHP script must be able to run at full speed and consume all server resources.
My current limitations seems to be MySQL because if I run one instance of script MySQL reports approx 13k queries/second, with a CPU usage of 1%, 4GB of RAM
while if I run 20 simultaneous instances MySQL reports aprox 400k - 700k queries/second, with a CPU usage of 70%, 40GB of RAM.
There is no bottleneck, I have been watching performance for almost 2 months.
Server setup is Cloudlinux + Cpanel + Litespeed, and I already used this command:
Code:
lvectl set-user user --unlimited
The PHP script is not designed to run more than one instance and is giving me lots of troubles.
Greatly appreciate any help in advance.
Comment