Hello,
We have a user that runs a PHP script via cron every 6 hours. It seems to be loading the server quite a bit, and Im not sure if Cloud Linux is "catching" it or not in the users LVE.
Here is the code in their PHP script:
---------------
system(for i in images/*; do mv $i public_html/search/images/; done);
---------------
So this basically spawns a command shell process (running under the users ID) which runs for 2 hours.
Will this sh command be included in the users LVE? (ie: We have set the LVE default to 100% CPU and 1 processor... so I want to make sure this command will never use more then that limit.
Thanks.
We have a user that runs a PHP script via cron every 6 hours. It seems to be loading the server quite a bit, and Im not sure if Cloud Linux is "catching" it or not in the users LVE.
Here is the code in their PHP script:
---------------
system(for i in images/*; do mv $i public_html/search/images/; done);
---------------
So this basically spawns a command shell process (running under the users ID) which runs for 2 hours.
Will this sh command be included in the users LVE? (ie: We have set the LVE default to 100% CPU and 1 processor... so I want to make sure this command will never use more then that limit.
Thanks.
Comment