Results 1 to 4 of 4

Thread: How is soap_ms_avg in mailboxd.csv calculated?

  1. #1
    apuschak is offline Starter Member
    Join Date
    Mar 2011
    Posts
    2
    Rep Power
    4

    Default How is soap_ms_avg in mailboxd.csv calculated?

    Our director wants to know why our Mailboxd: Response Time by Client Protocol average is so much higher on our master server than our other servers.

    Looking at the soap.csv times and the values in mailboxd.csv, I cannot figure out how this average is calculated, or why it is so much higher than the actual soap requests.

    I've looked through the code for zmlogger and all the zmstats-*. I tried to fuser and lsof mailboxd.csv but I can't find what process is writting to this every minute:

    while [ 1 ]
    > do
    > fuser mailboxd.csv
    > sleep 1
    > done
    Cannot stat file /proc/21095/fd/1101: No such file or directory

    Values in mailboxd.csv:
    soap_count Number of SOAP requests received
    soap_ms_avg Average processing time (ms) of SOAP requests

    Could anyone point me to the code that calculates this average or where it is getting the times to calculate the average? I know that users are not seeing the 4,000millisecond average the charts are reporting, but I need to prove it.

    Thanks!
    Andrew

  2. #2
    John Siu is offline Loyal Member
    Join Date
    Feb 2011
    Posts
    82
    Rep Power
    4

    Default

    My guess is mailboxd.csv is written by the mailboxd periodically.

  3. #3
    apuschak is offline Starter Member
    Join Date
    Mar 2011
    Posts
    2
    Rep Power
    4

    Default

    Thanks John,

    I don't know enough about mailboxd to figure this out though. It is running in Jetty? I'm not sure where to look for the code or configuration that writes to mailboxd.csv.
    Andrew

  4. #4
    John Siu is offline Loyal Member
    Join Date
    Feb 2011
    Posts
    82
    Rep Power
    4

    Default

    Yes, mailboxd is running in jetty.

    I did a short monitoring with mailboxd.csv file. Either mailboxd (my guess) or something is writing to it every minute.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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