locked
Can I set a cpu limit for a website with FastCGI Extension for IIS6.0 and IIS5.1 - Go Live on IIS6 RRS feed

  • Question

  • User1378369202 posted

    Now when I set the cpu limit for a website using php on IIS6.0,I will get a error which say should not set cpu limit.

     

    Thursday, October 11, 2007 11:40 PM

Answers

  • User-679828332 posted

    Hi chinayx,

    We use a JobObject to tie FastCGI processes to IIS. This prevents them (or their children) from establishing lives outside that of the worker process'. When the worker process disappears, so do all the FastCGI processes.

    The CPULimit feature also uses a JobObject.

    Unfortunately a process can only belong to one JobObject, making FastCGI and the CPULimit features mutually exclusive.

    Cheerz,

    Rick.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, October 12, 2007 1:20 AM

All replies

  • User-679828332 posted

    Hi chinayx,

    We use a JobObject to tie FastCGI processes to IIS. This prevents them (or their children) from establishing lives outside that of the worker process'. When the worker process disappears, so do all the FastCGI processes.

    The CPULimit feature also uses a JobObject.

    Unfortunately a process can only belong to one JobObject, making FastCGI and the CPULimit features mutually exclusive.

    Cheerz,

    Rick.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, October 12, 2007 1:20 AM
  • User1378369202 posted

    thank you for your answer.

    and I have another question.

    How can I set a website's resouce limit.Because there are some website on my server.

    Can I do this with fcgiext.ini? 

    Friday, October 12, 2007 1:37 AM
  • User-679828332 posted

    which resource are you trying to limit?

    Friday, October 12, 2007 11:19 AM
  • User1378369202 posted

    cpu usage and connections in a special time

    Friday, October 12, 2007 12:37 PM
  • User-679828332 posted

     Hi chinayx,

    CPU Limit and FastCGI features are mutually exclusive. This is not the end of the world, cause they can be configured for an application pool. Each application (e.g. /blog and /forums) can be served by different application pools. So you can continue to limit the cpu for non-FastCGI applications.

    The connection limits settings do not use a JobObject, and therefore don't have a bad interaction with FastCGI and should continue to work.

    Thanks,

    Rick.

    Friday, October 12, 2007 3:39 PM