Indigo 7 client memory usage

Posted on
Mon Dec 10, 2018 5:04 pm
jay (support) offline
Site Admin
User avatar
Posts: 14999
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Indigo 7 client memory usage

petematheson wrote:
What would be really cool is if this plugin could collect this data... :roll:

:D


What plugin?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Dec 10, 2018 5:06 pm
jay (support) offline
Site Admin
User avatar
Posts: 14999
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Indigo 7 client memory usage

gt3mike wrote:
Definitely will do.

If you have a little snippet of shell script (or anything else) that would capture the runtime info you're looking for, please do share. I can certainly come up with something myself given a little time, but time is something I don't have a lot of right now. If you have something useful it would save me time and get you data sooner.


This is why I say "roughly". Give us the rest of the data even if you don't have specifics because we can use the rest of the data immediately.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Dec 10, 2018 5:07 pm
jay (support) offline
Site Admin
User avatar
Posts: 14999
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Indigo 7 client memory usage

lanbrown wrote:
this might be a nice addition to Indigo when someone has an issue that Indigo (and from the client) tell the server to create a tech support file and upload it. It could grab the client info as well that it ran on. This would help you and Matt when people have issues.


Yeah, though honestly it's not often that we need this much information. But point taken.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Dec 10, 2018 5:14 pm
lanbrown offline
Posts: 776
Joined: Sep 26, 2017

Re: Indigo 7 client memory usage

I deal with network equipment that creates files hundreds of megs in size just for support. So when a case needs to be opened, support has all that they need. It does save a lot of time for them asking for info. This won't help in this case, but who knows what the future holds for Indigo.

Like the PLM driver issue; if people submitted a report, you would have a lot of info to see if there was a pattern.

Posted on
Mon Dec 10, 2018 5:26 pm
gt3mike offline
Posts: 106
Joined: Dec 31, 2017
Location: Colorado

Re: Indigo 7 client memory usage

macOS Version - 10.13.6

Indigo Version - 7.2.0

Local or remote client connection - Has happened with both local and remote client sessions

Number of scripts updating variables and approximately how many updates per minute - Not sure how to answer this. I have three variables. One variable is maintained by four schedules, only two of which are active at any time, and each only executes once a day. The other two variables are updated by triggers that fire when my alarm system is disarmed and armed.

List of all enabled plugins (both built-in and 3rd party) - AD2USB, Alexa Hue Bridge, Harmony Hub, Lutron RR2/Caseta, Nest Home, Pushover, SenseME, Sonos

Interfaces enabled - Z-Wave and Virtual Devices.
I have four Z-Wave devices: A water/temp sensor, a relay, and two appliance power switches (ZEN15). The power switches can be really chatty with power stats. I've tried to configure them to reduce their chattiness but I haven't been completely successful. These are the most recent addition to the system, so potentially they could be the problem. I use them to monitor the washer and dryer. I'll pay more attention to whether this only happens when they are active.

Rough estimate of how much it's gone up over whatever period of time you know about (basically just to let us know a rough scale - so just a length of time and usage at start and end is fine) - Sometimes it happens over an hour or two, sometimes over a day or two. I need to track it.

Posted on
Fri Dec 14, 2018 2:44 pm
gt3mike offline
Posts: 106
Joined: Dec 31, 2017
Location: Colorado

Re: Indigo 7 client memory usage

The client has been running on my Indigo Server Mac for a couple of days now. It hasn't crashed yet, but I do see some spikes in memory usage. I'm capturing memory using top.

I don't see anything unusual in the server log window to account for the jumps in memory. The first jump occurred right around when a trigger fired based on a RR2 keypad button press. It send a RR2 command back to the repeater, delays 8 seconds, then sends it again. This trigger has been part of the system for the better part of a year. When I noticed the jump, I triggered the action a couple more times and nothing unusual happened.

Also, the washer and dryer were used a bit day one, but the power usage messages didn't seem to trigger any jumps in memory consumption.

Is this helpful?

Mike

indigo memory usage.png
indigo memory usage.png (33.07 KiB) Viewed 453 times

Posted on
Sat Dec 15, 2018 12:40 pm
gt3mike offline
Posts: 106
Joined: Dec 31, 2017
Location: Colorado

Re: Indigo 7 client memory usage

I kept it running, connected again this morning via screen sharing, and this is what I found:

indigo memory usage.png
indigo memory usage.png (34.21 KiB) Viewed 425 times


Although I thought the client was hung when I connected, (spinning cursor and log window had stopped updating as of last night), I didn't kill it and after a couple of minutes it "caught up" and I could interact with it again.

So, is the Indigo Client just operating as designed here, not bothering to update the UI while the display is off, and then taking several minutes to catch up when I log back in? The server seems to be working just fine and the client memory usage has dropped back to around 400MB from around 1.5GB now that it has "caught up".

Posted on
Sun Dec 16, 2018 2:35 pm
matt (support) offline
Site Admin
User avatar
Posts: 18805
Joined: Jan 27, 2003
Location: Texas

Re: Indigo 7 client memory usage

gt3mike wrote:
So, is the Indigo Client just operating as designed here, not bothering to update the UI while the display is off, and then taking several minutes to catch up when I log back in? The server seems to be working just fine and the client memory usage has dropped back to around 400MB from around 1.5GB now that it has "caught up".

The UI should be updating as long as the Mac is awake and Indigo Client is running, so there shouldn't be any lag/hanging when the display is awoken.

Was it just the display that was asleep (and not the Mac itself)?
And is this Indigo Client running on the same Mac as the Indigo Server?

Any idea what happened/started around 15:00 time mark on the graph where the usage grows linearly until it hits ~1.5G?

Image

Posted on
Sun Dec 16, 2018 2:38 pm
gt3mike offline
Posts: 106
Joined: Dec 31, 2017
Location: Colorado

Re: Indigo 7 client memory usage

matt (support) wrote:
The UI should be updating as long as the Mac is awake and Indigo Client is running, so there shouldn't be any lag/hanging when the display is awoken.

Was it just the display that was asleep (and not the Mac itself)?
And is this Indigo Client running on the same Mac as the Indigo Server?

Any idea what happened/started around 15:00 time mark on the graph where the usage grows linearly until it hits ~1.5G?

I’ll look at the logs to see what happened at 3. Client running on same machine as server. Mac was not sleeping.

Posted on
Sun Dec 16, 2018 5:47 pm
gt3mike offline
Posts: 106
Joined: Dec 31, 2017
Location: Colorado

Re: Indigo 7 client memory usage

matt (support) wrote:
Any idea what happened/started around 15:00 time mark on the graph where the usage grows linearly until it hits ~1.5G


The linear increase looks like it began at 17:06.

Code: Select all
12/14/18 17:00   72
12/14/18 17:01   72
12/14/18 17:02   72
12/14/18 17:03   72
12/14/18 17:04   72
12/14/18 17:06   72
12/14/18 17:07   75
12/14/18 17:08   81
12/14/18 17:09   82
12/14/18 17:10   85
12/14/18 17:11   87
12/14/18 17:12   88
12/14/18 17:13   90
12/14/18 17:14   91
12/14/18 17:15   93

There's nothing in the Indigo log that would explain it.

Code: Select all
Dec 14, 2018 at 5:00:00 PM
   Schedule                        Peak Non-Summer True
   Trigger                         Peak Hours Humidifier Off
   Z-Wave                          sent "Aprilaire Humidifier" off

Dec 14, 2018 at 5:01:12 PM
   Action Group                    House Fan On
   Alexa-Hue Bridge                Request received from 192.168.0.37:55173: Setting on state of Alexa device "House Fan" to ON

Dec 14, 2018 at 5:12:12 PM
   Trigger                         Guest Bath On


I'll look through the system log and let you know if I see anything there. UPDATE: Nothing useful in the system log.

Posted on
Tue Jan 01, 2019 9:47 am
petematheson offline
Posts: 726
Joined: Sep 14, 2014
Location: Southampton, UK

Re: Indigo 7 client memory usage

I just had to force quit my Indigo Apps after my little one managed to press our panic alarm, yay.

Interestingly I seem to have multiple indigo plugin host processes running, is this expected - one per plugin or something perhaps?
Attachments
Screenshot 2019-01-01 at 15.37.31 copy.png
Indigo Plugin
Screenshot 2019-01-01 at 15.37.31 copy.png (476.23 KiB) Viewed 250 times
Screenshot 2019-01-01 at 15.36.29.png
Indigo
Screenshot 2019-01-01 at 15.36.29.png (293.03 KiB) Viewed 250 times

Posted on
Tue Jan 01, 2019 10:00 am
FlyingDiver offline
Posts: 2688
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Indigo 7 client memory usage

petematheson wrote:
I just had to force quit my Indigo Apps after my little one managed to press our panic alarm, yay.

Interestingly I seem to have multiple indigo plugin host processes running, is this expected - one per plugin or something perhaps?


Yes, one per plugin or background script. Plus the web server and maybe some others.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Jan 01, 2019 8:36 pm
gt3mike offline
Posts: 106
Joined: Dec 31, 2017
Location: Colorado

Re: Indigo 7 client memory usage

It sure would be great to get this figured out.

1.png
1.png (74.33 KiB) Viewed 214 times

Posted on
Tue Jan 01, 2019 9:34 pm
jay (support) offline
Site Admin
User avatar
Posts: 14999
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Indigo 7 client memory usage

We're working on it. Fortunately there's an easy workaround... :)

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Jan 01, 2019 9:40 pm
gt3mike offline
Posts: 106
Joined: Dec 31, 2017
Location: Colorado

Re: Indigo 7 client memory usage

Cool. Let me know if I can help test anything.

Who is online

Users browsing this forum: No registered users and 0 guests