[hobbit] "Info" column slow on latest snapshot (20080422)

Gary Baluha gumby3203 at gmail.com
Tue Jul 22 20:33:30 CEST 2008


It seems that a stop and start of the hobbit server gets the "info" column
working again, at least until it stops working.  Also of note is that the
"info" column for the hobbit server itself is the first one to die.  I note
the only difference is that Henrik's site has the FQDN of the hobbit server,
where as I have the short name.

Debugging of the source code hasn't yielded any information, except that it
appears to die around where hobbitsvc.c calls loadenv().  When I click on
the "info" column, it looks like it is called as:
loadenv("/var/hobbit/server/etc/hobbitserver.cfg", "(null)") from within
hobbitsvc.c's main() function.  But then I have a feeling that could be a
little misleading with delays in writing to the log files I added.

On Mon, Jul 21, 2008 at 12:54 PM, Sebastian Auriol <spa at syntec.co.uk> wrote:

>  Well, I note that Henrik's demo site has the info page working fine:
>
> http://www.hswn.dk/hobbit-cgi/bb-hostsvc.sh?HOST=voodoo.hswn.dk&SERVICE=info
> Though I don't know exactly which snapshot that is running.
>
> Sebastian
>
>  ------------------------------
> *From:* Gary Baluha [mailto:gumby3203 at gmail.com]
> *Sent:* 18 July 2008 19:57
>
> *To:* hobbit at hswn.dk
> *Subject:* Re: [hobbit] "Info" column slow on latest snapshot (20080422)
>
>  Yeah, three snapshots ago (I forget which one), the info page was slow to
> load for me.  Then I put in another snapshot, and the info page would load
> normally, but I would get intermittent "Internal Server Error" pages.  I
> guess we can assume Henrik is working on updating the info page ;-)
>
> On Fri, Jul 18, 2008 at 2:38 PM, Sebastian <spa at syntec.co.uk> wrote:
>
>>  I have the same problem with a different snapshot - it says *Hobbit
>> Monitor 4.3.0-0.20080403* <http://hobbitmon.sourceforge.net/> at the
>> bottom of the web pages, but I'm pretty sure it's from 22nd May.  Basically
>> the "Info" column is very slow to display (takes 30 seconds) and most of the
>> info that should be there (comparing with Henrik's demo site) is missing,
>> including the option to disable tests, and I get the "Alert configuration
>> unavailable" message.  I wonder if there is a timeout trying to get the
>> alert configuration, which is why it eventually displays, but takes a
>> while.  The info column used to work fine with an earlier snapshot (probably
>> 18th March) on the same server - I simply compiled and installed the newer
>> snapshot over the top of the old one and this problem started.  For
>> information:
>> -rwxrw-r--  1 hobbit hobbit     7044 Apr 15 19:40 hobbit-alerts.cfg
>> so Apache should be able to read it OK...  I even tried changing the group
>> owner to apache, but that didn't help.
>>
>> Any ideas on how to solve this?
>>
>> Sebastian
>>
>>  ------------------------------
>>  *From:* Gary Baluha [mailto:gumby3203 at gmail.com]
>> *Sent:* 23 April 2008 18:42
>> *To:* hobbit at hswn.dk
>>
>> *Subject:* Re: [hobbit] "Info" column slow on latest snapshot (20080422)
>>
>>   Yeah, I tested and it takes about the same for me.  It feels a lot
>> longer, but I guess that's only because I'm used to it coming up so much
>> quicker.  Wonder if it's related to the "Alert configuration unavailable"
>> message.  I'm guessing that part is because Henrik hasn't finished rewriting
>> it yet...
>>
>> On Wed, Apr 23, 2008 at 11:39 AM, Lars Ebeling <
>> lars.ebeling at leopg9.no-ip.org> wrote:
>>
>>>  For me it takes about 15 seconds (tested twice, not statistically
>>> significant ;) )
>>>
>>> Lars
>>>
>>>  ----- Original Message -----
>>> *From:* Gary Baluha <gumby3203 at gmail.com>
>>> *To:* hobbit at hswn.dk
>>>   *Sent:* Wednesday, April 23, 2008 4:45 PM
>>> *Subject:* Re: [hobbit] "Info" column slow on latest snapshot (20080422)
>>>
>>> "not slow" would be, I click on "Info" and 10 seconds later or less, the
>>> page is fully displayed.  It is taking about a minute for the page to load,
>>> which is slower than the 4.2.0 hobbit server I have running.
>>>
>>> On Wed, Apr 23, 2008 at 2:40 AM, Lars Ebeling <
>>> lars.ebeling at leopg9.no-ip.org> wrote:
>>>
>>>>  If the page loads slow depends on what you expect. But I also get: Alerting:
>>>> Alert configuration unavailable
>>>> --
>>>> Regards
>>>> Lars Ebeling
>>>>
>>>> http://leopg9.no-ip.org
>>>> Hobbithobbyist
>>>>
>>>> "I am not young enough to know everything."
>>>> -- Oscar Wilde
>>>>
>>>>
>>>>
>>>>
>>>> ----- Original Message -----
>>>> *From:* Gary Baluha <gumby3203 at gmail.com>
>>>> *To:* hobbit at hswn.dk
>>>> *Sent:* Tuesday, April 22, 2008 9:22 PM
>>>> *Subject:* [hobbit] "Info" column slow on latest snapshot (20080422)
>>>>
>>>> Is anyone else experiencing a slow "info" page load with the 2008-04-22
>>>> snapshot?  It takes about a minute to load.
>>>> Also, I get this:
>>>> Alerting: Alert configuration unavailable
>>>> Admittedly, I just did an in-line install over the 4.2.0 release, so I
>>>> don't know if it's just a matter of some configuration file weirdness.
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080722/b814696b/attachment.html>


More information about the Xymon mailing list