Registered member login:
Register Now
Altirigos » Notification Server and Solutions » Notification Server » System, AeXSVC.exe and SQL running 100%

» Current Poll
Do you leave the Aclient enabled?
YES - 82.68%
105 Votes
NO - 17.32%
22 Votes
Total Votes: 127
You may not vote on this poll.
» Stats
Members: 9,479
Threads: 11,743
Posts: 55,255
Top Poster: Nick (4,981)
Welcome our newest member, timmaki
» Online Users: 39
1 members and 38 guests
whiggy
Most users online at once 294, 06-30-2007 at 12:24 PM.
» March 2010
S M T W T F S
28 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 123
Reply
Old 05-02-2006, 04:09 PM   #1 (permalink)
 
Mike's Avatar
 
Status: Altiris Engineer (Super Mod)
Join Date: 02-22-2005
Location: South Jordan, Utah, USA
Posts: 1,196


System, AeXSVC.exe and SQL running 100%

I thought I was good at fixing this problem, but the cause here is a new one by me:

I am troubleshooting a Notification Server that is running Veeeeeery Sloooooow.

Symptoms are that it is @ 100% cpu pretty much all of the time. The processes using the most CPU are

AeXSvc
System
Sql

typically in that order of impact. I certainly find this weird as I usually find SQL owning the CPU.

The configuration of this server is:

Win2k
Sql2k sp3

about 1800 managed nodes. Dual Proc Dell 2650 w/ 4gb of RAM.

There are no NSE's in que except for a continuous feed of large NSE's that show up in the EVTQueue Slow directory. The ones that end up in the "Bad" folder display the following contents:

<row c1="-2147467259" c2="Rule not found in agent rule cache" c3="{04e9d5f8-3f18-04ed-c001-0502c0010502}" />

...over and over again for hundreds of lines. I have no doubt that this is a continuous feed into the server and is the cause of the trouble. The header of the nse is titled 'CE_NfySvrRemoteEvent'. What could be causing this? Any ideas?
__________________
______________________
Mike Ainsworth

Mike is offline   Reply With Quote
Old 05-02-2006, 04:25 PM   #2 (permalink)
 
Nick's Avatar
 
Status: Altiris Architect (Site Founder)
Join Date: 01-01-2005
Location: RDU, North Carolina, USA
Posts: 4,981


Are they running Monitor Solution Metrics by any chance?
__________________
Scire potentia est (knowledge is power)
Nick is offline   Reply With Quote
Old 05-02-2006, 04:29 PM   #3 (permalink)
 
Mike's Avatar
 
Status: Altiris Engineer (Super Mod)
Join Date: 02-22-2005
Location: South Jordan, Utah, USA
Posts: 1,196


I'm not. Jim Harings from the Altiris forum believes it's patch management related. I wonder if the our "lord or the patch" has anything to say about it?
__________________
______________________
Mike Ainsworth

Mike is offline   Reply With Quote
Old 05-02-2006, 04:52 PM   #4 (permalink)
 
Mike's Avatar
 
Status: Altiris Engineer (Super Mod)
Join Date: 02-22-2005
Location: South Jordan, Utah, USA
Posts: 1,196


Check this out!

I turned off the dispatcher service and within 10 minutes I have over 623 NSEs in the QueFast folder! 1/3rd of this organizations machines have sent events within 10 minutes? This is crazy! The Altiris Agent is configured to check in every 6 hours!

The majority of the NSEs in the quefast folder look like this:

<?xml version='1.0' ?>
<XmlData>
<WbemEventObject class='CE_NfySvrRemoteEvent'>
<MessageID></MessageID>
<Resource guid='{9C0DBFA5-D36E-40D7-8C89-ED45980EB904}' typeGuid='493435F7-3B17-4C4C-B07F-C23E7AB7781F'><Attribute name='Domain' value='value'/><Attribute name='Name' value='computername'/><Attribute name='Altkey1' value=''/><Attribute name='Altkey2' value='44-45-53-54-42-00'/></Resource>
<ScenarioGUID>{06D80F00-9D63-4714-ACD7-CE980E8C139A}</ScenarioGUID>
<RemoteEvent>
<inventory>
<dataClass guid="{27a4854e-b26a-465e-b0ca-78cb079a954a}">
<data>
<resource> <row c1="{75DA0CCA-0095-44E7-8FBE-960FA0D72075}" c2="1115" c3="107" c4="1008" c5="0" c6="232" />
<row c1="{9D326BB4-75D4-4DB9-9946-59141BD1D44E}" c2="1107" c3="89" c4="1018" c5="0" c6="232" />
</resource>
</data>
</dataClass> </inventory>
</RemoteEvent><TimeGenerated>20060502164902.403000+2 40</TimeGenerated>
<MessageBody></MessageBody>
<MessageLabel></MessageLabel>
<TransportFlag></TransportFlag>
<TransactionCookie></TransactionCookie>
</WbemEventObject></XmlData>

This is the most interesting Altiris installation I've ever encountered.
__________________
______________________
Mike Ainsworth


Last edited by Mike; 05-02-2006 at 09:48 PM..
Mike is offline   Reply With Quote
Old 05-02-2006, 05:38 PM   #5 (permalink)
 
Mike's Avatar
 
Status: Altiris Engineer (Super Mod)
Join Date: 02-22-2005
Location: South Jordan, Utah, USA
Posts: 1,196


One more note and interesting item. I believe there is something Patch Management related with the issue as I am being bombed by NSE files in my EVTQueueFast and they all look something like this:

<?xml version='1.0' ?>
<XmlData>
<WbemEventObject class='CE_NfySvrRemoteEvent'>
<MessageID></MessageID>
<Resource guid='{A86740AE-7DC0-4417-B915-402BF9B554A1}' typeGuid='493435F7-3B17-4C4C-B07F-C23E7AB7781F'><Attribute name='Domain' value='Value'/><Attribute name='Name' value='ComputerName'/><Attribute name='Altkey1' value=''/><Attribute name='Altkey2' value='<clientmacaddress>'/></Resource>
<ScenarioGUID>{BEF25806-58DC-43B4-ABF7-F0B0C0F898B0}</ScenarioGUID>
<RemoteEvent>
<inventory>
<dataClass guid="{27a4854e-b26a-465e-b0ca-78cb079a954a}">
<data>
<resource> <row c1="{1AC7A644-5AB5-4434-B24E-B3C27BA17DED}" c2="40" c3="2" c4="38" c5="0" c6="8" />
<row c1="{31967BBA-7A64-495E-A61E-48018592D068}" c2="66" c3="2" c4="64" c5="0" c6="14" />
</resource>
</data>
</dataClass> </inventory>
</RemoteEvent><TimeGenerated>20060502172319.060000+2 40</TimeGenerated>
<MessageBody></MessageBody>
<MessageLabel></MessageLabel>
<TransportFlag></TransportFlag>
<TransactionCookie></TransactionCookie>
</WbemEventObject></XmlData>

If you look up the "data class guid" you learn that this is owned by Altiris Inventory Rule Management.

So then I look up the "Scenario Guid" and the first one I examine shows "default windows software release inventory policy".

All PM inventory policies carey the default setting of "send every 4 hours, only if changed". Why are we getting killed by this and how do we fix it?

I'm hoping our Golden State Goucho has something to say about it.
__________________
______________________
Mike Ainsworth

Mike is offline   Reply With Quote
Old 05-02-2006, 11:13 PM   #6 (permalink)
 
LordofthePatch's Avatar
 
Status: Site Administrator
Join Date: 02-16-2005
Location: The Shire
Posts: 3,078


How large is your InventoryRuleCache.iad file? I would try stopping the Altiris Agent service, deleting this file, and then restarting the service. By default it is located at C:\Program Files\Altiris\Altiris Agent\Agents\InventoryRuleAgent.
__________________
The Mac motto: "Anything you can do I can do better; I can do anything better than you."
LordofthePatch is offline   Reply With Quote
Old 05-03-2006, 06:47 AM   #7 (permalink)
 
Mike's Avatar
 
Status: Altiris Engineer (Super Mod)
Join Date: 02-22-2005
Location: South Jordan, Utah, USA
Posts: 1,196


Thanks Andrew, I'll check that out. So these messages in the EvtQueFast are abnormal then, right?

I'm getting so many of them from so many different systems in this environment that I think I'll do that to all the compy's system wide. I'll let you know if it fixes the issue.
__________________
______________________
Mike Ainsworth

Mike is offline   Reply With Quote
Old 05-03-2006, 09:22 AM   #8 (permalink)
 
Nick's Avatar
 
Status: Altiris Architect (Site Founder)
Join Date: 01-01-2005
Location: RDU, North Carolina, USA
Posts: 4,981


You definitely have me interested on this one. Keep us in the loop on what is going on.
__________________
Scire potentia est (knowledge is power)
Nick is offline   Reply With Quote
Old 05-03-2006, 09:48 AM   #9 (permalink)
 
LordofthePatch's Avatar
 
Status: Site Administrator
Join Date: 02-16-2005
Location: The Shire
Posts: 3,078


I wouldn't call this "abnormal" per se. Normal Inventory Rule evaluation does not cause this many NSE files. However, if you have the Send Inventory Summary option enabled on 3 of the 4 policies, then this kind of traffic would be normal (hence why it is recommended to turn them off). Go to Configuration tab > Solutions Settings > Software Management > Patch Management > Windows > Software Inventory and under the Global and Microsoft folders check out each policy and make sure the Send Inventory Summary box is unchecked.
__________________
The Mac motto: "Anything you can do I can do better; I can do anything better than you."
LordofthePatch is offline   Reply With Quote
Old 05-04-2006, 06:42 AM   #10 (permalink)
 
Mike's Avatar
 
Status: Altiris Engineer (Super Mod)
Join Date: 02-22-2005
Location: South Jordan, Utah, USA
Posts: 1,196


We've deleted everyone's .iad file with a job like this from Deployment Server:

Code:
Rem look for .iad file
if not exist "%programfiles%\altiris\altiris agent\agents\inventoryruleagent\inventoryrulecache.iad" goto end
 
REM stop Altiris Agent
net stop "altiris agent"
 
REM Delete .iad file(s)
cd\
cd "%programfiles%\altiris\altiris agent\agents\inventoryruleagent"
del *.iad
 
REM start altiris agent
net start "Altiris Agent"
 
:end
and turned off the "summary inventory" an we are rocking. We were getting around 2000 "bad" items in the EvtQueueFast\Bad\exception directory and 3 in the EvtQueueSlow\bad\exception every hour and now we are down to the normal parameters of just a couple of failed inventory processings a day. The server is running great again. We are still running 6.0 sp2 hf18 and the older version of patch. When we get on Sp3 and I tune up the machine.config / coresettings.config we'll be kickin @$$.

Still not sure what created it. I walked into this problem as I was brought in to help fix it.

Thanks for your help,

M
__________________
______________________
Mike Ainsworth


Last edited by Mike; 05-04-2006 at 02:53 PM..
Mike is offline   Reply With Quote
Old 05-04-2006, 09:29 AM   #11 (permalink)
 
LordofthePatch's Avatar
 
Status: Site Administrator
Join Date: 02-16-2005
Location: The Shire
Posts: 3,078


I'm sure that batch file will come in handy for someone else. Also, I have a .vbs version if anyone would prefer that. Glad to hear things are looking better Mike. Just make sure to send us a free T-Shirt or somethin'...
__________________
The Mac motto: "Anything you can do I can do better; I can do anything better than you."
LordofthePatch is offline   Reply With Quote
Old 05-04-2006, 04:21 PM   #12 (permalink)
 
kschroeder's Avatar
 
Status: Symantec Trusted Advisor
Join Date: 03-08-2005
Location: St. Louis, Missouri, USA
Age: 33
Posts: 420


Question

Quote:
Originally Posted by deus_1978
When we get on Sp3 and I tune up the machine.config / coresettings.config we'll be kickin @$$.
So what sorts of nifty tweaks can be done to machine.config? I read about some on BWG (they had a PPT/PDF with a bunch of tweaks for maxthreadsomething, etc, but they killed my NS when I tried them and I had to back it out). I have a real beast of a NS here (4X 3.0GHz Xeons, 8GB RAM) and it seems awfully slow to respond in the console (and the CPUs will be running at 20% at most).
kschroeder is offline   Reply With Quote
Old 05-04-2006, 05:21 PM   #13 (permalink)
 
Nick's Avatar
 
Status: Altiris Architect (Site Founder)
Join Date: 01-01-2005
Location: RDU, North Carolina, USA
Posts: 4,981


Do you have the /3GB and /PAE switches going on the bad boy?
__________________
Scire potentia est (knowledge is power)
Nick is offline   Reply With Quote
Old 05-04-2006, 05:30 PM   #14 (permalink)
 
kschroeder's Avatar
 
Status: Symantec Trusted Advisor
Join Date: 03-08-2005
Location: St. Louis, Missouri, USA
Age: 33
Posts: 420


Yup, on Server 2003 SP1. I've got SQL 2000 SP4 set to use a hard 5GB RAM also and set it to "reserve physical memory for SQL server".
kschroeder is offline   Reply With Quote
Old 12-17-2006, 08:39 PM   #15 (permalink)
 
Status: Super Altiris Admin
Join Date: 08-01-2005
Location: VA
Age: 31
Posts: 592


I know this thread is a bit old, but I have been having the issue described. Is it a good idea to delete the iad files on a maintenace schedule? I am getting a bunch of bad event files from this and the inv_inventory_agent_error table has tons of records. 8119269 for 819 distinct machines, to be exact. Thanks for any suggestions.
__________________
jperry933 is offline   Reply With Quote
Old 01-07-2007, 11:08 PM   #16 (permalink)
 
Status: Altiris Admin
Join Date: 07-29-2005
Location: melbourne
Age: 36
Posts: 55


I have just turned off the send inventory summary also but my issue really is the size of the IAD file (64mb) and that my users get 100% Cpu ALLOT !!
dylan is offline   Reply With Quote
Old 03-25-2008, 10:19 PM   #17 (permalink)
 
Status: Junior Altiris Admin
Join Date: 03-25-2008
Location: Australia
Posts: 1


I have roughly 3,500 workstations & 300 servers reporting to my NS 6.0 SP3 R7 Server which is a IBM Quad core Quad xeon 3.0ghz with 16gig ram and plenty of scsi/san disks.

When i run the Install vs. Used Report, my box uses 100% of all cpu cores for about 10 minutes before returning a result for my report.

I am running windows server 2003 sp2 enterprise 32bit with sql 2005 sp1 32bit enterprise edition with AWE enabled and the /pae switch in my boot.ini, sql is configured to use all 16 cores if needed.

Does anyone have any idea's how i can reduce the load on the cpu and speed up the report generation time?
JoBro is offline   Reply With Quote
Old 03-25-2008, 10:37 PM   #18 (permalink)
 
Nick's Avatar
 
Status: Altiris Architect (Site Founder)
Join Date: 01-01-2005
Location: RDU, North Carolina, USA
Posts: 4,981


Might want to check the size of your Inv_AeX_SW_Audit_Software_Spt table. If it is large it can take the query a long time to process.
__________________
Scire potentia est (knowledge is power)
Nick is offline   Reply With Quote
Old 03-25-2008, 11:00 PM   #19 (permalink)
 
