Topic
  • 3 replies
  • Latest Post - ‏2012-11-15T20:12:17Z by BenKus
TKMQ_Henrik_Bytoft_Holm
6 Posts

Pinned topic High CPU load - IOS actions

‏2012-11-08T14:23:39Z |
Hi,

Then I issues a task for one of my IOS devices the Proxyagent.exe service is going 100% CPU load. The load is maintaied ontil the actions completes after ~15-30 min....

The agentlog tells nothing... but the logging comes into chunck every 5-15 min....

The issue drags down the overall perf. of the server... What the hell to do??

Enrollment is basic method, Enrollment site is running on public sig certificate, and all health checks are marked "pass" on the health dashboard

ov 2012 13:47:01 +0100 -- Main Thread (1156) -- Detected new device report from hbh's iPad (GB028GVKZ3A).
Thu, 08 Nov 2012 13:47:02 +0100 -- Main Thread (1156) -- Reregistered Existing Device hbh's iPad (DYTJ8PXFDJ8T) --> Computer ID 8680001 for plugin <Apple iOS 1>
Thu, 08 Nov 2012 13:47:02 +0100 -- Main Thread (1156) -- Reregistered Existing Device hbh's iPad (GB028GVKZ3A) --> Computer ID 264766 for plugin <Apple iOS 1>
Thu, 08 Nov 2012 13:47:02 +0100 -- Main Thread (1156) -- New version of site http://tem.dansupport.dk:52311/cgi-bin/bfgather.exe/actionsite found, loading content from version 900.
Thu, 08 Nov 2012 13:49:59 +0100 -- Service Thread (1136) -- Received stop request
Thu, 08 Nov 2012 13:57:48 +0100 -- Main Thread (2824) -- Starting Proxy Agent 8.2.40030.0...
Thu, 08 Nov 2012 13:57:50 +0100 -- Main Thread (2824) -- Found 5 active devices...
Thu, 08 Nov 2012 13:57:50 +0100 -- Main Thread (2824) -- These devices will be included in refresh requests.
Thu, 08 Nov 2012 13:57:50 +0100 -- Main Thread (2824) -- Loading sites previously gathered on disk...
Thu, 08 Nov 2012 13:57:50 +0100 -- Main Thread (2824) -- Loading site http://sync.bigfix.com/cgi-bin/bfgather/bessupport...
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- 514 new or changed fixlets found.
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- 55 new or changed properties found.
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- Loading site http://sync.bigfix.com/cgi-bin/bfgather/besinventory...
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- 38 new or changed fixlets found.
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- 208 new or changed properties found.
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- Loading site http://sync.bigfix.com/cgi-bin/bfgather/bigfixlabs...
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- 9 new or changed fixlets found.
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- 6 new or changed properties found.
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- Loading site http://sync.bigfix.com/cgi-bin/bfgather/mdm...
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- 108 new or changed fixlets found.
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- 124 new or changed properties found.
Thu, 08 Nov 2012 13:57:51 +0100 -- Main Thread (2824) -- Loading site http://tem.dansupport.dk:52311/cgi-bin/bfgather.exe/actionsite...
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- 50 new or changed fixlets found.
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- 49 new or changed properties found.
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- 79 new or changed actions detected.
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- 168 new or changed analysis activations detected.
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- Loading site http://tem.dansupport.dk:52311/cgi-bin/bfgather.exe/CustomSite_0000_-2d_Shared_content...
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- Loading site http://tem.dansupport.dk:52311/cgi-bin/bfgather.exe/CustomSite_0001...
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- 1 new or changed fixlets found.
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- Loading site http://tem.dansupport.dk:52311/cgi-bin/bfgather.exe/CustomSite_0004...
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- 1 new or changed fixlets found.
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- Loading site http://tem.dansupport.dk:52311/cgi-bin/bfgather.exe/opsite104...
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- Loading site http://tem.dansupport.dk:52311/cgi-bin/bfgather.exe/opsite2...
Thu, 08 Nov 2012 14:14:09 +0100 -- Main Thread (2824) -- 3 new or changed actions detected.
Thu, 08 Nov 2012 14:14:09 +0100 -- Heartbeat Thread (3856) -- Heartbeat interval expired, triggering refresh of all Apple iOS 1 devices. Next refresh in 2 hours.
Thu, 08 Nov 2012 14:14:09 +0100 -- Plugin Invocation Thread (3896) -- Launching plugin: "C:\Program Files (x86)\BigFix Enterprise\Management Extender\Plugins\Apple iOS 1\plugin\iOSProxyPlugin.exe" --configOptions "port=52315;passwordFile=C:\\Program Files (x86)\\BigFix Enterprise\\Management Extender\\Plugins\\Apple iOS 1\\plugin\\plugin.pw" --commandDir "C:\Program Files (x86)\BigFix Enterprise\Management Extender\Plugins\Apple iOS 1\PendingRefreshes"
Thu, 08 Nov 2012 14:14:10 +0100 -- Main Thread (2824) -- New version of site http://tem.dansupport.dk:52311/cgi-bin/bfgather.exe/actionsite found, loading content from version 909.
Thu, 08 Nov 2012 14:29:45 +0100 -- Main Thread (2824) -- 5 new or changed actions detected.
Thu, 08 Nov 2012 14:29:45 +0100 -- Main Thread (2824) -- New action <1875> targeted by ID or Computer Name detected, requesting refresh of computer <2825276> in plugin <Apple iOS 1>.
Thu, 08 Nov 2012 14:29:45 +0100 -- Main Thread (2824) -- New management rights or subscription action <1882> detected, requesting refresh of all devices.
Thu, 08 Nov 2012 14:29:45 +0100 -- Main Thread (2824) -- Removing expired or stopped action <1854>.
Thu, 08 Nov 2012 14:29:45 +0100 -- Main Thread (2824) -- Removing expired or stopped action <1858>.
Thu, 08 Nov 2012 14:29:45 +0100 -- Main Thread (2824) -- Removing expired or stopped action <1859>.
Thu, 08 Nov 2012 14:29:45 +0100 -- Main Thread (2824) -- Removing expired or stopped action <1860>.
Thu, 08 Nov 2012 14:29:45 +0100 -- Main Thread (2824) -- Removing expired or stopped action <1861>.
  • BenKus
    BenKus
    164 Posts

    Re: High CPU load - IOS actions

    ‏2012-11-15T02:22:05Z  
    Hello,

    The proxyagent.exe's job is to evaluate Fixlet and property content for devices. Using lots of CPU is normal, but it should scale according to the number of devices you support...

    How many iOS devices are you managing now? Also, what are the specs on the server you are using (how many CPUs/RAM/etc)

    Ben
  • TKMQ_Henrik_Bytoft_Holm
    6 Posts

    Re: High CPU load - IOS actions

    ‏2012-11-15T06:10:08Z  
    • BenKus
    • ‏2012-11-15T02:22:05Z
    Hello,

    The proxyagent.exe's job is to evaluate Fixlet and property content for devices. Using lots of CPU is normal, but it should scale according to the number of devices you support...

    How many iOS devices are you managing now? Also, what are the specs on the server you are using (how many CPUs/RAM/etc)

    Ben
    Only 50 iOS and 5 andrOid. ~300 Windows pc.
    1dual core 2,4ghz, 4gb ram - virtual server ón esxi.
  • BenKus
    BenKus
    164 Posts

    Re: High CPU load - IOS actions

    ‏2012-11-15T20:12:17Z  
    Only 50 iOS and 5 andrOid. ~300 Windows pc.
    1dual core 2,4ghz, 4gb ram - virtual server ón esxi.
    So the CPU spiking is normal when you push actions (again, lots of HTTPS and the work the proxyagent does is CPU intensive)... but I am not sure why it peaks for so long with so few devices...

    Some suggestions:
    • Verify the VM cores are actually dedicated to you (rather than shared with other guests).
    • Consider changing your refresh interval to 6 hours instead of 2 (this will also marginally reduce battery and bandwidth usage for your devices).
    • Upgrade to the latest Management Extender (if you have not done so already). We add optimizations every version.
    • Consider adding 2 more cores if this problem persists.

    Ben