<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: WinCache Extension 1.1 for PHP &#8211; Release to Web</title>
	<atom:link href="http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/</link>
	<description>IIS, FastCGI, PHP and other interesting stuff</description>
	<lastBuildDate>Mon, 30 Jan 2012 13:10:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/comment-page-1/#comment-9002</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Wed, 02 Feb 2011 07:03:17 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=784#comment-9002</guid>
		<description>Hi Rafael,

I have not heard of Dolphin CMS, but based on your explaination I would not be surprised that it loads the CPU up to 100% on your server.

The first thing I would try is to set the FastCGI MaxInstances setting to some constant value other than 0. That way you will have one less variable to worry about when you analyze the load on the server. You said you had it set to 4 before. What was the CPU load then?

What is the behavior you are getting on your site right now when it is under load? Do you see requests dropped? Or is it just slow?

When you check the wincache.php stats, how many files do you see cached by WinCache?</description>
		<content:encoded><![CDATA[<p>Hi Rafael,</p>
<p>I have not heard of Dolphin CMS, but based on your explaination I would not be surprised that it loads the CPU up to 100% on your server.</p>
<p>The first thing I would try is to set the FastCGI MaxInstances setting to some constant value other than 0. That way you will have one less variable to worry about when you analyze the load on the server. You said you had it set to 4 before. What was the CPU load then?</p>
<p>What is the behavior you are getting on your site right now when it is under load? Do you see requests dropped? Or is it just slow?</p>
<p>When you check the wincache.php stats, how many files do you see cached by WinCache?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael</title>
		<link>http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/comment-page-1/#comment-8575</link>
		<dc:creator>Rafael</dc:creator>
		<pubDate>Fri, 28 Jan 2011 06:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=784#comment-8575</guid>
		<description>Hi Ruslan,

I&#039;ve been reading your work on PHP and IIS for a long time and you helped me out with some wordpress stuff before. I have an issue where one of my clients is running Dolphin 7.0.4 with Ray Media server on my Windows 2008 R2 machine and it is a real mess.

If you haven&#039;t worked with or heard of Dolphin it&#039;s a bloated CMS with lots of Social Plugins, Chat, and Video uploads built in PHP it&#039;s very Linux and Apache focused so the forums aren&#039;t all that great for developing on Windows. The problem is that the php-cgi.exe processes keep spawning out of control, at some times during busy traffic I get 60 processes going at once. So my server was constantly at 100% CPU usage.

I have PHP 5.3 and WinCache 1.1 working on the my server and I adjusted my FastCGI settings to allow more exeuction time. That helped but it&#039;s still really high usage. I have log files for the last few weeks and each day&#039;s log file is over 1.5 GB. It&#039;s nutty, the site shows 30 to 50 unique visitors per hour and it has over 1200 members now in it&#039;s third week. But it&#039;s reall resource intesive and I can&#039;t run my other sites that are on that server.

I have the logs, screen shots of my FastCGI settings, and the screen shots of my WinCache output file. One thing that is not operating for Wincahce is the UserCache because I don&#039;t know how to set it up for this CMS. Also on the Dolphin forums has the mindset of code that is very much spageghti code and letting unknowledgeable non-IT people run a mock with it. Whenever you get to knowledgeable people, they almost always have a Linux Apache expertise and I don&#039;t know about Windows mindset. So it&#039;s very frustrating.

So I figured you&#039;d be a good person to ask for help, I&#039;m willing to follow up on any instructions you give me I ahve a good deal of data about the site, logs, and specs, also Google Analytics on the traffic - I&#039;m just lost as to where to begin on this or how to go about finding out where to look for answers as to where the problem is with such high CPU usage and multiple php-cgi.exe processes. I also set the Max instances to 0 in the FastCGI settings I had it at 4 before, my CPU is a Xeon Quad core so it has 4 cores. I also figure this would a be a good project for you to gain insight to which I can help you with and you can post about it in regard to PHP and Windows because Dolphin has a strong following in LAMP circles, ones that like bloat CMS with Video and all that at least. If we can figure out a way to get this to scale and perform well on Windows with the Ray Media server, that would be a major achievement as far as being able to provide documentation about that, because I&#039;ve looked all over and can&#039;t find any such documentation.

Anyway, let me know if you want to help me and I&#039;ll send you a Contact message to see if we can follow up with an email.

Thanks,

Rafael</description>
		<content:encoded><![CDATA[<p>Hi Ruslan,</p>
<p>I&#8217;ve been reading your work on PHP and IIS for a long time and you helped me out with some wordpress stuff before. I have an issue where one of my clients is running Dolphin 7.0.4 with Ray Media server on my Windows 2008 R2 machine and it is a real mess.</p>
<p>If you haven&#8217;t worked with or heard of Dolphin it&#8217;s a bloated CMS with lots of Social Plugins, Chat, and Video uploads built in PHP it&#8217;s very Linux and Apache focused so the forums aren&#8217;t all that great for developing on Windows. The problem is that the php-cgi.exe processes keep spawning out of control, at some times during busy traffic I get 60 processes going at once. So my server was constantly at 100% CPU usage.</p>
<p>I have PHP 5.3 and WinCache 1.1 working on the my server and I adjusted my FastCGI settings to allow more exeuction time. That helped but it&#8217;s still really high usage. I have log files for the last few weeks and each day&#8217;s log file is over 1.5 GB. It&#8217;s nutty, the site shows 30 to 50 unique visitors per hour and it has over 1200 members now in it&#8217;s third week. But it&#8217;s reall resource intesive and I can&#8217;t run my other sites that are on that server.</p>
<p>I have the logs, screen shots of my FastCGI settings, and the screen shots of my WinCache output file. One thing that is not operating for Wincahce is the UserCache because I don&#8217;t know how to set it up for this CMS. Also on the Dolphin forums has the mindset of code that is very much spageghti code and letting unknowledgeable non-IT people run a mock with it. Whenever you get to knowledgeable people, they almost always have a Linux Apache expertise and I don&#8217;t know about Windows mindset. So it&#8217;s very frustrating.</p>
<p>So I figured you&#8217;d be a good person to ask for help, I&#8217;m willing to follow up on any instructions you give me I ahve a good deal of data about the site, logs, and specs, also Google Analytics on the traffic &#8211; I&#8217;m just lost as to where to begin on this or how to go about finding out where to look for answers as to where the problem is with such high CPU usage and multiple php-cgi.exe processes. I also set the Max instances to 0 in the FastCGI settings I had it at 4 before, my CPU is a Xeon Quad core so it has 4 cores. I also figure this would a be a good project for you to gain insight to which I can help you with and you can post about it in regard to PHP and Windows because Dolphin has a strong following in LAMP circles, ones that like bloat CMS with Video and all that at least. If we can figure out a way to get this to scale and perform well on Windows with the Ray Media server, that would be a major achievement as far as being able to provide documentation about that, because I&#8217;ve looked all over and can&#8217;t find any such documentation.</p>
<p>Anyway, let me know if you want to help me and I&#8217;ll send you a Contact message to see if we can follow up with an email.</p>
<p>Thanks,</p>
<p>Rafael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DareDemo</title>
		<link>http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/comment-page-1/#comment-2464</link>
		<dc:creator>DareDemo</dc:creator>
		<pubDate>Sun, 19 Sep 2010 06:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=784#comment-2464</guid>
		<description>Thanks for the details on this!

I&#039;d looked into a way around that perplexing 30 second delay back in April/May but didn&#039;t run across what was actually causing it.  Have been gritting my teeth about it when debugging on the dev platform ever since.

Searched again and there was the information you&#039;d posted, front and center.  

1.1 works like a charm.  Sweet.

Thanks again -- future work on this platform is looking far more efficient from here on out.</description>
		<content:encoded><![CDATA[<p>Thanks for the details on this!</p>
<p>I&#8217;d looked into a way around that perplexing 30 second delay back in April/May but didn&#8217;t run across what was actually causing it.  Have been gritting my teeth about it when debugging on the dev platform ever since.</p>
<p>Searched again and there was the information you&#8217;d posted, front and center.  </p>
<p>1.1 works like a charm.  Sweet.</p>
<p>Thanks again &#8212; future work on this platform is looking far more efficient from here on out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sirius Lee</title>
		<link>http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/comment-page-1/#comment-2408</link>
		<dc:creator>Sirius Lee</dc:creator>
		<pubDate>Sat, 04 Sep 2010 22:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=784#comment-2408</guid>
		<description>My mistake.  The globals needed to be different in Joomla.  Great that you provided the php script.</description>
		<content:encoded><![CDATA[<p>My mistake.  The globals needed to be different in Joomla.  Great that you provided the php script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sirius Lee</title>
		<link>http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/comment-page-1/#comment-2405</link>
		<dc:creator>Sirius Lee</dc:creator>
		<pubDate>Sat, 04 Sep 2010 16:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=784#comment-2405</guid>
		<description>Thanks. Running the WinCache script work when called directly. I&#039;ve been trying to get the cache script presented as a Joomla backend component.  The component is easy enough but when run this way the script report(s) are shown but they don&#039;t pick up any of the WinCache stats.  I&#039;m looking at other examples like WordPress and Drupal to see how it&#039;s been done.</description>
		<content:encoded><![CDATA[<p>Thanks. Running the WinCache script work when called directly. I&#8217;ve been trying to get the cache script presented as a Joomla backend component.  The component is easy enough but when run this way the script report(s) are shown but they don&#8217;t pick up any of the WinCache stats.  I&#8217;m looking at other examples like WordPress and Drupal to see how it&#8217;s been done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/comment-page-1/#comment-2387</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Wed, 01 Sep 2010 23:46:48 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=784#comment-2387</guid>
		<description>Hi Sirius Lee,

What does phpinfo show for wincache.ocenabled and wincache.fcenabled settings? They should be both set to 1.</description>
		<content:encoded><![CDATA[<p>Hi Sirius Lee,</p>
<p>What does phpinfo show for wincache.ocenabled and wincache.fcenabled settings? They should be both set to 1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sirius Lee</title>
		<link>http://ruslany.net/2010/06/wincache-extension-1-1-for-php-release-to-web/comment-page-1/#comment-2381</link>
		<dc:creator>Sirius Lee</dc:creator>
		<pubDate>Wed, 01 Sep 2010 17:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=784#comment-2381</guid>
		<description>I have the version of WinCache (from the Microsoft WebInstaller) installed on an IIS7 server.  The PHPInfo() shows the extension is enabled but the wincache.php page shows no activity.  The PHP handler uses FastCGI.  

Is there something else I should be doing to have the extension do its thing?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>I have the version of WinCache (from the Microsoft WebInstaller) installed on an IIS7 server.  The PHPInfo() shows the extension is enabled but the wincache.php page shows no activity.  The PHP handler uses FastCGI.  </p>
<p>Is there something else I should be doing to have the extension do its thing?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

