> Subject: Re: [CentOS] how to check the number of thread on apache
>       server
> To: CentOS mailing list<centos@centos.org>
> Message-ID:
>       <aanlkti=5hqoow3t2qgd9-hlh6xnc+f8ozthc5hpxn...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Fri, Aug 20, 2010 at 7:02 PM, Kwan Lowe<kwan.l...@gmail.com>  wrote:
>    
>> On Fri, Aug 20, 2010 at 1:57 PM, Agnello George
>> <agnello.dso...@gmail.com>  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@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to