<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Resource problems on a web forum</title>
	<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum/</link>
	<description>Comments on Ask MetaFilter post Resource problems on a web forum</description>
	<pubDate>Fri, 04 Aug 2006 12:44:52 -0800</pubDate>
	<lastBuildDate>Fri, 04 Aug 2006 12:44:52 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Resource problems on a web forum</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum</link>	
		<description>I need pointers to Web forum packages (phpBB, SMF, vBulletin, etc) that go easy on CPU/mysql resources.  I have shared hosting on Dreamhost and poor performance (2-3 minute pageloads, for example) are starting to become a serious issue. &lt;br /&gt;&lt;br /&gt; Basically I&apos;m wondering if anyone here runs stuff like phpBB, IPB, vBulletin, etc, and has suggestions on how the different board packages stack up.&lt;br&gt;
&lt;br&gt;
1) What packages are hard on CPU/mysql, and what packages go easy?&lt;br&gt;
&lt;br&gt;
2) Any advice on cutting down resource consumption would be great.  I notice Invision has an admin panel for CPU resources but I don&apos;t see anything noteworthy in there besides the ability to make the board refuse connects when it gets too busy.&lt;br&gt;
&lt;br&gt;
Currently I am using Invision Power Board, running on their ellipsis server.  Quick overview of where I&apos;m sitting at... I average 45 CPU minutes per day, database 400 MB (three years worth of messages), average day 1000 connects and 10,000 queries, 0.3 Mcn.&lt;br&gt;
&lt;br&gt;
I&apos;ve lodged a support request with Dreamhost but am not expecting much since this problem is hard to quantify.  I would look at other forums for this information but what&apos;s out there seems to cater only to each individual software package.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.43693</guid>
		<pubDate>Fri, 04 Aug 2006 12:28:44 -0800</pubDate>
		<dc:creator>hodyoaten</dc:creator>
		
			<category>board</category>
		
			<category>forum</category>
		
			<category>invision</category>
		
			<category>phpbb</category>
		
	</item> <item>
		<title>By: hardcode</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum#670679</link>	
		<description>I&apos;d be looking firstly at how optimized my SQL was, did you write any yourself or is it all provided by the software?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.43693-670679</guid>
		<pubDate>Fri, 04 Aug 2006 12:44:52 -0800</pubDate>
		<dc:creator>hardcode</dc:creator>
	</item><item>
		<title>By: revgeorge</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum#670686</link>	
		<description>I suspect it&apos;s Dreamhost, not Invision Power Board, since &lt;a href=&quot;http://blog.dreamhost.com/2006/08/01/anatomy-of-an-ongoing-disaster/ &quot;&gt;they&apos;re having some major problems right now&lt;/a&gt;.  If that&apos;s the case switching forums won&apos;t help, switching hosts or riding it out until they fix things will.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.43693-670686</guid>
		<pubDate>Fri, 04 Aug 2006 12:50:29 -0800</pubDate>
		<dc:creator>revgeorge</dc:creator>
	</item><item>
		<title>By: paulsc</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum#670704</link>	
		<description>45 minutes of CPU time to service 1000 connections and 10,000 queries is abysmal. Are you sure it isn&apos;t 45 &lt;em&gt;seconds&lt;/em&gt; of CPU time? That would still be a lot for a load such as you describe, but threading messages in an unoptimized MySQL database can be pretty clunky.&lt;br&gt;
&lt;br&gt;
If you really are using 45 minutes of CPU time a day, doing what you&apos;ve described, something is badly broken, probably down on the server level, and fixing it immediately is warranted. Whatever you do, don&apos;t move a broken, borked database to a new install. When was the last time you did a full analysis and repair of your database?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.43693-670704</guid>
		<pubDate>Fri, 04 Aug 2006 12:59:25 -0800</pubDate>
		<dc:creator>paulsc</dc:creator>
	</item><item>
		<title>By: hodyoaten</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum#670719</link>	
		<description>Yes, it&apos;s about 3000 CPU seconds that I&apos;m using.  What would I be repairing exactly?  The board works fine, albeit slow.&lt;br&gt;
&lt;br&gt;
I&apos;m using a completely non-modified Invision package.&lt;br&gt;
&lt;br&gt;
Also I got a response from Dreamhost saying they loaded the page and there&apos;s no problem.  They&apos;re right, it does load fast.  But there&apos;s no reason it would have been fixed in just one hour after weeks of trouble.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.43693-670719</guid>
		<pubDate>Fri, 04 Aug 2006 13:12:20 -0800</pubDate>
		<dc:creator>hodyoaten</dc:creator>
	</item><item>
		<title>By: pzarquon</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum#670743</link>	
		<description>For what it&apos;s worth, I run a moderately active vBulletin board via shared hosting on Dreamhost.&lt;br&gt;
