<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: YirNews: Can Success Kill Yirmumah?</title>
	<link>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/</link>
	<description>We are your overlords.</description>
	<pubDate>Sat, 22 Nov 2008 00:34:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: DJ</title>
		<link>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-274</link>
		<author>DJ</author>
		<pubDate>Tue, 21 Jun 2005 16:19:57 +0000</pubDate>
		<guid>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-274</guid>
		<description>Thanks Kashani! I must admit, half of the stuff you said sounded greek to me, especially before coffee.... BUT I'm gonna look into this plugin at least. The other thing, I'm going to e-mail to Dreamhost tech and see if they want to do it or not.

Thanks so much!</description>
		<content:encoded><![CDATA[<p>Thanks Kashani! I must admit, half of the stuff you said sounded greek to me, especially before coffee&#8230;. BUT I&#8217;m gonna look into this plugin at least. The other thing, I&#8217;m going to e-mail to Dreamhost tech and see if they want to do it or not.</p>
<p>Thanks so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kashani</title>
		<link>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-271</link>
		<author>kashani</author>
		<pubDate>Tue, 21 Jun 2005 15:24:24 +0000</pubDate>
		<guid>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-271</guid>
		<description>I'm a sysadmin and a Wordpress user so I might be able to shed some light on this. When I click on a link in my Wordpress while also using the Unix tool top at the command line I need this.

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                
 8291 apache    15   0 14952  14m  13m S  2.3  2.9   0:08.95 apache

The only interesting parts of that line is CPU which is 2.3%. That's the amount of CPU it took to server to parse the PHP page, make a db call, generate the html, and display it to the user. When you're getting a lot of traffic, you'll see a number of these processes each grabbing some fo the CPU. When Yirmumah grabs most of the CPU Yirmumah and the other sites get slower. The other sites call Dreamhost to complain and that's what makes Dreamhost unhappy. I know I've had those calls myself. So the admin isn't out to get you as someone mentioned, he just doesn't want to deal with angry customers. And most shared hosting solutions have an "at the admins discretion" type clause. That's pretty flexiable in most cases and probably why they haven't forced you to get your own server. 

There are a number of performance hacks you can try, but I'm going to narrow it down to the two I think are going to be worth the most effort and be the simplests to maintain.

eaccelerator is a PHP cache and is the active incarnation of turck-mmache which is pretty much dead. The admin of the server will need to install it and make some changes to your php.ini for mod_php. This will cache php scripts and speed the parse times. I already use it so I can't say what the speed increase might be. It will however help all sites on the server that use PHP if the admin is willing to install it. 

wp-cache is a Wordpress plugin. When someone views your site the index.php generates the page dynamicly. wp-cache takes that dynamic page and makes it into a static file which subsequent users view. I did some tests on my server and this is the CPU usage that viewing the front page takes now.

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                       
 1577 apache    15   0 12912  12m  11m S  0.3  2.5   0:00.54 apache

Going from 2.0-2.3 to 0.3 is a very nice gain. The default value for wp-cache is 3600 sec or 1 hour. You might want to lower that into the 10-15 minute range so people can see comments and stuff in a reasonable amount of time. There is also a place to set scripts as non-cache-able so you can keep certain parts of the front page dynamic if need be. Unfortunately you or someone is probably going to have to get their hands a little geeky for you to get the behavior you'll likely want.

Even if you don't use wp-cache for the site it might not be bad idea to install it and have it ready for those days when PA or ./ links to you. I've seen many sites put up "static content mode" messages and flip over to a less dynamic site to get through the day/week until traffic subsides. 

Hope that helps and I think your comic kicks enough ass to spend an hour or so looking into this and doing some testing.

kashani</description>
		<content:encoded><![CDATA[<p>I&#8217;m a sysadmin and a Wordpress user so I might be able to shed some light on this. When I click on a link in my Wordpress while also using the Unix tool top at the command line I need this.</p>
<p>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND<br />
 8291 apache    15   0 14952  14m  13m S  2.3  2.9   0:08.95 apache</p>
<p>The only interesting parts of that line is CPU which is 2.3%. That&#8217;s the amount of CPU it took to server to parse the PHP page, make a db call, generate the html, and display it to the user. When you&#8217;re getting a lot of traffic, you&#8217;ll see a number of these processes each grabbing some fo the CPU. When Yirmumah grabs most of the CPU Yirmumah and the other sites get slower. The other sites call Dreamhost to complain and that&#8217;s what makes Dreamhost unhappy. I know I&#8217;ve had those calls myself. So the admin isn&#8217;t out to get you as someone mentioned, he just doesn&#8217;t want to deal with angry customers. And most shared hosting solutions have an &#8220;at the admins discretion&#8221; type clause. That&#8217;s pretty flexiable in most cases and probably why they haven&#8217;t forced you to get your own server. </p>
<p>There are a number of performance hacks you can try, but I&#8217;m going to narrow it down to the two I think are going to be worth the most effort and be the simplests to maintain.</p>
<p>eaccelerator is a PHP cache and is the active incarnation of turck-mmache which is pretty much dead. The admin of the server will need to install it and make some changes to your php.ini for mod_php. This will cache php scripts and speed the parse times. I already use it so I can&#8217;t say what the speed increase might be. It will however help all sites on the server that use PHP if the admin is willing to install it. </p>
<p>wp-cache is a Wordpress plugin. When someone views your site the index.php generates the page dynamicly. wp-cache takes that dynamic page and makes it into a static file which subsequent users view. I did some tests on my server and this is the CPU usage that viewing the front page takes now.</p>
<p>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND<br />
 1577 apache    15   0 12912  12m  11m S  0.3  2.5   0:00.54 apache</p>
<p>Going from 2.0-2.3 to 0.3 is a very nice gain. The default value for wp-cache is 3600 sec or 1 hour. You might want to lower that into the 10-15 minute range so people can see comments and stuff in a reasonable amount of time. There is also a place to set scripts as non-cache-able so you can keep certain parts of the front page dynamic if need be. Unfortunately you or someone is probably going to have to get their hands a little geeky for you to get the behavior you&#8217;ll likely want.</p>
<p>Even if you don&#8217;t use wp-cache for the site it might not be bad idea to install it and have it ready for those days when PA or ./ links to you. I&#8217;ve seen many sites put up &#8220;static content mode&#8221; messages and flip over to a less dynamic site to get through the day/week until traffic subsides. </p>
<p>Hope that helps and I think your comic kicks enough ass to spend an hour or so looking into this and doing some testing.</p>
<p>kashani</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Skibin</title>
		<link>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-257</link>
		<author>Evan Skibin</author>
		<pubDate>Tue, 21 Jun 2005 03:33:02 +0000</pubDate>
		<guid>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-257</guid>
		<description>My friend who is more clever then i in these matters said:

What seams to be taking the time is processing data from the wordpress database, need to cut down on the number of queries per request.

Hope that helps.</description>
		<content:encoded><![CDATA[<p>My friend who is more clever then i in these matters said:</p>
<p>What seams to be taking the time is processing data from the wordpress database, need to cut down on the number of queries per request.</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Skibin</title>
		<link>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-256</link>
		<author>Evan Skibin</author>
		<pubDate>Tue, 21 Jun 2005 03:15:10 +0000</pubDate>
		<guid>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-256</guid>
		<description>I am fully aware of the differences between traffic and CPU load, this is just something that has been nagging at me that i haven't had the opportunity to bring up until now.  As far as the wordpress issue goes i am pretty sure that it is to blame, being based on php it generates the website from the info within the database every single time that a user requests the site. At the bottom of the page it says the site took 1.25 seconds to generate, without the percentage of the CPU that that was used to perform the operation it is virtually irrelevant but none the less seems way too long. Could a possible solution be to generate the homepage somehow in html and have that as the front with only the secondary links being generated real time since those are more frequently edited. This would completely cut out the wordpress workload for all the users who come to the site an only look at the homepage before proceeding to browse for bling on ebay?</description>
		<content:encoded><![CDATA[<p>I am fully aware of the differences between traffic and CPU load, this is just something that has been nagging at me that i haven&#8217;t had the opportunity to bring up until now.  As far as the wordpress issue goes i am pretty sure that it is to blame, being based on php it generates the website from the info within the database every single time that a user requests the site. At the bottom of the page it says the site took 1.25 seconds to generate, without the percentage of the CPU that that was used to perform the operation it is virtually irrelevant but none the less seems way too long. Could a possible solution be to generate the homepage somehow in html and have that as the front with only the secondary links being generated real time since those are more frequently edited. This would completely cut out the wordpress workload for all the users who come to the site an only look at the homepage before proceeding to browse for bling on ebay?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chadvavra</title>
		<link>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-254</link>
		<author>chadvavra</author>
		<pubDate>Tue, 21 Jun 2005 02:21:57 +0000</pubDate>
		<guid>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-254</guid>
		<description>you could see if the host can run a 'top' command on your servers stuff, see what processes are taking up the most CPU and then you woundn't have to fuck with stuff blindly.</description>
		<content:encoded><![CDATA[<p>you could see if the host can run a &#8216;top&#8217; command on your servers stuff, see what processes are taking up the most CPU and then you woundn&#8217;t have to fuck with stuff blindly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DJ</title>
		<link>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-253</link>
		<author>DJ</author>
		<pubDate>Tue, 21 Jun 2005 01:51:16 +0000</pubDate>
		<guid>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-253</guid>
		<description>Yeah-- It's CPU usage-- Im in no danger of bandwidth usage-- it boils down to the damn Wordpress engine eating a ton of CPU usage or something-- probably with pingbacks, and comments, the tagboard, etc.... I disable the pingback things-- Worse case scenario-- I'll make the main page just bare bones like before, and have the link back to here and I'll keep the blog page as my blog section so I can rant a bit more about crap. It probably has a TON to do with all the traffic coming in and wordpress's usage put together.... sigh.</description>
		<content:encoded><![CDATA[<p>Yeah&#8211; It&#8217;s CPU usage&#8211; Im in no danger of bandwidth usage&#8211; it boils down to the damn Wordpress engine eating a ton of CPU usage or something&#8211; probably with pingbacks, and comments, the tagboard, etc&#8230;. I disable the pingback things&#8211; Worse case scenario&#8211; I&#8217;ll make the main page just bare bones like before, and have the link back to here and I&#8217;ll keep the blog page as my blog section so I can rant a bit more about crap. It probably has a TON to do with all the traffic coming in and wordpress&#8217;s usage put together&#8230;. sigh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chadvavra</title>
		<link>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-251</link>
		<author>chadvavra</author>
		<pubDate>Tue, 21 Jun 2005 01:12:04 +0000</pubDate>
		<guid>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-251</guid>
		<description>CPU usage and bandwidth usage are 2 very different things.

Find out what they want lower before you go cutting out images and stuff.</description>
		<content:encoded><![CDATA[<p>CPU usage and bandwidth usage are 2 very different things.</p>
<p>Find out what they want lower before you go cutting out images and stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DJ</title>
		<link>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-249</link>
		<author>DJ</author>
		<pubDate>Tue, 21 Jun 2005 00:32:51 +0000</pubDate>
		<guid>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-249</guid>
		<description>That's interesting Evan-- and I didn't think about that at all... DAMMIT! I'm still an amatuer at most of this web stuff... It looks so pretty! I hope the usage goes down a bit. This really has been great for feedback and commenting here on the main page.</description>
		<content:encoded><![CDATA[<p>That&#8217;s interesting Evan&#8211; and I didn&#8217;t think about that at all&#8230; DAMMIT! I&#8217;m still an amatuer at most of this web stuff&#8230; It looks so pretty! I hope the usage goes down a bit. This really has been great for feedback and commenting here on the main page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Skibin</title>
		<link>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-248</link>
		<author>Evan Skibin</author>
		<pubDate>Tue, 21 Jun 2005 00:24:50 +0000</pubDate>
		<guid>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-248</guid>
		<description>What up, long time reader, second time poster here. I was a actually a little bit concerned about your traffic spiking when you switched to the new layout a couple of weeks ago. (Was it days, weeks, months? my sleep cycles are not very regular, i find it hard to keep track) but instead of loading a single comic strip you are now loading up to 4, not to mention the text which takes up no traffic. Surely that fact alone a least triples your traffic. I guess there are good citizens like me and possible a large section of your readership who turn up their cache way too high with the help of splendid browsers like fire fox and the oh so wonderful Opera and therefore don't waste useful traffic re downloading all of the content on subsequent visits, but i still cant help but feel that all he other users are relentless in wasting your traffic through no fault of their own.

Peace out.</description>
		<content:encoded><![CDATA[<p>What up, long time reader, second time poster here. I was a actually a little bit concerned about your traffic spiking when you switched to the new layout a couple of weeks ago. (Was it days, weeks, months? my sleep cycles are not very regular, i find it hard to keep track) but instead of loading a single comic strip you are now loading up to 4, not to mention the text which takes up no traffic. Surely that fact alone a least triples your traffic. I guess there are good citizens like me and possible a large section of your readership who turn up their cache way too high with the help of splendid browsers like fire fox and the oh so wonderful Opera and therefore don&#8217;t waste useful traffic re downloading all of the content on subsequent visits, but i still cant help but feel that all he other users are relentless in wasting your traffic through no fault of their own.</p>
<p>Peace out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chadvavra</title>
		<link>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-244</link>
		<author>chadvavra</author>
		<pubDate>Mon, 20 Jun 2005 21:25:40 +0000</pubDate>
		<guid>http://yirmumah.net/yirmumah-news-can-success-kill-yirmumah/#comment-244</guid>
		<description>I read that thread you linked up and it sounds like its just some jackass system guy sending out the threats, not a company policy.

I would defanitly tell them that it feels threatning to get a message like that though.  Maybe you could get a free month too.</description>
		<content:encoded><![CDATA[<p>I read that thread you linked up and it sounds like its just some jackass system guy sending out the threats, not a company policy.</p>
<p>I would defanitly tell them that it feels threatning to get a message like that though.  Maybe you could get a free month too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
