Re: Help me in setting up MaxClients

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eric,

  I don't know why you didn't got the my previous post on which I asked for help. Anyways, here it is again: I need help in making calculation based on memory statistics which I provided.


On 1/26/10, Vikrama Sanjeeva <viki.sanjeeva@xxxxxxxxx> wrote:
> Hi Jeff,
>
>     Below is statistics from vmstat while everything is running including
> httpd:
>
>>> vmstat 2 3
>  kthr      memory            page            disk          faults      cpu
>  r b w   swap  free  re  mf pi po fr de sr rm s0 s1 s3   in   sy   cs us sy
> id
>  0 0 0 32953272 20946824 11 22 0 3 3  0  0 -0  0  1 -0  872 1041  601  0  0
> 100
>  0 0 0 23225344 11281392 51 104 0 0 0 0  0  0  0  3  0 1024 1767  684  0  0
> 100
>  0 0 0 23224768 11280792 1 4 0  0  0  0  0  0  0  0  0  892 1080  473  0  0
> 100
>
> So with this, I have:
> Free Swap: 22  GB
> Free RAM: 10 GB
>
> Here I am doing a defensive supposition by assuming 5/10 GB of Free RAM
> "could be" occupied by future applications (if any). So, I am left with 5
> GB
> of Free Memory. Same for Free Swap, assuming I am left with 5 GB Free Swap
>
> Putting values in MaxClient Formula:
>
> MaxClient = (RAM Size - some room for other processes) / Avg
> HTTPD Process Size
>
> MaxClient = (32768 - 27648) / 12 = 426 (approx)
>
>   Does it mean, I can set MaxClient value to 426 ? If yes, then:
>
> (i) I have to make sure ServerLimit is also = 426  [As per your
> presentation
> for MPM prefork] ?
> (ii) Make sure backend server node (tomcat AJP port) can accept 426
> concurrent requests ?
>
> Bye,
> Viki.

Bye,
Viki.

On Sat, Jan 30, 2010 at 3:38 AM, Eric Covener <covener@xxxxxxxxx> wrote:
On Fri, Jan 29, 2010 at 6:42 PM, Vikrama Sanjeeva
> Hi,
>
>  Can somebody help me with this ?

With what? You posted at the top of a giant thread with no context.

--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux