|
Home > Archive > Apache Server configuration support > May 2007 > Limit resource usage per vhost
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Limit resource usage per vhost
|
|
| Davide P. 2007-05-04, 7:19 am |
| Hi all!
We have a problem on one of our webserver, one vhost hog all resources
spawning many httpd processes that raise the load average to 10 and
more!! So I'm looking for a solution, can someone suggest the right way ?
Thanks.
Regards, Davide.
| |
| Jim Hayter 2007-05-04, 7:19 pm |
| Davide P. wrote:
> Hi all!
>
> We have a problem on one of our webserver, one vhost hog all resources
> spawning many httpd processes that raise the load average to 10 and
> more!! So I'm looking for a solution, can someone suggest the right way ?
You don't mention what version of apache you are running. FWIW, I'm
having similar problems and am currently looking at mod_bandwidth for
Apache 1 and mod_cband for Apache 2. I'm still doing some testing so I
can't make a recommendation at this time.
Jim
| |
| shimmyshack 2007-05-08, 1:20 pm |
| On May 4, 7:29 pm, Jim Hayter <see.reply...@nowhere.invalid> wrote:
> Davide P. wrote:
>
>
> You don't mention what version of apache you are running. FWIW, I'm
> having similar problems and am currently looking at mod_bandwidth for
> Apache 1 and mod_cband for Apache 2. I'm still doing some testing so I
> can't make a recommendation at this time.
>
> Jim
can you not use
RLimitCPU
RLimitMEM
RLimitNPROC
to set hard limits for the vhost thats causing the trouble?
| |
| Jim Hayter 2007-05-09, 7:20 pm |
| shimmyshack wrote:
> On May 4, 7:29 pm, Jim Hayter <see.reply...@nowhere.invalid> wrote:
>
> can you not use
> RLimitCPU
> RLimitMEM
> RLimitNPROC
> to set hard limits for the vhost thats causing the trouble?
>
I don't think those would work for me. They apply to processes forked
off from the apache child processes. Most of my sites are using
mod_perl and the request is handled within the apache child process.
Jim
|
|
|
|
|