&lt;br&gt;
I did have to toggle some of the server optimization options (it sounds like there are more controls than what Invision offers), but otherwise, only got bogged down (and nasty notes from Dreamhost) a couple of times.  And those were because of immensely popular threads related to a national TV show that earned the site over a thousand simultaneous logged in users (and no doubt thousands more visitors) basically hitting &apos;refresh&apos; several times a minute.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.43693-670743</guid>
		<pubDate>Fri, 04 Aug 2006 13:40:59 -0800</pubDate>
		<dc:creator>pzarquon</dc:creator>
	</item><item>
		<title>By: Good Brain</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum#670745</link>	
		<description>I&apos;d wonder if the database was properly indexed.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.43693-670745</guid>
		<pubDate>Fri, 04 Aug 2006 13:42:43 -0800</pubDate>
		<dc:creator>Good Brain</dc:creator>
	</item><item>
		<title>By: paulsc</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum#670820</link>	
		<description>&lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/repair.html&quot;&gt;There&apos;s a lot of information on the Web about checking and repairing MySQL databases&lt;/a&gt;. &lt;a href=&quot;http://www.databasejournal.com/features/mysql/article.php/3300511&quot;&gt;Some of it is pretty version specific&lt;/a&gt;, as various versions of MySQL have introduced new features and bug fixes; you&apos;d have to know what version of MySQL you have, and work from that, as far as the built-in checking utilities are concerned.&lt;br&gt;
&lt;br&gt;
But a lot of applications have recommended routine maintenance procedures for the database, to keep operating at optimum levels. You may improve matters by cleaning out transaction log tables monthly (after you&apos;ve run and archived any traffic analysis reports), or by cleaning up tables where records have been dropped, but not yet deleted. Those kinds of activities should be documented in your application support documents. Doing these things can vastly reduce the size of an active database that is several years old, meaning more of it can fit in active memory, causing a lot less paging activity to disk. The result of that is far less wait time for the CPU, which ultimately means using the CPU more effectively, and thus, needing a lot less CPU time.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.43693-670820</guid>
		<pubDate>Fri, 04 Aug 2006 14:38:30 -0800</pubDate>
		<dc:creator>paulsc</dc:creator>
	</item><item>
		<title>By: paulsc</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum#670894</link>	
		<description>You might be having application bug problems too, if &lt;a href=&quot;http://forums.ipbhelpers.com/index.php?showtopic=11076&amp;hl=database+maintenance&quot;&gt;this thread over on the Invision IPB Helpers forum&lt;/a&gt; is indicative. No info at all what was done to help this guy, but then again, the &lt;a href=&quot;http://forums.ipbhelpers.com/index.php?showtopic=12119&quot;&gt;IPB Helpers board (itself probably running on Invision) was hacked back in June, and they didn&apos;t have any backup&lt;/a&gt;. Oh, and clicking the &quot;Article&quot; tab on that site generates unresolvable MySQL errors.&lt;br&gt;
&lt;br&gt;
Tee hee.&lt;br&gt;
&lt;br&gt;
I&apos;d contact Invision. But not through the Helpers forum...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.43693-670894</guid>
		<pubDate>Fri, 04 Aug 2006 15:48:50 -0800</pubDate>
		<dc:creator>paulsc</dc:creator>
	</item><item>
		<title>By: hatsix</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum#670907</link>	
		<description>Yeah, Dreamhost has had a HUGE amount of issues lately, I&apos;d guess it was everything hardware based that was screwing stuff up, not the software.... Things should be better now, but I&apos;d subscribe to the &quot;oh crap&quot; RSS feed (it&apos;s listed in the panel)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.43693-670907</guid>
		<pubDate>Fri, 04 Aug 2006 16:11:42 -0800</pubDate>
		<dc:creator>hatsix</dc:creator>
	</item><item>
		<title>By: smackfu</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum#670986</link>	
		<description>Do you have search enabled?  It seems like that is a major resource hog no matter what board system you&apos;re running, and the only ways around it are to have a separate search server/db ($$$) or use Google site search.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.43693-670986</guid>
		<pubDate>Fri, 04 Aug 2006 17:50:26 -0800</pubDate>
		<dc:creator>smackfu</dc:creator>
	</item><item>
		<title>By: blag</title>
		<link>http://ask.metafilter.com/43693/Resource-problems-on-a-web-forum#671040</link>	
		<description>You&apos;re not on &quot;Garland&quot; are you, by any chance?&lt;br&gt;
&lt;br&gt;
load average: 637.42, 617.62, 535.13&lt;br&gt;
&lt;br&gt;
:&apos;(</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.43693-671040</guid>
		<pubDate>Fri, 04 Aug 2006 18:55:01 -0800</pubDate>
		<dc:creator>blag</dc:creator>
	</item>
	</channel>
</rss>
