Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Apr 2003
    Location
    Lisbon - Portugal
    Posts
    120
    cPanel/Enkompass Access Level

    Root Administrator

    Default Limiting a user usage

    Hi

    I have a user that eats all the resources in the machine (CPU and MySQL), because he has lots of access to his website. Is there any way to control the usage of httpd to is website, witouth having to use Virtuozzo?

    Thank you

  2. #2
    Member bamasbest's Avatar
    Join Date
    Jan 2004
    Posts
    531

    Default

    mod_throttle may be just what you are looking for.

    http://www.snert.com/Software/mod_throttle/

  3. #3
    Member
    Join Date
    Apr 2003
    Location
    Lisbon - Portugal
    Posts
    120
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Great, thanks a lot

    Also, I have seen that some companies have Cpanel VPS. Does anyone now where can I get it?

  4. #4
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default

    Refer following in Apache Docs:

    RLimitCPU Directive
    RLimitMEM Directive
    RLimitNPROC Directive

    In case you have php running as nobody or cgi as nobody (mod_perl) RLimitNPROC could lead you to a condition where you start seeing "cannot fork" messages in the error_log.

    Anup
    Last edited by anup123; 10-29-2005 at 09:23 AM.

  5. #5
    Member
    Join Date
    Apr 2003
    Location
    Lisbon - Portugal
    Posts
    120
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    anup, those options are for limited the Apache in a general way, not for a single user, right? I need to limit just one

  6. #6
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default

    Context: server config, virtual host
    So it can be used server wide and/or within virtual host container.

    Just as i said, no mod_perl, no php as apache module because in both cases cgi and php are running as nobody and this would / could result in what's mentioned earlier.

    Cheers
    Anup

  7. #7
    Member
    Join Date
    Apr 2003
    Location
    Lisbon - Portugal
    Posts
    120
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Thankl you all for your reply. We choosed to go with the QoS

Similar Threads & Tags
Similar threads

  1. Limiting CPU usage for cpbackup
    By xuser in forum Data Protection
    Replies: 2
    Last Post: 06-11-2008, 06:58 AM
  2. Limiting Squirrelmail bcc usage can stop spammers
    By mohit in forum E-mail Discussions
    Replies: 0
    Last Post: 12-03-2007, 11:31 AM
  3. Limiting user mails user nobody can send per hour?
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-14-2006, 12:28 AM
  4. Limiting auto-whitelist disk usage (AWL) in SpamAssassin
    By pubwvj in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-02-2005, 10:57 AM
  5. APF limiting our IP usage too much. How to unlimit our IP.
    By ryno267 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-17-2004, 06:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube