CPU Usage handling, possible?
We got a PHP homepage right now.
One application we got is also in php and we use:
linux#> php /var/www/html/web/calculating.php
to do a calculation with queries in the MySQL Database.
The problem now is that, as soon as we start the calculation the CPU Usage goes up to 100% for about 10 Minutes and the Webrequests of Users is very slow.
Is there a way to tell calculating.php to just less CPU?
PS: Please don't give me the answer I should write calculating.php in Perl.
I know it is not a nice way, but the application has been used and is to big/complicated to migrate.