[asterisk-gui] long delay on login

Andrew Latham lathama at gmail.com
Wed Feb 17 09:12:00 CST 2010


My guess is that hardware startup on the appliance was slower or there
where some additional checks going on...


~
Andrew "lathama" Latham
lathama at gmail.com

* Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
* Learn more about Linux http://en.wikipedia.org/wiki/Linux
* Learn more about Tux http://en.wikipedia.org/wiki/Tux



On Wed, Feb 17, 2010 at 12:03 PM, Tzafrir Cohen
<tzafrir.cohen at xorcom.com> wrote:
> On Wed, Feb 17, 2010 at 02:15:25PM +0200, Tzafrir Cohen wrote:
>> Hi
>>
>> The following seems to happen to us ever since upgrading from the
>> version used in our previous live CD:
>>
>>   http://updates.xorcom.com/rapid/dists/live-2-0-0/main/binary-i386/Packages
>>
>> asterisk       1.6.2.0~dfsg~beta4-0.7501
>> asterisk-gui   2.0.4.9.svn.4809-0.7324
>>
>> There is a log delay after the login: I see the message "Checking write
>> permission for gui folder" for a log while. Then I see the message
>> "detecting Hardware" (BTW: that message is duplicated in the code ) for
>> a similar time period.
>>
>> It seems that those timeouts are always exact minutes. That is:
>> multiplues of 60 seconds.
>
> And indeed, 60000 milliseconds is the timeout set in the makeRequest()
> call in systeCmd (js/astman.js) . Reducing the timeout to, e.g. 6000,
> made the login take much less.
>
> When is this time-out used? What was missed?
>
>>
>> In Asterisk I see quite a few events in the manager eventq (manager show
>> eventq).
>>
>> I already had timeouts of 1, 2 and 3 minutes. No extra CPU activity is
>> noted.
>>
>> As a last resort I consider just saying our custoers that they need to
>> wait (or get a better browser).
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-gui
>



More information about the asterisk-gui mailing list