Is there a way to limit resources to a PHP script (cpu, memory, etc)
Posted
by gAMBOOKa
on Stack Overflow
See other posts from Stack Overflow
or by gAMBOOKa
Published on 2010-05-10T12:39:33Z
Indexed on
2010/05/10
12:44 UTC
Read the original article
Hit count: 137
I need to run a background PHP script on the server, but it clogs the pipe and chokes and server. How do I limit its resources and allow other tasks to run smoothly along with it.
Will incorporating usleep into the script help?
© Stack Overflow or respective owner