<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress Support Forums Tag: caching</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: caching</description>
<language>en</language>
<pubDate>Fri, 09 Jan 2009 01:07:03 +0000</pubDate>

<item>
<title>_ck_ on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9777</link>
<pubDate>Thu, 02 Aug 2007 06:20:07 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9777@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I solved all spam on my blogs quite easily - any post with more than one url never gets approved, never displayed. I've yet to see spammers not be greedy and only post one url. &#60;/p&#62;
&#60;p&#62;I had forgotten about the OpenID standard! We need to try to suggest that to the right people making WP/BB. That would be one of the most useful features ever (wordpress.com has nearly a quarter million registered members!)&#60;/p&#62;
&#60;p&#62;update: WAIT! It's been done?!?!?&#60;br /&#62;
&#60;a href=&#34;http://wordpress.com/blog/2007/03/06/openid/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.com/blog/2007/03/06/openid/&#60;/a&#62;&#60;br /&#62;
How do we get openid support into bbpress then?!&#60;/p&#62;
&#60;p&#62;added: here's a wordpress plugin to allow openid, now we need to port it to bbpress...&#60;br /&#62;
&#60;a href=&#34;http://verselogic.net/projects/wordpress/wordpress-openid-plugin/&#34; rel=&#34;nofollow&#34;&#62;http://verselogic.net/projects/wordpress/wordpress-openid-plugin/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'll start a new topic on this...
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9775</link>
<pubDate>Thu, 02 Aug 2007 06:15:35 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">9775@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;We are in perfect sync on that one... having xml-rpc pingbacks in a forum is the most worthless feature idea to ever be thought of. I've completely disabled them on wordpress because I don't think they provide any true value to the reader, and most of them are spam anyway. I've written my own simple spam plugin to run in conjunction with Akismet because I was unsatisfied with what I was getting.&#60;/p&#62;
&#60;p&#62;Your idea of the wordpress logins would work if they implemented OpenID in bbPress and had wordpress.com as an openid server. Would actually be a killer feature, I'd think.&#60;/p&#62;
&#60;p&#62;I've hacked up my wp-cache2 to allow for more dynamic code to be called on each post. Most of my content is really very static, so I don't need it to be updated often.&#60;/p&#62;
&#60;p&#62;I've never had any issues with it caching the wrong versions though.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9773</link>
<pubDate>Thu, 02 Aug 2007 05:46:09 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9773@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Oh I didn't realize xcache is just an opcode cache. I already use eaccelerator which seems to have zero quirks compared to other solutions. But yeah, any opcode cache for wordpress/bbpress is a must for any active site.&#60;/p&#62;
&#60;p&#62;I already create the sidebar statically across my sites, saves a lot of work and repetition on the db. &#60;/p&#62;
&#60;p&#62;the wp-cache &#34;plugin&#34; has flaws in it's logic. I noticed that unregistered visitors were getting edit links on posts, not good, even if they couldn't actually edit. Then it has an exclude feature to keep certain parts dynamic, but you can't have wordpress calls in those dynamic parts because wordpress isn't actually loaded, which is the whole point. so it won't work and gives error (&#60;a href=&#34;http://trac.bbpress.org/ticket/1&#34;&#62;#1&#60;/a&#62; confusion to most people trying to use it)&#60;/p&#62;
&#60;p&#62;In the end, I hacked wp-cache to only cache the RSS feeds which were causing the most requests, yet the most static of  all the content.  Caching rss feeds on bbpress should be an easy, useful thing too, but then on a forum I highly doubt the use of rss feeds on anything but the latest discussions.&#60;/p&#62;
&#60;p&#62;What really worries me about the 0.84 release is the xml-rpc pingbacks. bbpress is going to become known as the spammers forum of choice with a bad rep, until novices are given an easy option to turn it off, or better yet it's off by default.   I cannot disagree more highly with the entire feature idea. It defeats the entire purpose of a forum. What they are trying to do is have a universal way to cross post across forums but the whole point of a forum is *community* and getting people to actually visit, not stay away.  &#60;/p&#62;
&#60;p&#62;What they really should do instead of pingbacks if they want easy cross communication, is have a universal login based on a database at wordpress.com - Basically anyone with a wordpress account could visit your wordpress or bbpress site and instantly post if they wanted as  &#34;wp.membername&#34; without having to register again and again. Sure there are security issues to be tackled but it's better than anonymous spam heaven on pingbacks. Akismet won't protect pingbacks, I see spam in my wordpress.com account every week.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9772</link>
<pubDate>Thu, 02 Aug 2007 05:28:30 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">9772@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm using xcache with very good luck for wordpress, wordpress mu and bbpress on the same server.  Also using mysql caching with very good success.&#60;/p&#62;
&#60;p&#62;On a forum, the cache probably shouldn't be the entire page, but rather sections of it or at least the more expensive queries. A visitor who isn't logged in should probably see an almost completely cached version of the page.&#60;/p&#62;
&#60;p&#62;wp-cache2 for wordpress seems to handle this pretty well, and the built-in caching in wordpress mu also seems to work quite well.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9771</link>
<pubDate>Thu, 02 Aug 2007 05:25:04 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">9771@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#38;gt; I have to eventually code it to store the country data in the usermeta. But there's the issue that their IP/location can change on a per-post basis&#60;/p&#62;
&#60;p&#62;An upcoming feature is post tagging, you'll be able to store this data in an &#34;invisible&#34; post tag I believe.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9770</link>
<pubDate>Thu, 02 Aug 2007 05:18:43 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">9770@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;From what I remember the inbuilt cache in bbPress (when turned on) is just an optimised list of topics, posts, forums etc. Not entire pages of html.&#60;/p&#62;
&#60;p&#62;MySQL caching is definitely a good idea. I've had trouble with eAccelerator in the past though - it used to munge multi-dimensional session data (can't say if that's still the case, or if it is a problem for bbPress).
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9768</link>
<pubDate>Thu, 02 Aug 2007 03:59:01 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9768@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;How do you handle caching a page with items only a moderator should see, and then pages that are okay for subscribers, and then pages that are for open public? The cache will have to be rather smart. And then you can't show any personal information on the page like the user's name if it's going to be cached.&#60;/p&#62;
&#60;p&#62;bbpress still has some non-optimised routines that don't use the soft cache,  for example on the topic page, I've noticed it does a query at the end to fetch all the forums names for the moderator &#34;move this topic&#34; tool. Those should definitely be in the cache but it's not used.&#60;/p&#62;
&#60;p&#62;For a logged out user, I have my topic pages down to &#60;strong&#62;15&#60;/strong&#62; queries. That's the most &#34;expensive page&#34;. It uses 3 more queries for a logged in user (one of them listed above).&#60;/p&#62;
&#60;p&#62;But I've got  this geoip flag function that I wrote to show country flags and unfortunately it's very &#34;expensive&#34; and adds an extra query for every unique poster on the topic page. There's no way to stack requests since it must search by range (researched it like crazy but no solutions). I have to eventually code it  to store the country data in the usermeta. But there's the issue that their IP/location can change on a per-post basis and that sometimes I have to patch the geo information because the db gets it wrong. Oh well.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9767</link>
<pubDate>Thu, 02 Aug 2007 03:56:55 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">9767@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've been posting my optimizations into each of the official forum threads for the plugins... I'm not sure if any of yours were affected or not... can't remember at this point.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9762</link>
<pubDate>Thu, 02 Aug 2007 02:46:02 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">9762@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@HowToGeek&#60;/p&#62;
&#60;p&#62;Would you mind sharing the work you did to optimise the plugins, I'd be interested if any of them are ones I take care of?
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9742</link>
<pubDate>Wed, 01 Aug 2007 21:46:21 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">9742@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;There is soft user/topic caching, but there's no hard caching yet. If you look at the code, in cache.php, you'll see that it's written to enable file-based caching in bb-cache/, but doesn't seem to do so at the moment. It probably will in future I guess? If you fiddle you could probably turn it on. mdawaffe is now working on xml-rpc when he's working on bb at all, so it's not the next feature at least. I also think he was planning something else for .8.4.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9731</link>
<pubDate>Wed, 01 Aug 2007 17:42:49 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">9731@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm using xcache and mysql query caching with quite a bit of memory assigned to each, I just don't like going to the database unless there's an actual need for it.&#60;/p&#62;
&#60;p&#62;Few queries?  That doesn't seem right. If you are logged in, the amount of queries is ridiculous, especially if you are using plugins.&#60;/p&#62;
&#60;p&#62;I've hacked most of the plugins to make them more efficient, but a topic with 5 posts is doing 20 queries or so.&#60;/p&#62;
&#60;p&#62;Right now, it's not a big deal since my forum isn't even doing 1k pageviews/day, but I'm planning ahead for growth, and would like to have some type of caching somewhere.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9729</link>
<pubDate>Wed, 01 Aug 2007 17:30:27 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9729@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;bbpress uses so few queries that caching has got to be a low priority, especially when the point of a forum is to have very dynamic updates customised for the logged in member - it's very different than a wordpress environment&#60;/p&#62;
&#60;p&#62;as long as you have the mysql cache turned on, it should be very responsive - just look at the main wordpress support forum - eaccelerator would take care of caching the php opcode and that can't be too far behind a static page&#60;/p&#62;
&#60;p&#62;the bonus is that on an active forum, everything will be very dynamic as it happens...
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Caching in bbPress?"</title>
<link>http://bbpress.org/forums/topic/caching-in-bbpress#post-9728</link>
<pubDate>Wed, 01 Aug 2007 17:01:09 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">9728@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Looking in the code, I see a lot of references to object caching, but I don't think it's actually used anywhere.&#60;/p&#62;
&#60;p&#62;Does anybody know the state of the caching system, or what the problems were that required disabling it? Will it ever be enabled again?&#60;/p&#62;
&#60;p&#62;And yes, I already posted to the mailing list quite a while ago and got nothing.
&#60;/p&#62;</description>
</item>
<item>
<title>riddle on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9676</link>
<pubDate>Tue, 31 Jul 2007 18:09:56 +0000</pubDate>
<dc:creator>riddle</dc:creator>
<guid isPermaLink="false">9676@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks for all your help, CK!  I'll look into eaccelerator -- although I think I'll finish building the site first. :-)
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9671</link>
<pubDate>Tue, 31 Jul 2007 16:31:20 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9671@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;em&#62;I'm now getting a median response time of about 0.125 seconds for 8 queries on the top page and 0.205 seconds for 12 queries on a topic page.&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;That's like night and day compared to what you had before. It was taking almost a full second in some cases, look at the bottom source of the static.html !!! &#60;/p&#62;
&#60;p&#62;Now can you believe most shared hosting environments have mysql cache turned off by default!!! Even  your VPS neighbours may have it turned off which is causing high disk load that's affecting you. This is where all those who claim how VPS is superiour are wrong. Disk access is the achilles heel of VPS (and shared hosting).&#60;/p&#62;
&#60;p&#62;Next performance improvement you can do is install eaccelerator. Though it's nowhere near as easy as editing mysql and restarting services.&#60;/p&#62;
&#60;p&#62;Do you know how much guaranteed ram you have on your vps? Because the mysql and eacellerator cache will eat into that. If you have less that 128mb it will limit the sheer number of simultaneous connections you can have. Though for your needs I don't think it's a big deal unless all the search engines start scanning you at once.&#60;/p&#62;
&#60;p&#62;ps. don't worry any more about mysql tuning and phpmyadmin status reports, it's really all you can do for now - the rest is a limit of how wordpress/bbpress works and can't be avoided&#60;/p&#62;
&#60;p&#62;pps. most of your pages are now coming up in 1.5 seconds for me when they were taking up to 6 seconds before - there are still some weird delays sometimes though which must be OS loads
&#60;/p&#62;</description>
</item>
<item>
<title>riddle on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9670</link>
<pubDate>Tue, 31 Jul 2007 16:14:20 +0000</pubDate>
<dc:creator>riddle</dc:creator>
<guid isPermaLink="false">9670@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;P.S. I wrote a quick and dirty perl script to do a bunch of page retrievals, grep for bbPress's self-reporting string in the footer, and report median times.  Let me know if anybody wants it.
&#60;/p&#62;</description>
</item>
<item>
<title>riddle on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9668</link>
<pubDate>Tue, 31 Jul 2007 14:52:20 +0000</pubDate>
<dc:creator>riddle</dc:creator>
<guid isPermaLink="false">9668@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Restart mystery solved: WestHost changed something so mysqld required an IP bind address in my.cnf.  Once I formally reported the problem to WestHost support, they had it fixed in minutes and were even kind enough to apologize.  (I sure wish that init.d gave some diagnostics!)&#60;/p&#62;
&#60;p&#62;That done, I turned on query caching:&#60;/p&#62;
&#60;p&#62;query_cache_type=1&#60;br /&#62;
query_cache_limit=1M&#60;br /&#62;
query_cache_size=32M&#60;/p&#62;
&#60;p&#62;The result is significant improvement but there may be more I can do.  I'm now getting a median response time of about 0.125 seconds for 8 queries on the top page and 0.205 seconds for 12 queries on a topic page. &#60;/p&#62;
&#60;p&#62;In phpMyAdmin the indicators are greatly improved but I still have a couple in the red zone:&#60;/p&#62;
&#60;p&#62;Handler_read_rnd_next 15&#60;br /&#62;
(&#34;The number of requests to read the next row in the data file. This is high if you are doing a lot of table scans. Generally this suggests that your tables are not properly indexed or that your queries are not written to take advantage of the indexes you have.&#34;)&#60;/p&#62;
&#60;p&#62;Key_reads 6&#60;br /&#62;
(&#34;The number of physical reads of a key block from disk. If Key_reads is big, then your key_buffer_size value is probably too small. The cache miss rate can be calculated as Key_reads/Key_read_requests.&#34; My key buffer size is 16M.)&#60;/p&#62;
&#60;p&#62;Opened_tables 2&#60;br /&#62;
(&#34;The number of tables that have been opened. If opened tables is big, your table cache value is probably too small.&#34;  My table cache is 64.)&#60;/p&#62;
&#60;p&#62;I'm inclined to say this is good enough for now, but I'm always open for further suggestions.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9644</link>
<pubDate>Tue, 31 Jul 2007 06:24:46 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9644@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Looks like they are really trying to hide &#34;load&#34; from you.&#60;br /&#62;
I know of only two ways to grab it from php (there might be more?)&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;echo &#38;quot;method 1: &#38;quot;.file_get_contents(&#38;#39;/proc/loadavg&#38;#39;);
echo &#38;quot;method 2: &#38;quot;.shell_exec(&#38;quot;uptime&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Really though, should not be this hard.&#60;br /&#62;
It's possible to get better getting hosting for $150/year.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9643</link>
<pubDate>Tue, 31 Jul 2007 06:19:08 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9643@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I should point out that even your static.html serves up fairly slowly, though a little faster than the dynamic pages. Getting mysql caching may not be as big a boost as it hopefully should be. I can't even see what your guaranteed VPS ram is.&#60;/p&#62;
&#60;p&#62;If you are on a VPS there is usually a seperate VPS control panel that will also let you restart services, including mysql.&#60;/p&#62;
&#60;p&#62;my setup lets me do a &#34;service mysql restart&#34; but that's probably not universal. This is what I have in my.cnf&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[mysqld]

# myisam-recover = BACKUP
# delay-key-write = ALL

max_connections = 400
key_buffer = 16M
myisam_sort_buffer_size = 32M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1024
thread_cache_size = 286
interactive_timeout = 25
wait_timeout = 1000
connect_timeout = 10
max_allowed_packet = 16M
max_connect_errors = 10
query_cache_limit = 1M
query_cache_size = 16M
query_cache_type = 1
tmp_table_size = 16M
skip-innodb
old-passwords = 1
basedir = /var/lib/mysql
datadir = /var/lib/mysql
long_query_time = 1
log-slow-queries = /var/log/mysql/mysql-slow.log
log-error = /var/log/mysql/mysqld.err 

[mysqld_safe]
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 16M

[myisamchk]
key_buffer = 32M
sort_buffer = 32M
read_buffer = 16M
write_buffer = 16M&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>riddle on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9621</link>
<pubDate>Mon, 30 Jul 2007 22:20:50 +0000</pubDate>
<dc:creator>riddle</dc:creator>
<guid isPermaLink="false">9621@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Chris, thanks for the tips.  Yes, WestHost is a little peculiar in what it chooses to make available to shell customers -- there's no tcsh, either.&#60;/p&#62;
&#60;p&#62;&#34;/etc/rc.d/init.d/mysqld restart&#34; was what killed my MySQL and &#34;/etc/rc.d/init.d/mysqld start&#34; is a no-op.  Sigh.  I've got a query in to WestHost support.&#60;/p&#62;
&#60;p&#62;And thanks for the warning about the diagnostics.  Makes sense.  I'll disable them for now.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9619</link>
<pubDate>Mon, 30 Jul 2007 21:24:27 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">9619@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;And those files you posted aren't a security threat per se, but they do give a lot of info about the server.  I would take them down so you don't forget about them.  If someone were looking to exploit your server, they could start by finding out what options your php and perl were compiled with, and attack from there.  Just take them down so you don't forget about them.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9618</link>
<pubDate>Mon, 30 Jul 2007 21:22:49 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">9618@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;How about apache bench?&#60;br /&#62;
&#60;a href=&#34;http://httpd.apache.org/docs/1.3/programs/ab.html&#34; rel=&#34;nofollow&#34;&#62;http://httpd.apache.org/docs/1.3/programs/ab.html&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9616</link>
<pubDate>Mon, 30 Jul 2007 21:00:17 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">9616@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If you have shell access, I imagine you would have access to &#60;code&#62;top&#60;/code&#62; ?  My guess is the load on the server is pretty crazy, with lots of sites hosted there.&#60;/p&#62;
&#60;p&#62;edit: just read where you don't have &#60;code&#62;top&#60;/code&#62; in your path.  Hmm.  But you have access to my.cnf?  That's odd.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9615</link>
<pubDate>Mon, 30 Jul 2007 20:56:18 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">9615@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;/etc/rc.d/init.d/mysqld restart or /etc/init.d/mysqld restart ?
&#60;/p&#62;</description>
</item>
<item>
<title>riddle on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9607</link>
<pubDate>Mon, 30 Jul 2007 19:27:59 +0000</pubDate>
<dc:creator>riddle</dc:creator>
<guid isPermaLink="false">9607@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well, drat, while trying to get mysqld to reread my.cnf, I managed to kill it.  So any of you kind souls reading this, please try back in a while (or tell me how to restart mysqld!).
&#60;/p&#62;</description>
</item>
<item>
<title>riddle on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9606</link>
<pubDate>Mon, 30 Jul 2007 18:45:52 +0000</pubDate>
<dc:creator>riddle</dc:creator>
<guid isPermaLink="false">9606@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I do have access to my.cnf so I'm now off educating myself about the basics of mySQL configuration so I can enable caching without screwing something up.&#60;/p&#62;
&#60;p&#62;Meanwhile, though, I have some more data points.  In phpMyAdmin &#38;gt; Runtime Information the following variables are highlighted in red, meaning they are outside desirable range.  &#60;/p&#62;
&#60;p&#62;Slow_queries 5&#60;/p&#62;
&#60;p&#62;Handler_read_rnd 39k&#60;/p&#62;
&#60;p&#62;Handler_read_rnd_next 437k&#60;/p&#62;
&#60;p&#62;Slow_launch_threads 1&#60;/p&#62;
&#60;p&#62;Created_tmp_disk_tables 56&#60;/p&#62;
&#60;p&#62;Opened_tables 84&#60;/p&#62;
&#60;p&#62;The last is supposed to be a strong indication that my table cache value is too small (no surprise since it's zero!).   phpMyAdmin provides useful tips in interpreting these values, but as a mySQL newbie I'm still having trouble deciding how to act on them.  Suggestions welcome.&#60;/p&#62;
&#60;p&#62;As always, thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9604</link>
<pubDate>Mon, 30 Jul 2007 17:36:30 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9604@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well its a P4 (single core) @ 3ghz with 4gb of ram.&#60;br /&#62;
The question is how many clients is it hosting, and since you have your own ip, there's no real way to determine that.&#60;/p&#62;
&#60;p&#62;It's taking almost a full second for 9 queries. Something is very, very, very wrong. You might want to enquire. If you do have access to /etc/my.cnf, you can turn on the mysql query cache and that should cause a radical improvement.&#60;/p&#62;
&#60;p&#62;Not related to the mysql speed but just in general, any external javascript that you don't need  to execute immediately on a page, you should add the word DEFER to it. There are two flickr scripts you should try adding it to, if it still works with it in both IE and Firefox, it will make your pages seem a little faster.&#60;br /&#62;
ie.&#60;br /&#62;
&#60;code&#62;&#38;lt;script DEFER type=&#38;quot;text/javascript&#38;quot;  ...blah...blah&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Last but not least if they can't fix it, you can do better for your almost $150 a year.
&#60;/p&#62;</description>
</item>
<item>
<title>Ziyphr on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9602</link>
<pubDate>Mon, 30 Jul 2007 16:59:51 +0000</pubDate>
<dc:creator>Ziyphr</dc:creator>
<guid isPermaLink="false">9602@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It felt slow to me.. there shouldn't be that 2-3 second pause on each page.&#60;/p&#62;
&#60;p&#62;If it has been over 48 hours I'd find another host.
&#60;/p&#62;</description>
</item>
<item>
<title>riddle on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9599</link>
<pubDate>Mon, 30 Jul 2007 16:23:28 +0000</pubDate>
<dc:creator>riddle</dc:creator>
<guid isPermaLink="false">9599@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks, CK.  I'm a trusting soul, so here you go (on the same server and database):&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://riddle.whsites.net/bbpress/phpinfo.php&#34; rel=&#34;nofollow&#34;&#62;http://riddle.whsites.net/bbpress/phpinfo.php&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://riddle.whsites.net/bbpress/static.html&#34; rel=&#34;nofollow&#34;&#62;http://riddle.whsites.net/bbpress/static.html&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://riddle.whsites.net/cgi-bin/perlinfo.cgi&#34; rel=&#34;nofollow&#34;&#62;http://riddle.whsites.net/cgi-bin/perlinfo.cgi&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If I've just opened a big security hole, I hope someone will tell me!&#60;/p&#62;
&#60;p&#62;I'm paying about $12 a month so this shouldn't be absolute bottom-of-the-barrel service.&#60;/p&#62;
&#60;p&#62;As for the shell: yes, I'm an old Unix guy, I built the site in SSH and vi.  There's no top, w or uptime in my path.  If there's a Red Hat-specific bin directory where I should look, I'll do so.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "How to evaluate server speed?"</title>
<link>http://bbpress.org/forums/topic/how-to-evaluate-server-speed#post-9598</link>
<pubDate>Mon, 30 Jul 2007 15:44:18 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9598@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Page transfer time alone was not-so-hot.&#60;br /&#62;
Front page, non-cached, no-images, no external js/css was  2.84  seconds.  Loading a fresh topic took over 6 seconds in my browser.&#60;/p&#62;
&#60;p&#62;No gzip web compression enabled.&#60;br /&#62;
PHP5 (~10%+ slower than PHP4)&#60;br /&#62;
There's definitely no mysql cache - way, way too slow.&#60;/p&#62;
&#60;p&#62;Can you put make yourself a phpinfo.php page and put &#60;code&#62;&#38;lt;? phpinfo(); ?&#38;gt;&#60;/code&#62;  in there for us to check for other stuff? I don't think it's a security issue but others will have to agree or not.&#60;/p&#62;
&#60;p&#62;Another neat way to look at unknown servers is with this &#60;a href=&#34;http://ckon.wordpress.com/files/2007/07/perlinfo.txt&#34;&#62;perlinfo cgi&#60;/a&#62; I found and hacked at a bit a few years ago. Rename that to perlinfo.cgi upload to your cgi-bin and chmod it to 755. Then we can maybe see a bit more. If you don't know how to do all this, then nevermind.&#60;/p&#62;
&#60;p&#62;I need at least one static page to compare it all to.&#60;/p&#62;
&#60;p&#62;If you don't mind saying, how much are you paying for this hosting? According to westhost's page ALL clients are on their own VPS, even @ $4/mo which is kinda strange. If true, that means you can customize mysql yourself and install eaccelerator.&#60;/p&#62;
&#60;p&#62;&#60;em&#62;top w and uptime&#60;/em&#62; are all done from a &#34;shell&#34; via SSH. You need to email them and ask them how you access your shell.  If you are indeed on a VPS you should have access to one. Many shared hosting hosts block shell access because of security issues.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
