Nice

Discussion in 'General' started by PoleCat, Jun 25, 2007.

  1. PoleCat

    PoleCat New Member

    Heya

    This is more a general question about apache and virtual directives. Though an answer in the context of ISPC will be beneficial.

    I have a client that is using more CPU resources than I would like them to use. Mainly due to ugly CGI code that sucks up resources. Is there a way to limit/renice this specific _site_ to a lower priority without renicing the whole apache process?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What kind of CGI scripts are you talking about? perl scripts or php scripts that run currently through mod_php or suphp?
     
  3. PoleCat

    PoleCat New Member

    perl scripts.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The only idea that I have if you try to replace the perl interpreter with a bash script that runs perl via the nice command.
     

Share This Page