Re: [SOGo] Cyrus lag ?

2014-04-14 Thread Sven Schwedas
On 2014-04-14 15:15, Louis-Philippe wrote:
 Hi,
 
 We have a new server for Cyrus and we update from Debian Lenny to Debian
 Wheezy (on a Xen VM). I know that it's not a SOGo problem but it affects
 SOGo.
 
 We noticed with Nagios a lag on authentication on Cyrus (with LDAP).
 
 /usr/lib/nagios/plugins/check_imap -p 993 -H 10.10.XXX.XXX -S
 IMAP OK - *5.078 second response time on port 993* [* OK [CAPABILITY
 IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN SASL-IR] server
 ready]|time=5.078493s;;;0.00;10.00
 
 If we make a new test immediately after (within 4-5 seconds),  we have a
 0,04 second response time.

Do you have the delay only with (Start)TLS, or unencrypted as well?

 We make the same test with our Lenny server and we always have a 0,05
 second response time
 
 Is there any configuration to change somewhere ? any hint or log to watch?
 
 
 Thanks,
 
 
 -- 
 Louis-Philippe

-- 
Mit freundlichen Grüßen, / Best Regards,
Sven Schwedas
Systemadministrator
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
Mail/XMPP: sven.schwe...@tao.at | +43 (0)680 301 7167
http://software.tao.at



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Cyrus lag ?

2014-04-14 Thread Louis-Philippe
Hi,


2014-04-14 9:46 GMT-04:00 Sven Schwedas sven.schwe...@tao.at:

 On 2014-04-14 15:15, Louis-Philippe wrote:
  Hi,
 
  We have a new server for Cyrus and we update from Debian Lenny to Debian
  Wheezy (on a Xen VM). I know that it's not a SOGo problem but it affects
  SOGo.
 
  We noticed with Nagios a lag on authentication on Cyrus (with LDAP).
 
  /usr/lib/nagios/plugins/check_imap -p 993 -H 10.10.XXX.XXX -S
  IMAP OK - *5.078 second response time on port 993* [* OK [CAPABILITY
  IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN SASL-IR] server
  ready]|time=5.078493s;;;0.00;10.00
 
  If we make a new test immediately after (within 4-5 seconds),  we have a
  0,04 second response time.

 Do you have the delay only with (Start)TLS, or unencrypted as well?



Yes, unfurtunately.

/usr/lib/nagios/plugins/check_imap -p 143 -H 10.10.XXX.XXXhttp://10.151.13.52
IMAP OK -* 5.020 second response time on port 143* [* OK [CAPABILITY
IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=PLAIN SASL-IR] server
ready]|time=5.019966s;;;0.00;10.00


Thank you,
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Cyrus lag ?

2014-04-14 Thread Ludovic Marcotte

On 2014-04-14, 10:05 AM, Louis-Philippe wrote:
/usr/lib/nagios/plugins/check_imap -p 143 -H 10.10.XXX.XXX 
http://10.151.13.52
IMAP OK -*5.020 second response time on port 143* [* OK [CAPABILITY 
IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=PLAIN SASL-IR] server 
ready]|time=5.019966s;;;0.00;10.00


Make sure you aren't running out of Cyrus child - otherwise the master 
process will wait until one frees up.


--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists