Knowledgebase
Core spilling
Posted by Jamie Edwards, 07-12-2007, 02:08 PM | A common problem in shared hosting environments is where a user uses a malfunctioning script of some sort and it runs wild. Say this is a PHP script, so in this case it is one Apache thread by my understanding.
Am I correct in assuming that this one thread will only be able to abuse just one core, because the errant script is one thread, thus leaving the other cores of the server untouched?
What other ways and means are you currently practising to ensure resources aren't swallowed by an user-gone-wild in a shared environment?
Thanks,
|
Posted by Patrick, 07-12-2007, 09:34 PM | Speaking from experience, when a client's PHP script gets out of control, it usually ends up spawning numerous processes that will use both cores or processors.
I have some crude shell scripts that I use to make sure PHP scripts don't "get out of control" and bring the server down... but they are way too crude for me to post!
|
|
Add to Favourites
Print this Article |
Also Read