<?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>Christopher Rivera &#187; Web Hosting</title>
	<atom:link href="http://www.chrisrivera.com/category/web-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisrivera.com</link>
	<description>Nothing Better Than The Classics</description>
	<lastBuildDate>Thu, 29 Sep 2011 22:20:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Finally using the multisite feature of WordPress.</title>
		<link>http://www.chrisrivera.com/2011/09/29/finally-using-the-multisite-feature-of-wordpress/</link>
		<comments>http://www.chrisrivera.com/2011/09/29/finally-using-the-multisite-feature-of-wordpress/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 21:24:42 +0000</pubDate>
		<dc:creator>chrisrivera</dc:creator>
				<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://chrisrivera.wp0.alpha27.com/?p=247</guid>
		<description><![CDATA[I&#8217;ve decided to give the Multisite/Network feature a whirl in WordPress 7. Currently migrating a number of sites over to it. The main reasons why I did was: Centralize all sites to a single install of WordPress. It allows for &#8230; <a href="http://www.chrisrivera.com/2011/09/29/finally-using-the-multisite-feature-of-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to give the Multisite/Network feature a whirl in WordPress 7. Currently migrating a number of sites over to it. The main reasons why I did was:</p>
<ol>
<li>Centralize all sites to a single install of WordPress. It allows for quicker turn around time when I need another wordpress site.</li>
<li>Allows me to update all sites at once, as opposed to one site at a time.</li>
<li>Allows me to control which plugins would be available per site. Unfortunately there are way too many plugins out there, and this way I can up to keep them under control.</li>
<li>Allows me to control the themes available to each of the sites.</li>
</ol>
<div>Overall it seems like a better way to manage multiple wordpress sites. I&#8217;ll have an update in the future about it.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisrivera.com/2011/09/29/finally-using-the-multisite-feature-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improving the performance of a website for a VPS: Apache</title>
		<link>http://www.chrisrivera.com/2008/08/27/improving-the-performance-of-a-website-for-a-vps-apache/</link>
		<comments>http://www.chrisrivera.com/2008/08/27/improving-the-performance-of-a-website-for-a-vps-apache/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 13:43:39 +0000</pubDate>
		<dc:creator>chrisrivera</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.chrisrivera.com/?p=40</guid>
		<description><![CDATA[When you run a website on a VPS, making any sort of improvements are helpful. This holds true for large servers as well. So another area you can improve is your web server. It&#8217;s really not that hard to tweak, &#8230; <a href="http://www.chrisrivera.com/2008/08/27/improving-the-performance-of-a-website-for-a-vps-apache/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When you run a website on a VPS, making any sort of improvements are helpful. This holds true for large servers as well. So another area you can improve is your web server. It&#8217;s really not that hard to tweak, if you know what to look for.</p>
<p><span id="more-40"></span></p>
<p>One of the easiest things you can do, if your modules are dynamically loaded, is to comment them out. When ever a module is active, it takes up some memory in every instance of Apache that runs. When I get more time, I will give a more thorough analysis as to which modules are safe to disable based on your needs, but for right now I&#8217;ll give you some general guidelines of what to look for. If you find that a something doesn&#8217;t work when you have disabled a module, turn it back on.</p>
<p>Modules:</p>
<p>Disable the modules you know you don&#8217;t use. It&#8217;s simple to just comment them out.</p>
<ul>
<li>userdir_module: this module supports user&#8217;s with a website folder. If you&#8217;ve ever seen something like http://www.example.com/~chris/  that&#8217;s a userdir. If you have a development environment, this is usefully to leave this on if you use it. If not, disable it.</li>
<li>cgi_module: this module does the handling for /cgi-bin/. If you still use cgi-bin for any of your scripts, leave it on, otherwise, disable it.</li>
<li>Any module that starts with proxy. If you use any of the proxy modules, leave them on, other wise disable them.</li>
<li>There are a number of modules that deal with authentication that you can disable, but there are one or two modules you need in that group because they provide code to some other sections of apache that if you were to disable them, you will notice some issues.</li>
<li>dav_module and dave_fs_module: Unless you use web dav for editing content on your website, disable them.</li>
<li>Depending on how you installed apache, it will install modules for specific programming languages like PHP, Perl, Python, and other things. If you don&#8217;t need those things, disable it.</li>
</ul>
<p>I&#8217;ve used this methods for years, and have found a great reduction in memory usage. Some cases shaving off 2-5MB per process.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisrivera.com/2008/08/27/improving-the-performance-of-a-website-for-a-vps-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improving the performance of a website for a VPS: MySQL</title>
		<link>http://www.chrisrivera.com/2008/08/27/improving-the-performance-of-a-website-for-a-vps-mysql/</link>
		<comments>http://www.chrisrivera.com/2008/08/27/improving-the-performance-of-a-website-for-a-vps-mysql/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 13:26:09 +0000</pubDate>
		<dc:creator>chrisrivera</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.chrisrivera.com/?p=39</guid>
		<description><![CDATA[I&#8217;m running this website, and others, on a VPS hosted at VPSLink. For those who don&#8217;t know, a VPS (Virtual Private Server) is a &#8220;fake&#8221; server that is partitioned off of a real server. For example, say you have this &#8230; <a href="http://www.chrisrivera.com/2008/08/27/improving-the-performance-of-a-website-for-a-vps-mysql/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m running this website, and others, on a VPS hosted at <a href="http://www.vpslink.com/" target="_blank">VPSLink</a>. For those who don&#8217;t know, a VPS (Virtual Private Server) is a &#8220;fake&#8221; server that is partitioned off of a real server. For example, say you have this big beefy box with 16GB of RAM, over 1 Terabyte of disk space, Dual Processors with Dual Cores. Sounds pretty nice. Well you could if you wanted to, segment the server into small servers by creating these smaller servers virtually. Through the use of software like <a href="http://wiki.openvz.org/Main_Page" target="_blank">OpenVZ</a> or <a href="http://www.xen.org/" target="_blank">XEN</a> you can do exactly this. You can take a beefy server and make multiple servers out of it. It&#8217;s different from shared hosting where you share resources with other sites on a server. With a VPS, you get a dedicated portion of the resources, or a slice of the box. It works out great if you want to have a server with it&#8217;s own resources to get around the issues of shared hosting, but not spend the full cost of full server like with a dedicated server. So that&#8217;s a VPS, and back to my problem.</p>
<p><span id="more-39"></span></p>
<p>I&#8217;ve setup the websites on this box to use wordpress, mysql, php, and apache. When I had just one site, I noticed that my memory usage seemed a bit high. It&#8217;s a combination of the default settings for mysql, and the memory requirements for wordpress. Fixing wordpress would take some time and that&#8217;s really for another posting, so instead, I decided to attack mysql, since that was the bigger culprit of my memory woes.</p>
<p>I have 256MB of Ram dedicated to my VPS, and with the one site, I was using about 170MB. That seemed excessive. I did some digging online for some information about improving the memory usage for MySQL. Here is what I found.</p>
<ul>
<li>If you are not using the berkeley database engine, disable it in your configuration file for mysql. You can do this by adding the entry &#8220;skip-bdb&#8221; under the [mysqld] section. This will tell mysql to not support this database, and it will not load what it would normally need for it.</li>
<li>If you are not using the inno database engine, disable it in your configuration file for mysql. You can do this by adding the entry &#8220;skip-innodb&#8221; under the [mysqld] section. This will tell mysql to not support this database, and it will not load what it would normally need for it.</li>
<li>Another thing I did was add the entry &#8220;skip-networking&#8221;. This tells mysql to not open itself up to outside traffic. If you&#8217;re running a database soley for the server it&#8217;s sitting on, then you don&#8217;t need the networking support.</li>
<li>Below are some other entries I&#8217;ve added to optimize the performance for a small environment. This will lower your query size, there by taking up less memory:
<ul>
<li>query_cache_limit = 256K</li>
<li>query_cache_size = 4M</li>
<li>key_buffer = 1M</li>
</ul>
</li>
</ul>
<p>When I find the original link I will post it. I was able to drop my memory usage on the box from 170MB to 45MB. When I added two more websites, it went up to 85MB. So far so good.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisrivera.com/2008/08/27/improving-the-performance-of-a-website-for-a-vps-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hosting company having a problem.</title>
		<link>http://www.chrisrivera.com/2008/08/20/hosting-company-having-a-problem/</link>
		<comments>http://www.chrisrivera.com/2008/08/20/hosting-company-having-a-problem/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 16:34:56 +0000</pubDate>
		<dc:creator>chrisrivera</dc:creator>
				<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.chrisrivera.com/?p=34</guid>
		<description><![CDATA[Looks like my hosting company is having a glitch today. I use vpslink for this site, and a few others. VPSLink has been very good overall. I hope the glitch is over. You can view a link to an uptime &#8230; <a href="http://www.chrisrivera.com/2008/08/20/hosting-company-having-a-problem/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Looks like my hosting company is having a glitch today. I use <a href="http://www.vpslink.com/" target="_blank">vpslink</a> for this site, and a few others. VPSLink has been very good overall. I hope the glitch is over.</p>
<p>You can view a link to an uptime monitor provided by <a href="http://www.webhostingstuff.com/uptime/VPSLink.html" target="_blank">WebHostingStuff.com</a> about them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisrivera.com/2008/08/20/hosting-company-having-a-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

