Re: how to check the number of thread on apache server

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



> Subject: Re:  how to check the number of thread on apache
> 	server
> To: CentOS mailing list<centos@xxxxxxxxxx>
> Message-ID:
> 	<AANLkTi=5hQOOw3t2qgD9-HLH6XNC+F8OZtHc5HPxNsLS@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Fri, Aug 20, 2010 at 7:02 PM, Kwan Lowe<kwan.lowe@xxxxxxxxx>  wrote:
>    
>> On Fri, Aug 20, 2010 at 1:57 PM, Agnello George
>> <agnello.dsouza@xxxxxxxxx>  wrote:
>>      
>>> how to check the number of thread? on my ? Apache server? ,? is there a
>>> specific command , and how do i increase these threads ..
>>>
>>>        
> If you are talking about worker threads. Turn on server-status in the
> httpd.conf (make sure security is set correctly),  and check
> http://serverip/server-status.
>    
Slightly OT ....  FWIW ....

One quick-and-dirty way to check threads for any process is to use the 
ncurses-based 'htop' utility.  I much prefer this to 'top' for several 
reasons, including its ability to hide/display kernel threads, 
hide/display user threads (in a different color if you like), display 
with vertical and horizontal scrolling, assign processor affinity on the 
fly, ptrace/strace processes, and a lot more.

It's in Dag Wieers' rpmforge repository for CentOS.

The suggestions offered in this discussion are all very useful with 
regard to tuning Apache.

Chuck

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux