Odd Behaviour - Anyone else

http://automagucally.weebly.com

Moderators: davka003, Telldus

Post Reply
KHolm
Posts: 163
Joined: Fri Mar 17, 2023 9:45 am

Odd Behaviour - Anyone else

Post by KHolm »

Hi,

I have these rather odd behavior(s) with Automagically.

1.
After a reboot, it will not take commands (from the web). The daemon is running and I can see it communicate with both Live and Xively - but no contact with the tellstick.
If I stop and start the daemon manually at this point it all works fine. What happens after the restart of the daemon is that all the commands that really never got issued, now fires off (making the house blink like a lighthouse)
Also, this does not happen in a minimal configuration (1 switch). Only when I add a few I see this behavior. And, it is not 100% reproducible, but most of the times it behaves like this.

My guess is that there is a startup sequence dependency between Apache and Automagically that only happens when the configuration grows a bit. I guess the web server stacks the commands in some queue and after a restart the daemon manages to connect to the queue.

Any tips? Should we put apache and Automagically on different run-levels?


2.
After a reboot, it takes a very long time to fetch the first web-page (of each type, /core/ /admin/ /remote/). Apache are running at 98% of the CPU and my guess is that his is some kind of Java/Jitter compiler behavior. As said, only at first fetch...

Anyone else noticing the same? Any idea how to resolve? Anyone tried this:
http://stackoverflow.com/questions/1702 ... -in-django

/Marcus
Post Reply