MID Server time out getting data from SCCM...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2012 10:20 AM
I am using the SCCM plugin and trying to import the software data which is about 4,300,000 rows. The import times out before the data is done being compiled. Does anyone have any ideas on how to get the import to wait for the MID server for more than 300 seconds OR a way to break the data up in such a way that I can get it in smaller chunks?
Any help would be appreciated.
Drew
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2012 11:15 AM
There are two fields on the Data Source form that apply to JDBC: connection_timeout and query_timeout. You may have to personalize the Data Source form to view those fields. See if those help extend your query time beyond 300 on the software packages datasource for the SCCM integration.
Hopefully those do the trick. I haven't tried them myself, so YMMV.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2012 11:28 AM
Thanks for the replay but it turns out the MID server is crashing when I try and get all of the 4,300,000 rows of data. I logged a ticket with support but it basically looks like I need to find a way to get the data in much smaller parts. Not sure how to do that without creating 50 query's or more...
From MID server logs.
03/29/12 14:07:58 (136) Probe: JDBCProbe:94bee16a37001000deeabfc8bcbe5d9f SELECT * FROM v_Add_Remove_Programs WHERE TimeStamp >= '2012-03-27 14:42:14.0' ORDER BY TimeStamp ASC
03/29/12 14:08:00 (292) MIB Initializer Remote MIBs loaded
03/29/12 14:08:25 (370) ECCQueueMonitor.15 SEVERE *** ERROR *** Error or exception in monitor
java.lang.OutOfMemoryError: Java heap space
03/29/12 14:08:15 (526) ECCSender.1 SEVERE *** ERROR *** Error or exception in monitor
java.lang.OutOfMemoryError: Java heap space
03/29/12 14:08:31 (714) Probe: JDBCProbe:94bee16a37001000deeabfc8bcbe5d9f SEVERE *** ERROR *** Java heap space
java.lang.OutOfMemoryError: Java heap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2012 11:52 AM
I see...I don't know if this link will help you out or not:
http://wiki.service-now.com/index.php?title=MID_Server_Configuration#Setting_MID_Server_Memory_Size
According to that article, you can increase the default Heap size for the MID server. Since you are using a time stamp and getting deltas with each query, I imagine this is due to the initial load into SCCM. Once you get the 4+ million records in, you shouldn't be running into these problems.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2012 12:02 PM
Oh, missed that in the docs... Will give it a try.