Mike's Avatar
 
Status: Altiris Engineer (Super Mod)
Join Date: 02-22-2005
Location: South Jordan, Utah, USA
Posts: 1,196


also check the size of your AeX_AM_Inventory table. In the Notification Server Infrastructure report group there's a db tablesize report. It doesn't matter how beefy your server is, if you have a 10GB table you're hosed.

Defrag your indexes too
__________________
______________________
Mike Ainsworth

Mike is offline   Reply With Quote
Old 03-26-2008, 09:36 AM   #20 (permalink)
 
GeoMac's Avatar
 
Status: Super Altiris Admin
Join Date: 04-26-2005
Location: Indianapolis
Posts: 196


Quote:
Originally Posted by LordofthePatch View Post
I'm sure that batch file will come in handy for someone else. Also, I have a .vbs version if anyone would prefer that.
Hey Andrew, wouldn't the executable attached to this KB article:
https://kb.altiris.com/article.asp?article=22750&p=1
do the same thing?
__________________
"Any sufficiently advanced technology is indistinguishable from magic". - Arthur C. Clarke
GeoMac is offline   Reply With Quote
Old 04-14-2008, 11:51 AM   #21 (permalink)
 
GeoMac's Avatar
 
Status: Super Altiris Admin
Join Date: 04-26-2005
Location: Indianapolis
Posts: 196


Ah, I see the KB article has been updated (Last Updated: 4/1/2008) with Andrew's VBS file.
__________________
"Any sufficiently advanced technology is indistinguishable from magic". - Arthur C. Clarke
GeoMac is offline   Reply With Quote
Old 04-14-2008, 02:39 PM   #22 (permalink)
 
LordofthePatch's Avatar
 
Status: Site Administrator
Join Date: 02-16-2005
Location: The Shire
Posts: 3,078


Hey, it make take we awhile, but I eventually do everything I'm told...
__________________
The Mac motto: "Anything you can do I can do better; I can do anything better than you."
LordofthePatch is offline   Reply With Quote
Old 01-13-2009, 06:54 PM   #23 (permalink)
 
Status: Junior Altiris Admin
Join Date: 01-09-2009
Location: Santa Clara
Posts: 3


High CPU AeXSVC.exe

I faced low space issue with Microsoft update patches when I forced the pmimport (for 64 bit).

As a result I disabled ALL the bulletins and moved all downloaded updates shared folders to some other location as I wanted to create the fresh tasks.


After that I ran Inventory rule clear cache script.

Now I am restaging all the bulletins one by one and creating taks after staging them. Ever since I started this, CPU utilization is always 100% mostly by AeXSVC.exe .
What to do now?
gvirdi is offline   Reply With Quote
Old 01-14-2009, 01:21 PM   #24 (permalink)
 
kschroeder's Avatar
 
Status: Symantec Trusted Advisor
Join Date: 03-08-2005
Location: St. Louis, Missouri, USA
Age: 33
Posts: 420


The problem is that now all your clients have invalid packages since you deleted all the packages. They are trying to check for status for all the patch packages, and it is failing since the packages no longer exist. I would disable any existing Patch tasks you have and leave them disabled for a day or so and see if it doesn't improve.
__________________
Kyle Schroeder
Symantec Trusted Advisor (TA)
(Yeah, at the other site)
kschroeder is offline   Reply With Quote
Old 01-14-2009, 01:29 PM   #25 (permalink)
 
Status: Junior Altiris Admin
Join Date: 01-09-2009
Location: Santa Clara
Posts: 3


I already disabled all the patching tasks before moving them. And even as of now, none is the task is active.

I have noticed that when I disabled the Altiris Client message dispatcher sevice, Aexsvc is back to normal.

How long can I keep that service in stop state and what needs to be done now so as things are steady and back to normal?
gvirdi is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 06:51 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos