Indigo 7 client memory usage

Posted on
Mon Aug 13, 2018 3:22 pm
siclark offline
Posts: 632
Joined: Jun 13, 2017
Location: UK

Re: Indigo 7 client memory usage

kw123 wrote:
see git hub https://github.com/kw123/indigoUtilities and should also be on plugin store

1. added action for plugin info (name, id, mem, cpu, daughter processes ..)
2. added mac temp and fan info menu and action

Karl


Cheers for that Karl... should I be worried about these temps? This is after I moved the Mac out of the rack cupboard that it was in where it seemed to be overheating. HDD reports 45c now vs the 55-60 it used to.


Temperatures and fan speeds of indigo MAC
temp_AMBIENT_AIR_0: 54.5[ºC]
temp_AMBIENT_AIR_1: 47.0[ºC]
temp_CPU_0_DIE: 71.5[ºC]
temp_CPU_0_PROXIMITY: 57.8[ºC]
temp_HDD_PROXIMITY: -127.0[ºC]
temp_MEM_SLOTS_PROXIMITY: 51.8[ºC]
temp_MISC_PROXIMITY: 48.2[ºC]
temp_NORTHBRIDGE_PROXIMITY: 48.2[ºC]
fan0_Speed: 1800[r/m]

Posted on
Mon Aug 13, 2018 4:53 pm
kw123 offline
User avatar
Posts: 6023
Joined: May 12, 2013
Location: Dallas, TX

Re: Indigo 7 client memory usage

... usage of what ...

- total cpu .. easy.. since start
- cpu in last xx secs .. not really easy .. need to use top and running it every minute and compare cpu totals

eg: set a trigger:
plugin "xx" usage > secs in one minute
?



Karl

Posted on
Mon Aug 13, 2018 5:08 pm
kw123 offline
User avatar
Posts: 6023
Joined: May 12, 2013
Location: Dallas, TX

Re: Indigo 7 client memory usage

temp_HDD_PROXIMITY: -127.0[ºC]

how did you get a negative number .. looks like overflow

if the program returns nothing it is set to -99 and ignored, have not seen -127 C

Posted on
Mon Aug 13, 2018 11:44 pm
kw123 offline
User avatar
Posts: 6023
Joined: May 12, 2013
Location: Dallas, TX

Re: Indigo 7 client memory usage

I uploaded a new version v 1.17.13 on GitHub https://github.com/kw123/indigoUtilities

Added support for event trigger for plugin cpu usage .. and fixed a bug in cpu temperature (ºF did not work )

-in create trigger select indigo utilities / cpu usage
-select the plugin you like to track
-select the cpu threshold and click save

try with 1 sec cpu threshold and you will get a trigger after ~ 5 minutes (it checks every 5 minutes).

Karl

Posted on
Tue Aug 14, 2018 12:26 am
howartp offline
Posts: 3349
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Indigo 7 client memory usage

Awesome, that’s what I was meaning!

Will check it out.


Sent from my iPhone using Tapatalk Pro

Posted on
Thu Dec 06, 2018 11:41 am
gt3mike offline
Posts: 96
Joined: Dec 31, 2017
Location: Colorado

Re: Indigo 7 client memory usage

This is an old thread, and it seems like it got a bit off track, but I'm seeing the same issue with the Indigo Client app as well. After it has been running for several days, I notice that it is consuming a lot of memory (over a gigabyte), and eventually it hangs (spinning cursor). When I start it, it consumes a little under 55MB of memory, and then seems to slowly creep up from there -- without any input from me.

The server and all of the plugins are fine. I'm not seeing any excessive memory usage there.

I've noticed this over the last couple of months. It has been happening with both Indigo 7.1 and 7.2.

It didn't always happen -- I always leave the client running, and it used to run for weeks on end without issue. I can't think of anything I might have changed (except for periodic OS updates).

I'm running High Sierra 10.13.6 on a late 2009 iMac with 8GB of RAM.

Is there anything in particular I should look for when it happens again?

Posted on
Thu Dec 06, 2018 10:40 pm
kw123 offline
User avatar
Posts: 6023
Joined: May 12, 2013
Location: Dallas, TX

