<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Manju&#039;s blog &#187; Server Monitoring</title>
	<atom:link href="http://www.manjukiran.net/tag/server-monitoring/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.manjukiran.net</link>
	<description></description>
	<lastBuildDate>Thu, 20 May 2010 06:35:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Server Monitoring Rocks!</title>
		<link>http://www.manjukiran.net/2007/06/27/server-monitoring-rocks/</link>
		<comments>http://www.manjukiran.net/2007/06/27/server-monitoring-rocks/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 09:21:00 +0000</pubDate>
		<dc:creator>Manjukiran</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Server Monitoring]]></category>

		<guid isPermaLink="false">http://www.manjukiran.net/2007/06/27/server-monitoring-rocks/</guid>
		<description><![CDATA[


I promised to write about CFThread….but not finding enough time due to the hectic QA work.  I am assigned to guage the performance of ColdFusion 8 and this is taking away all my time.  Well performance testing is not all bad.  It does throw you some cool challenges!  And here is [...]]]></description>
			<content:encoded><![CDATA[<!--INFOLINKS_ON--><p><span style="font-family:times new roman;">I promised to write about CFThread….but not finding enough time due to the hectic QA work.  I am assigned to guage the performance of ColdFusion 8 and this is taking away all my time.  Well performance testing is not all bad.  It does throw you some cool challenges!  And here is one such challenge I faced I like to share&#8230;.And guess what, my story is a use-case for SERVER MONITORING!  SERVER MONITORING helped me debug a serious problem with my performance testing setup!  Well, rather easily! </span></p>
<p><span style="font-family:times new roman;">I was assigned the task to compare performance of ColdFusion MX 7 and ColdFusion 8 using a customer application (don’t ask me which application I chose:) ).  I used <a href="http://jakarta.apache.org/jmeter/">JMeter</a> to simulate a 30VU load.  I noticed something really bad.  The jrun process working set increased linearly as the test progressed.  When the memory hit the threshold (defined by the xmx java arg in jvm.config), the throughput would start dropping drastically.  Perf numbers would sway wildly.  I was puzzled.  I tried increasing xmx but that didn’t help much.  It just postponed my throughput drop by a few minutes.  I was pretty sure that ColdFusion wouldn’t be the culprit (optimist as I am <img src='http://www.manjukiran.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  and started to suspect the application (Oh!).</p>
<p>Server Monitoring came to my rescue.  I switched ON <span style="font-weight: bold;">MEMORY TRACKING</span><span style="font-weight: bold;"> on SM</span> for one of the runs to find out memory usage.  I was startled to see that the culprit was session memory.  A huge number of sessions were getting created.  It was not difficult to figure out that each request was creating a new session.  This means my cookie settings on the JMeter tool was improper.  The culprit was actually me doing a wrong configuration setting on JMeter.  I hadn&#8217;t enabled Cookie Manager in JMeter.  I enabled the HTTP Cookie Manager on JMeter and voila! Everything worked fine and as expected!  The session memory didn’t increase and stabilized at some point.  This should be because one session is created per virtual user which is what the case should be!  It couldn’t have been that easy to isolate the problem if not server monitor.<span style="font-weight: bold;">  SERVER MONITORING ROCKS!</span></span></p>
<!--INFOLINKS_OFF-->]]></content:encoded>
			<wfw:commentRss>http://www.manjukiran.net/2007/06/27/server-monitoring-rocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
