- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- SIM 7.3 - XML files stuck in the traps folder.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2013 06:08 AM
04-19-2013 06:08 AM
Hello All.
I migrated our Sim 6.3 CMS to a new HP 7.2 CMS. However, the CPU was always at 50 % or above.
I browsed the file mxdomainmgr.0.log at found several messages like this one :
19 Apr 12:36:57,981 WARN [StandardFileSystemManager] Could not notify listener of change to "file:/D:/program%20Files/HP/Systems Insight Manager/traps/<ip_address>-2013-04-19-12-35-48-188.xml".
org.dom4j.DocumentException: Error on line 5 of document file:/D:/Program%20Files/HP/Systems%20Insight%20Manager/traps/<ip_address>-2013-04-19-12-35-48-188.xml: The reference to entity "PD" must end with the ';' delimiter. Nested exception: The reference to entity "PD" must end with the ';' delimiter.
The folder D:\Program Files\HP\Systems Insight Manager\Traps was containing 2500+ XML files.
I stopped the HP sim service, renamed the traps folder to traps.old and created a new one, then restarted the sevice.
The CPU is now normal.
My understanding of the Traps folder is that each time the CMS receives a trap, it stores it in that folder in a XML file and deletes it when treated. This explain why I see files appearing then disappearing.
My question : why is there some files that the CMS seems unabledd to handle ? These files are not deleted and seems to cause a high CPU usage when they are too many.
Thank you for your replies.
Regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2013 06:41 AM - edited 04-19-2013 06:43 AM
04-19-2013 06:41 AM - edited 04-19-2013 06:43 AM
SolutionHi,
The fix is on the way. Instead of renaming you can even delete the xml file which got stuck.
This happens when there are lots of traps at the same instance of time (millisec.)
XML represents a trap and is named in millisec. This doesn't cause High CPU utilization instead will occupy some
space on the drive. As you rightly pointed after reading the file its deleted.
\T Bajpai
HP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2013 06:20 AM
04-23-2013 06:20 AM
Re: SIM 7.3 - XML files stuck in the traps folder.
I am also experiencing this type of error using v7.2 on Server 2012, also the system I was trying to migrate from, upgraded to v7.2 on Server 2003.
It looks like this is causing SIM to drop the connection to SQL (remote, also SQL 2012 SP1) which is very irritating.
The messages in the (massive!!) mxdomainmgr log are such as 'The markup in the document [an XML file in the traps folder] following the root element must be well-formed'.
Clearing the xml files is not a valid workaround as they will immediately start to fill up again.
Will the 'fix' sort this issue? When will the fix be available?
Regards
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2013 12:26 AM - edited 04-24-2013 12:27 AM
04-24-2013 12:26 AM - edited 04-24-2013 12:27 AM
Re: SIM 7.3 - XML files stuck in the traps folder.
We had 120k of those xml files.
For us, it was a host which had sent incorrect snmp traps to the HP SIM.
We manage about 500 Hosts and got 1k xml files kept in the traps folder.
Normally they should be deleted automatically.
edit: hp sim 7.3 is out? ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2013 08:04 AM
04-24-2013 08:04 AM
Re: SIM 7.3 - XML files stuck in the traps folder.
@ pooch: The xml files get deleted automatiically. Only which have some issue are getting stuck.
In case of trap burst this issue is observed when there are 2 many traps at the same instance
of time. Once the trap is read from the direc. it is shown in the "ALL Events" and file is deleted.
\T Bajpai
HP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2013 08:06 AM
04-24-2013 08:06 AM
Re: SIM 7.3 - XML files stuck in the traps folder.
I dnt think dropping of SQL Connection is related to trap error in mxdomainmgr.log.
The file gets automatically deleted after it is being read.
\T Bajpai
HP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2013 01:47 AM
04-26-2013 01:47 AM
Re: SIM 7.3 - XML files stuck in the traps folder.
Only which have some issue are getting stuck.
What can cause the xml files stuck at the traps folder?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2013 02:03 AM
04-26-2013 02:03 AM
Re: SIM 7.3 - XML files stuck in the traps folder.
Hello.
According to Tushar, a trap burst can cause this. Seems confirmed on our CMS as the stuck XML files are generated by only a few (3-4) servers.
Perhaps SIM is not able to handle all of them quicly enough and some are missed.
I also observed that many (not to say all) orphaned XML files have a malformed (to SIM point of view ?) data, and in my case a character SIM considers as faulty in the trap fields. May be an other cause of the issue.
A scheduled a daily CMD script that deletes all the XML files older than two days, until HP provides a fix or a new version.
I just hope I don't miss a severe event.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2013 03:19 AM - edited 05-02-2013 03:20 AM
05-02-2013 03:19 AM - edited 05-02-2013 03:20 AM
Re: SIM 7.3 - XML files stuck in the traps folder.
forfiles -p E:\HP\System~1\traps -s -m *.xml /d -2 /c "cmd /c del @file" exit
"E" --> parition drive letter
"-2" --> deletes all xml files older than 2 days
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2013 08:30 AM
05-06-2013 08:30 AM