= !MapGuide RFC 87 - !SiteInformation enhancements = This page contains a change request (RFC) for the !MapGuide Open Source project. More !MapGuide RFCs can be found on the [wiki:MapGuideRfcs RFCs] page. == Status == ||RFC Template Version||(1.0)|| ||Submission Date||Oct. 01, 2009|| ||Last Modified||(Bruce Dechant) [[Timestamp]]|| ||Author||(Bruce Dechant)|| ||RFC Status||adopted|| ||Implementation Status||implemented|| ||Proposed Milestone||(2.2)|| ||Assigned PSC guide(s)||(Bruce Dechant)|| ||'''Voting History'''||October 13, 2009|| ||+1||Bob, Bruce, Jason, Tom, Trevor|| ||+0|||| ||-0|||| ||-1|||| ||no vote||Andy, Haris, Kenneth, Paul|| == Overview == This proposal is to add additional memory statistics to the !SiteInformation schema. == Motivation == When running stress tests on the server or just quering the current state of the server it would be nice to know the current working set memory and the virtual memory being used by the server. == Proposed Solution == A new !SiteInformation schema will be added with the following new statistics: {{{ WorkingSet - The working set memory of the MapGuide server in bytes. VirtualMemory - The virtual memory of the MapGuide server in bytes. }}} The new !SiteInformation schema version will be !SiteInformation-2.2.0.xsd {{{ Site Information The MapGuide server's Ip address. The MapGuide server's display name. The MapGuide server's status. Either Online or Offline The MapGuide server's version. The available physical memory for the operating system in bytes. The total physical memory for the operating system in bytes. The available virtual memory for the operating system in bytes. The total virtual memory for the operating system in bytes. The operating system version. The number of operations in the Admin queue. The number of operations in the Client queue. The number of operations in the Site queue. The average time it takes to process an operation in milliseconds. The cpu utilization as a percentage. The working set memory of the MapGuide server in bytes. The virtual memory of the MapGuide server in bytes. The total operation time of the MapGuide server in seconds. The number of active connections to the MapGuide server. The total number of connections that have been made to the MapGuide server. The total number of operations processed by the MapGuide server. The total number of operations received by the MapGuide server. The total time the MapGuide server has been running in seconds. The current number of entries in the MapGuide server cache. The total number of entries in the MapGuide server cache that have been dropped. }}} == Implications == This is new schema only. There will be no effect on existing applications. However, in order to get the new schema you must use the new version when doing the request. == Test Plan == Check that new schema returns new information. == Funding/Resources == Supplied by Autodesk. == Addendum, Oct. 28, 2009 == Updated schemas to support multiple servers in a site. == Addendum, Dec. 9, 2009 == Added the following additional statistics to the schema: {{{ CacheSize - The current number of entries in the MapGuide server cache. CacheDroppedEntries - The total number of entries in the MapGuide server cache that have been dropped. }}}