Basic Customization > User Interface Customization > MVC Components > MVC Components Overview > Data Sources > Monitoring Data Sources
  
Monitoring Data Sources
DataSourceMonitor MBean can be used to monitor and configure various properties. To find the monitor
From windchill shell, run “jconsole”
Select MethodServerMain
Select MBeans tab
MBean located at com.ptc>WebAppContexts>${WEBAPP_NAME}>Monitors>DataSourceMonitor
MBean monitoring
Parameter
Description
ActiveDataSourceCount
The number of datasources that currently are active in all user sessions
TotalDataSourcesCreated
The total number of DataSources that have been created for all user sessions
TotalDataSourcesDestroyed
The total number of DataSources that have been destroyed for all user sessions
MBean operations
Parameter
Description
cancelLongRunningDataSources
Cancel any datasources that have been running for at least the given amount of milliseconds, in all user sessions. This will cancel both active and inactive DataSources
MBean configuration
Parameter
Description
AllEmptyPollingTimeout
The timeout in milliseconds to wait for data chunks when the client polls for chunks and none of the ids it asked for have chunks available
ChunkBlockingLimit
Controls the number of chunks a DataSource can hold before it blocks the addition of more items until something polls it or it times out. The actual number of items this resolves to is ChunkBlockingLimit*MaxChunkSize.
DataSourceTaskPoolKeepAliveTime
The amount of time in milliseconds to keep idle threads alive in the DataSource task pool
DataSourceTaskPoolSize
The maximum number of threads allowed in the DataSource task pool
DataSourceTimeout
The amount of time in milliseconds to keep idle DataSources alive
FeedbackBlockingLimit
The number of feedback items a DataSource can hold before it blocks the addition of more feedback until something polls it or it times out
InitialChunkPollingTimeout
The amount of time in milliseconds to wait to for the initial chunk of data to be available, when using asynchronous datasources. This enables components to try and display some data in the table on initial rendering if possible
MaxPollSize
The maximum size of data that is returned by a DataSource for each poll.
PreferredMinPollSize
The minimum size of data for a poll. This is used when polling asynchronous datasources, to allow the server to decide whether to wait for more data or not
PreferredSerializationSize
The preferred size in bytes of the total response to a polling request. If the initial chunks do not reach this size limit, then additional chunks are added until they are over the limit. This property is not currently used.
ResultLimit
The total number of items that can be added to a DataSource before it fails.
SomeEmptyPollingTimeout
The timeout in milliseconds to wait for data chunks when the client polls for chunks and some of the ids it asked for have chunks available, but not all of them
TreeChildNodeFetchTimeout
The timeout in miliseconds to wait for child data for the tree. The OOTB value is 180000 ms and can be increased to avoid time out errors.