Results 1 to 7 of 7

Thread: Command to find number of running httpd threads

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    445
    Rep Power
    7

    Question Command to find number of running httpd threads

    Hi

    I want zimbra commands to get bellow mentioned values .

    1. The value assigned (Maximum) to zimbraHttpNumThreads
    2. number of http (jetty) running threads in Zimbra Server ?

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Have you even tried searching the Wiki ?

  3. #3
    Join Date
    Dec 2007
    Posts
    445
    Rep Power
    7

    Default

    Yes, I have gone through that document and itís having the commands to specify the zimbraHttpNumThreads value . But my requirement is to know current value of zimbraHttpNumThreads (The default value ) and the count of running threads..

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    su - zimbra
    zmprov gacf | grep Thread
    ... or if defined at server level
    zmprov gs {servername} | grep Thread

  5. #5
    Join Date
    Dec 2007
    Posts
    445
    Rep Power
    7

    Default

    Thanks a Lot .
    It's worked me. i need command to know current running thread also.

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    have you tried
    Code:
    ps aux | grep zimbra
    and look through the process list to see what is actually running ?

  7. #7
    Join Date
    May 2010
    Posts
    4
    Rep Power
    5

    Default

    Quote Originally Posted by uxbod View Post
    have you tried
    Code:
    ps aux | grep zimbra
    and look through the process list to see what is actually running ?
    Sorry to awaken an old thread, but you need other arguments to ps in order to see the number of threads. On Red Hat, ps -eLf is nice, and pstree will count the threads for you (maybe mixing threads and processes, but in this case that's fine).

    Hitting zimbraHttpNumThreads can be a problem, as there are no explicit errors in logs. Zimbra just stops replying to requests, and logs only mention "localhost failed to respond".

    I would have liked having the period's high-water mark of pool usage in the zmcharts. That seemingly simple measure would have saved me and my employer some ten hours accumulated downtime, a lot of snide remarks and ill will from users, and quite serious questions from management in the style "why did you choose this product if it's unstable".

    FWIW we started hitting 250 threads at about 4000 logged-in users, presumably all back from Christmas holidays catching up on their mail.

Similar Threads

  1. Replies: 4
    Last Post: 11-14-2007, 02:19 PM
  2. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 11:12 AM
  3. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 11:34 PM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Network edition - strange behavior
    By goetzi in forum Installation
    Replies: 6
    Last Post: 11-16-2005, 03:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •