Summary: | ASTERISK-15518: Lags when using imap | ||
Reporter: | Ismailov Rafael (timehider) | Labels: | |
Date Opened: | 2010-01-26 07:38:10.000-0600 | Date Closed: | 2010-03-02 15:11:53.000-0600 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_voicemail/IMAP |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisklagz ( 1) Debug.docx ( 2) Debug.txt ( 3) User.docx ( 4) Users.txt ( 5) Voicemail.txt | |
Description: | I'm using asterisk version 1.4.26 and 1.4.29 with imap client UW 2007e. On my exchange server I've created a superuser account, and try to connect to it through login Donain\superuser\user. From tcp dump I see, that authentication goes well, but asterisk and exchange server begins to lag: unable to call another phones or voicemail, and whery hard to send email through exchange server. CLI of asterisk also lags: show of debug and verbosity practicaly stops, and another features don't work or work very slow. | ||
Comments: | By: Leif Madsen (lmadsen) 2010-01-26 08:01:18.000-0600 I'm not really sure what we can do here without additional information such as log files or traces, debugging from the Asterisk console, console output, etc... in order to see what is going on. Information in exactly what your setup is in order to try and reproduce this issue, or if you have a unique setup, may require a developer to access your system while the system is occuring. By: Ismailov Rafael (timehider) 2010-01-26 11:51:07.000-0600 there are two files - first a debug file, second - dumped traffic. Imap client configured without ssl. E-mail server - Exchange server 2003. There is information on how to create super user http://help.notify.net/TechDocs/enterprise/Admin/NetHelp/default.htm?turl=WordDocuments%2Fpimserversettings.htm . I'm using Asterisk GUI 2.0. There is also user account from users.conf Another information? By: Leif Madsen (lmadsen) 2010-01-28 10:31:26.000-0600 Please attach information as .txt and not .docx By: Ismailov Rafael (timehider) 2010-01-28 10:41:49.000-0600 Information attached. Additional information both asterisk and Exchange server are running on virtual machines (VSphere) By: Leif Madsen (lmadsen) 2010-01-28 10:52:45.000-0600 Can you reproduce this outside of VSphere? There is a very real possibility it is the virtualization layer that is causing the latency. By: Ismailov Rafael (timehider) 2010-01-28 11:38:21.000-0600 Hm.... it'll be very hard, because all our enviroment run on Virtual machines. But thanks for suggestion. Seem's that we need to find another solution. May'be you can suppose something? If you'll make a test, then please write its results in this case. If we'll make a test,then I'll write it here too. May be change to version 1.6 will help. I'll try this possibility. By: Leif Madsen (lmadsen) 2010-01-29 15:26:25.000-0600 How many users in Asterisk are configured for use with IMAP voicemail, and how many users are configured on this system? The only thing I can think of is to 1) reproduce this outside of the virtual server in a test environment 2) test with something like Gmail to see if it is an issue with your Exchange server 3) setup a duplicate test environment which reproduces this issue, and allow a developer to look Other than that, there isn't anything we can do to reproduce your issue, and there isn't currently enough information to go on. By: Ismailov Rafael (timehider) 2010-02-04 07:11:29.000-0600 Seem's that problem is in search procedure. When Imap client sends request to search for undeleted seen messages with header (X-Aster-Exten and X-Aster-Context) for some mailboxes it takes about 60 seconds to recieve an answer. I'd optimised the search (not searching for headers Exten and Context but for header from whom was recieved this letter). Seems that this can help to reduce searching time. But I couldn't check it because I've run into another problem. Another solution is to create a special folder in every mail box for voicemail letters, but my leaders want to use this alternative last off all. Our company has about 20 employee. For mailbox with 100 letters it takes about 60 seconds to recieve response. Still working on virtual machines, with version 1.4.26 trunk By: Ismailov Rafael (timehider) 2010-02-04 13:38:36.000-0600 Hello again. Another information about issue. I've used inbox as default imap folder. Some of our employee have about 10 000 letters in this box. I connected to Exchange server through telnet and tryed to search in this boxes. It took about 30 seconds to open Inbox folder and about 2 minutes to search this folder. I'd agree that those digits are terrifying but there is another fact. When I repeat the same search in this folder it took less than a second. So it seems that after lags in the beggining the system should work fine afterwards. But asterisk still terribly lags. When dumping seems that if it don't gets response in 60 seconds it just forgets about the request. Could there be posibility to improve the search procedure. May be some enhencement for e-mail server? By: Leif Madsen (lmadsen) 2010-02-16 13:35:25.000-0600 Unfortunately, there isn't much we can do to refine the processes to make this any faster. The recommended way to configure this is to use a separate folder for your voicemails, and not to use the inbox directly. The fix for this will be to update our documentation to make this more obvious. By: Ismailov Rafael (timehider) 2010-02-17 09:11:20.000-0600 Thank you for your help. I think that this issue is closed. By: Digium Subversion (svnbot) 2010-03-02 15:08:10.000-0600 Repository: asterisk Revision: 250050 U branches/1.4/doc/imapstorage.txt ------------------------------------------------------------------------ r250050 | lmadsen | 2010-03-02 15:08:10 -0600 (Tue, 02 Mar 2010) | 8 lines Update IMAP documentation. Update the IMAP documentation to make it clear that storing voicemails in the same folder as a large number of emails could potentially cause significant slow downs when writing or retrieving voicemails. (closes issue ASTERISK-15518) Reported by: TimeHider Tested by: lmadsen, TimeHider ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=250050 By: Digium Subversion (svnbot) 2010-03-02 15:09:27.000-0600 Repository: asterisk Revision: 250051 U trunk/doc/tex/imapstorage.tex ------------------------------------------------------------------------ r250051 | lmadsen | 2010-03-02 15:09:27 -0600 (Tue, 02 Mar 2010) | 8 lines Update IMAP documentation. Update the IMAP documentation to make it clear that storing voicemails in the same folder as a large number of emails could potentially cause significant slow downs when writing or retrieving voicemails. (issue ASTERISK-15518) Reported by: TimeHider Tested by: lmadsen, TimeHider ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=250051 By: Digium Subversion (svnbot) 2010-03-02 15:10:11.000-0600 Repository: asterisk Revision: 250052 _U branches/1.6.2/ U branches/1.6.2/doc/tex/imapstorage.tex ------------------------------------------------------------------------ r250052 | lmadsen | 2010-03-02 15:10:11 -0600 (Tue, 02 Mar 2010) | 16 lines Merged revisions 250051 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r250051 | lmadsen | 2010-03-02 16:09:27 -0500 (Tue, 02 Mar 2010) | 8 lines Update IMAP documentation. Update the IMAP documentation to make it clear that storing voicemails in the same folder as a large number of emails could potentially cause significant slow downs when writing or retrieving voicemails. (issue ASTERISK-15518) Reported by: TimeHider Tested by: lmadsen, TimeHider ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=250052 By: Digium Subversion (svnbot) 2010-03-02 15:11:10.000-0600 Repository: asterisk Revision: 250053 _U branches/1.6.1/ U branches/1.6.1/doc/tex/imapstorage.tex ------------------------------------------------------------------------ r250053 | lmadsen | 2010-03-02 15:11:10 -0600 (Tue, 02 Mar 2010) | 16 lines Merged revisions 250051 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r250051 | lmadsen | 2010-03-02 16:09:27 -0500 (Tue, 02 Mar 2010) | 8 lines Update IMAP documentation. Update the IMAP documentation to make it clear that storing voicemails in the same folder as a large number of emails could potentially cause significant slow downs when writing or retrieving voicemails. (issue ASTERISK-15518) Reported by: TimeHider Tested by: lmadsen, TimeHider ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=250053 By: Digium Subversion (svnbot) 2010-03-02 15:11:53.000-0600 Repository: asterisk Revision: 250054 _U branches/1.6.0/ U branches/1.6.0/doc/tex/imapstorage.tex ------------------------------------------------------------------------ r250054 | lmadsen | 2010-03-02 15:11:53 -0600 (Tue, 02 Mar 2010) | 16 lines Merged revisions 250051 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r250051 | lmadsen | 2010-03-02 16:09:27 -0500 (Tue, 02 Mar 2010) | 8 lines Update IMAP documentation. Update the IMAP documentation to make it clear that storing voicemails in the same folder as a large number of emails could potentially cause significant slow downs when writing or retrieving voicemails. (issue ASTERISK-15518) Reported by: TimeHider Tested by: lmadsen, TimeHider ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=250054 |