Re: Indigo 7 client memory usage

I am seeing kind of the same thing, but since I do a lot of restarting it was not visible to me.

After restart, the client had 100Mbytememory
before restart and after ~ 5 days of running it was > 700Mbyte

will track it more carefully .

Karl

Posted on
Fri Dec 07, 2018 5:22 pm
petematheson offline
Posts: 724
Joined: Sep 14, 2014
Location: Southampton, UK

Re: Indigo 7 client memory usage

This sounds exactly like the issues I've been seeing recently too!

I'm on Mojave, on a late 2014 mac with 8GB RAM.
I have no direct console access to my Mac Mini, only teamviewer or shared desktop via OSX Finder. I repeatedly find that the Mac will partially lock up. It generally still sends Z-Wave commands so lights will trigger around the house, but Indigo Touch won't connect, and TeamViewer won't load. Earlier this week teamviewer worked, and all I had to do was shut down / re-start the Indigo server and I could reconnect via iOS.

Posted on
Sat Dec 08, 2018 11:03 pm
siclark offline
Posts: 632
Joined: Jun 13, 2017
Location: UK

Indigo 7 client memory usage

Pete,
This is my issue too. Although I think they it's server related rather then client, but why I was asking for an easy way to restart server from a remote client without having to (or when unable to) remote onto the head less Mac mini.

For others, you can use Mac apps plugin to remote quit the indigo client running on the server machine with just a switch on the remote client, no scripts or pids needed.


Sent from my iPhone using Tapatalk

Posted on
Sun Dec 09, 2018 8:13 pm
kw123 offline
User avatar
Posts: 6023
Joined: May 12, 2013
Location: Dallas, TX

Re: Indigo 7 client memory usage

some stats for memory usage of indigo 7.2 client
Code: Select all
hours after start  - Mbyte
 0                 - 98
16                 - 119
28                 - 135
36                 - 200

Karl

Posted on
Mon Dec 10, 2018 2:09 pm
gt3mike offline
Posts: 96
Joined: Dec 31, 2017
Location: Colorado

Re: Indigo 7 client memory usage

I'll set up a script to capture this type of data as soon as I have a little free time. In the interim, I'm just shutting down the client when I'm not using it.

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

Re: Indigo 7 client memory usage

What would be very helpful is for anyone that's noticed increased client memory usage to report the following:

  • macOS Version
  • Indigo Version
  • Local or remote client connection
  • Number of scripts updating variables and approximately how many updates per minute
  • List of all enabled plugins (both built-in and 3rd party)
  • Interfaces enabled
  • 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)

With this information we can hopefully see some commonalities to help refine our debugging.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Dec 10, 2018 3:37 pm
petematheson offline
Posts: 724
Joined: Sep 14, 2014
Location: Southampton, UK

Re: Indigo 7 client memory usage

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

:D

Posted on
Mon Dec 10, 2018 4:03 pm
gt3mike offline
Posts: 96
Joined: Dec 31, 2017
Location: Colorado

Re: Indigo 7 client memory usage

jay (support) wrote:
What would be very helpful is for anyone that's noticed increased client memory usage to report the following:

  • macOS Version
  • Indigo Version
  • Local or remote client connection
  • Number of scripts updating variables and approximately how many updates per minute
  • List of all enabled plugins (both built-in and 3rd party)
  • Interfaces enabled
  • 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)

With this information we can hopefully see some commonalities to help refine our debugging.

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.

Posted on
Mon Dec 10, 2018 4:46 pm
lanbrown offline
Posts: 727
Joined: Sep 26, 2017

Re: Indigo 7 client memory usage

jay (support) wrote:
What would be very helpful is for anyone that's noticed increased client memory usage to report the following:

  • macOS Version
  • Indigo Version
  • Local or remote client connection
  • Number of scripts updating variables and approximately how many updates per minute
  • List of all enabled plugins (both built-in and 3rd party)
  • Interfaces enabled
  • 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)

With this information we can hopefully see some commonalities to help refine our debugging.


Jay,

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.

Who is online

Users browsing this forum: No registered users and 0 guests