<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>GimmeSoda</title>
	
	<link>http://www.gimmesoda.com</link>
	<description>The Blog of a Programmer</description>
	<lastBuildDate>Thu, 02 Aug 2012 19:14:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/GimmeSoda" /><feedburner:info uri="gimmesoda" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>SSL Errors in the Memory Manager</title>
		<link>http://feedproxy.google.com/~r/GimmeSoda/~3/eMUivb5Dhe8/</link>
		<comments>http://www.gimmesoda.com/ssl-errors-in-the-memory-manager/#comments</comments>
		<pubDate>Sat, 14 Apr 2012 23:14:37 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[DreamHost]]></category>
		<category><![CDATA[JJ's DreamHost VPS Memory Manager]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=656</guid>
		<description><![CDATA[I&#8217;ve been contacted by several users of the memory manager application regarding the following error showing up in logs:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed'
This is due to the ssl certificate for the API having expired, something I&#8217;m sure DH will be  [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been contacted by several users of the memory manager application regarding the following error showing up in logs:</p>
<pre>error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed'</pre>
<p>This is due to the ssl certificate for the API having expired, something I&#8217;m sure DH will be fixing soon. In the meantime I used the opportunity to push out the latest version of the memory manager application with a work around for ignoring the expired cert. A couple of bug fixes (IE users should show the graphs properly now) and code cleanup went into this version.</p>
<p>Download is found to the right, or on the project&#8217;s github page here:</p>
<p><a href="https://github.com/jgalvez/JJs-DH-VPS-Memory-Manager">https://github.com/jgalvez/JJs-DH-VPS-Memory-Manager</a></p>
<p>Enjoy!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=eMUivb5Dhe8:9xjdMlM1p9A:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=eMUivb5Dhe8:9xjdMlM1p9A:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=eMUivb5Dhe8:9xjdMlM1p9A:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=eMUivb5Dhe8:9xjdMlM1p9A:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=eMUivb5Dhe8:9xjdMlM1p9A:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=eMUivb5Dhe8:9xjdMlM1p9A:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=eMUivb5Dhe8:9xjdMlM1p9A:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=eMUivb5Dhe8:9xjdMlM1p9A:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/GimmeSoda/~4/eMUivb5Dhe8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/ssl-errors-in-the-memory-manager/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.gimmesoda.com/ssl-errors-in-the-memory-manager/</feedburner:origLink></item>
		<item>
		<title>Wicked Fast: Bandwidth usage by IP of visitor from raw apache logs</title>
		<link>http://feedproxy.google.com/~r/GimmeSoda/~3/VEwFb3-y2wU/</link>
		<comments>http://www.gimmesoda.com/wicked-fast-bandwidth-usage-by-ip-of-visitor-from-raw-apache-logs/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 08:30:31 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Linux Command Line]]></category>
		<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=650</guid>
		<description><![CDATA[Mostly for my personal notes, but this is useful to anyone who works with raw apache logs.
awk '{A[$1] += $10} END {for (i in A) print i ": " A[i]/1024/1024 " Mb"}' access.log &#124; sort -k2 -n
A quick little one-liner to figure out what IP is sucking away your bandwidth.
]]></description>
				<content:encoded><![CDATA[<p>Mostly for my personal notes, but this is useful to anyone who works with raw apache logs.</p>
<p><code>awk '{A[$1] += $10} END {for (i in A) print i ": " A[i]/1024/1024 " Mb"}' access.log | sort -k2 -n</code></p>
<p>A quick little one-liner to figure out what IP is sucking away your bandwidth.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=VEwFb3-y2wU:7RMgT2SaioQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=VEwFb3-y2wU:7RMgT2SaioQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=VEwFb3-y2wU:7RMgT2SaioQ:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=VEwFb3-y2wU:7RMgT2SaioQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=VEwFb3-y2wU:7RMgT2SaioQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=VEwFb3-y2wU:7RMgT2SaioQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=VEwFb3-y2wU:7RMgT2SaioQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=VEwFb3-y2wU:7RMgT2SaioQ:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/GimmeSoda/~4/VEwFb3-y2wU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/wicked-fast-bandwidth-usage-by-ip-of-visitor-from-raw-apache-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.gimmesoda.com/wicked-fast-bandwidth-usage-by-ip-of-visitor-from-raw-apache-logs/</feedburner:origLink></item>
		<item>
		<title>PHP-FPM ondemand!</title>
		<link>http://feedproxy.google.com/~r/GimmeSoda/~3/8NrYa4y53kc/</link>
		<comments>http://www.gimmesoda.com/php-fpm-ondemand/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 10:23:12 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=646</guid>
		<description><![CDATA[PHP 5.3.9 came out on Jan 10th and reading over the changelog I geeked out.
http://php.net/ChangeLog-5.php#5.3.9
Specifically because of this line item:
Implemented FR #52569 (Add the &#8220;ondemand&#8221; process-manager to allow zero children).
Go check out that bug and the related patch. It&#8217;s going to be  [...]]]></description>
				<content:encoded><![CDATA[<p>PHP 5.3.9 came out on Jan 10th and reading over the changelog I geeked out.</p>
<p><a href="http://php.net/ChangeLog-5.php#5.3.9">http://php.net/ChangeLog-5.php#5.3.9</a></p>
<p>Specifically because of this line item:</p>
<p>Implemented FR <a href="http://bugs.php.net/52569">#52569</a> (Add the &#8220;ondemand&#8221; process-manager to allow zero children).</p>
<p>Go check out that bug and the related patch. It&#8217;s going to be amazing to see shared hosting services take advantage of PHP-FPM with the ondemand process manager option. In the past, when you started PHP w/FPM, you had two options dynamic or static, both of which created a pool of php processes at startup. Using ondemand allows for the php children processes to get started when there is a request that needs to be handled.</p>
<p>I just switched my server over to a custom php install using this feature, here was my memory usage before enabling it:</p>
<pre>free -m
             total       used       free     shared    buffers     cached
Mem:          1358       1242        115          0          0        342
-/+ buffers/cache:        900        457
Swap:            0          0          0</pre>
<p>Immediately after implementation this is my memory usage:</p>
<pre>free -m
             total       used       free     shared    buffers     cached
Mem:          1708        518       1189          0          0        491
-/+ buffers/cache:         26       1681
Swap:            0          0          0</pre>
<p>I should note that my <a title="JJ’s VPS Memory Manager v1.1 – Released" href="http://www.gimmesoda.com/jjs-vps-memory-manager-v1-1-released/">memory manager</a> increased the available memory on my machine while it was compiling PHP.</p>
<p>Amazing.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=8NrYa4y53kc:So_sGJUpbHk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=8NrYa4y53kc:So_sGJUpbHk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=8NrYa4y53kc:So_sGJUpbHk:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=8NrYa4y53kc:So_sGJUpbHk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=8NrYa4y53kc:So_sGJUpbHk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=8NrYa4y53kc:So_sGJUpbHk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=8NrYa4y53kc:So_sGJUpbHk:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=8NrYa4y53kc:So_sGJUpbHk:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/GimmeSoda/~4/8NrYa4y53kc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/php-fpm-ondemand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.gimmesoda.com/php-fpm-ondemand/</feedburner:origLink></item>
		<item>
		<title>Memory Usage on DreamHost Apache configuration Vs. Nginx Configuration</title>
		<link>http://feedproxy.google.com/~r/GimmeSoda/~3/yJVk0ZqpQrM/</link>
		<comments>http://www.gimmesoda.com/memory-usage-on-dreamhost-apache-configuration-vs-nginx-configuration/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 03:11:50 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[DreamHost]]></category>
		<category><![CDATA[JJ's DreamHost VPS Memory Manager]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=626</guid>
		<description><![CDATA[Please note that all I&#8217;m trying to point out here is the difference in stable memory usage by these two configurations. It should also be noted that the main cause of these differences is (for most people) going to be how PHP is spawned and handled by the two configurations.
Apache on the DreamHost  [...]]]></description>
				<content:encoded><![CDATA[<p>Please note that all I&#8217;m trying to point out here is the difference in stable memory usage by these two configurations. It should also be noted that the main cause of these differences is (for most people) going to be how PHP is spawned and handled by the two configurations.</p>
<p>Apache on the DreamHost configuration will (by default) use FastCGI for PHP, this will spawn processes as needed (and end them over time) which can lead to large spikes in memory usage. Predicting memory usage in this setup is difficult, to say the least.</p>
<div id="attachment_627" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gimmesoda.com/wp-content/uploads/2011/12/apache.png"><img class="size-medium wp-image-627" title="Memory Usage of DH's Apache Configuration" src="http://www.gimmesoda.com/wp-content/uploads/2011/12/apache-300x188.png" alt="" width="300" height="188" /></a><p class="wp-caption-text">Memory Usage of DH&#39;s Apache Configuration</p></div>
<p>Nginx on the DreamHost configuration is a bit easier on the eyes which you can see from the graph below. It should be noted that I run several more sites on my Nginx configuration then I do on the Apache configuration and because of this I run a much larger pool of PHP processes which increases the overall memory. If both servers were running the same set of sites with the only difference in configuration and applications being the selection of Nginx instead of Apache, memory usage would be lower and still predictable.</p>
<div class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gimmesoda.com/wp-content/uploads/2011/12/nginx1.png"><img title="Nginx" src="http://www.gimmesoda.com/wp-content/uploads/2011/12/nginx1.png" alt="" width="300" height="185" /></a><p class="wp-caption-text">Memory Usage of DH&#39;s Nginx Configuration</p></div>
<div></div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=yJVk0ZqpQrM:kbfencwV2MU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=yJVk0ZqpQrM:kbfencwV2MU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=yJVk0ZqpQrM:kbfencwV2MU:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=yJVk0ZqpQrM:kbfencwV2MU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=yJVk0ZqpQrM:kbfencwV2MU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=yJVk0ZqpQrM:kbfencwV2MU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=yJVk0ZqpQrM:kbfencwV2MU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=yJVk0ZqpQrM:kbfencwV2MU:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/GimmeSoda/~4/yJVk0ZqpQrM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/memory-usage-on-dreamhost-apache-configuration-vs-nginx-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.gimmesoda.com/memory-usage-on-dreamhost-apache-configuration-vs-nginx-configuration/</feedburner:origLink></item>
		<item>
		<title>JJ’s VPS Memory Manager v1.1 – Released</title>
		<link>http://feedproxy.google.com/~r/GimmeSoda/~3/NVr9L8tBYus/</link>
		<comments>http://www.gimmesoda.com/jjs-vps-memory-manager-v1-1-released/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 05:51:50 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[DreamHost]]></category>
		<category><![CDATA[JJ's DreamHost VPS Memory Manager]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=635</guid>
		<description><![CDATA[Check out the download links on the side bar to the right. You&#8217;ll now see that v1.1 of my memory manager has been released. Since I&#8217;ve got to start my shift soon I&#8217;m just going to give a quick summary of the new features, starting with the most important:
1) Process list dumped to log on resize  [...]]]></description>
				<content:encoded><![CDATA[<p>Check out the download links on the side bar to the right. You&#8217;ll now see that v1.1 of my memory manager has been released. Since I&#8217;ve got to start my shift soon I&#8217;m just going to give a quick summary of the new features, starting with the <a href="http://www.gimmesoda.com/memory-manager-v1-1-is-coming-soon/">most important</a>:</p>
<p>1) Process list dumped to log on resize (date, used memory, suggested memory, and cache memory are all listed as well)<br />
2) Ability to send email on resize request<br />
3) Ability to tweet (uses oauth) on resize request</p>
<p>Check out the readme file for information on installation, upgrades, and configuration.</p>
<p>As always please don&#8217;t hesitate to <a href="mailto:jj@gimmesoda.com">contact me</a> if you need help or have any questions!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=NVr9L8tBYus:IjPeZPwpWlA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=NVr9L8tBYus:IjPeZPwpWlA:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=NVr9L8tBYus:IjPeZPwpWlA:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=NVr9L8tBYus:IjPeZPwpWlA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=NVr9L8tBYus:IjPeZPwpWlA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=NVr9L8tBYus:IjPeZPwpWlA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=NVr9L8tBYus:IjPeZPwpWlA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=NVr9L8tBYus:IjPeZPwpWlA:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/GimmeSoda/~4/NVr9L8tBYus" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/jjs-vps-memory-manager-v1-1-released/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://www.gimmesoda.com/jjs-vps-memory-manager-v1-1-released/</feedburner:origLink></item>
		<item>
		<title>Memory Manager v1.1 is Coming Soon</title>
		<link>http://feedproxy.google.com/~r/GimmeSoda/~3/S0GrnpTlYaU/</link>
		<comments>http://www.gimmesoda.com/memory-manager-v1-1-is-coming-soon/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 02:03:11 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[DreamHost]]></category>
		<category><![CDATA[JJ's DreamHost VPS Memory Manager]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=630</guid>
		<description><![CDATA[First off, thanks to everyone who has been actively testing and using this application and contacting me with feature requests and questions. The latest version of the memory manager (v1.1) will be coming out soon and with it will come, what I consider to be, an essential feature. With every resize  [...]]]></description>
				<content:encoded><![CDATA[<p>First off, thanks to everyone who has been actively testing and using this application and contacting me with feature requests and questions. The latest version of the memory manager (v1.1) will be coming out soon and with it will come, what I consider to be, an essential feature. With every resize there will be a dump of all running processes sorted by memory usage.</p>
<p>What does that mean to you?</p>
<p>Chances are you&#8217;re using this memory manager to help figure out where your memory is going and keep your services up and running. Having a snapshot of your processes, taken when the script sees the need for a resize, will tell you where your memory is actually being used. Very soon you&#8217;ll be able to review your logs and click on the &#8220;process log&#8221; link. I&#8217;ll be posting an update to the news you see within the memory manager when the newest version is ready.</p>
<p style="text-align: center;"><a href="http://www.gimmesoda.com/wp-content/uploads/2011/12/Screen-shot-2011-12-08-at-5.57.27-PM.png"><img class="aligncenter size-full wp-image-631" title="Screen shot 2011-12-08 at 5.57.27 PM" src="http://www.gimmesoda.com/wp-content/uploads/2011/12/Screen-shot-2011-12-08-at-5.57.27-PM.png" alt="" width="598" height="65" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=S0GrnpTlYaU:IuzlTU3tCUY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=S0GrnpTlYaU:IuzlTU3tCUY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=S0GrnpTlYaU:IuzlTU3tCUY:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=S0GrnpTlYaU:IuzlTU3tCUY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=S0GrnpTlYaU:IuzlTU3tCUY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=S0GrnpTlYaU:IuzlTU3tCUY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=S0GrnpTlYaU:IuzlTU3tCUY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=S0GrnpTlYaU:IuzlTU3tCUY:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/GimmeSoda/~4/S0GrnpTlYaU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/memory-manager-v1-1-is-coming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.gimmesoda.com/memory-manager-v1-1-is-coming-soon/</feedburner:origLink></item>
		<item>
		<title>JJ’s VPS Memory Manager v1.0 Release</title>
		<link>http://feedproxy.google.com/~r/GimmeSoda/~3/tZGpZ7SwOcA/</link>
		<comments>http://www.gimmesoda.com/jjs-vps-memory-manager-v1-0-release/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 21:41:25 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[DreamHost]]></category>
		<category><![CDATA[JJ's DreamHost VPS Memory Manager]]></category>
		<category><![CDATA[Personal Projects]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=614</guid>
		<description><![CDATA[I am very pleased to announce that today version 1.0 of JJ&#8217;s VPS Memory Manager has now been released. This version is considered stable and all reported bugs have been corrected. Go ahead and download version 1.0 (zip or tar.gz are available) and give it a try, if you run into any problems or have  [...]]]></description>
				<content:encoded><![CDATA[<p>I am very pleased to announce that today version 1.0 of JJ&#8217;s VPS Memory Manager has now been released. This version is considered stable and all reported bugs have been corrected. Go ahead and download version 1.0 (<a href="https://github.com/jgalvez/JJs-DH-VPS-Memory-Manager/zipball/v1.0">zip</a> or <a href="https://github.com/jgalvez/JJs-DH-VPS-Memory-Manager/tarball/v1.0">tar.gz</a> are available) and give it a try, if you run into any problems or have questions shoot me an email: <a href="mailto: jj@gimmesoda.com">jj@gimmesoda.com</a></p>
<p>More screenshots after the jump:</p>
<p><a href="http://www.gimmesoda.com/wp-content/uploads/2011/12/mm_1.png"><img class="aligncenter size-medium wp-image-618" title="mm_1" src="http://www.gimmesoda.com/wp-content/uploads/2011/12/mm_1-300x195.png" alt="" width="300" height="195" /><span id="more-614"></span></a><a href="http://www.gimmesoda.com/wp-content/uploads/2011/12/mm_4.png"><img class="aligncenter size-medium wp-image-615" title="mm_4" src="http://www.gimmesoda.com/wp-content/uploads/2011/12/mm_4-300x196.png" alt="" width="300" height="196" /></a><a href="http://www.gimmesoda.com/wp-content/uploads/2011/12/mm_2.png"><img class="aligncenter size-medium wp-image-617" title="mm_2" src="http://www.gimmesoda.com/wp-content/uploads/2011/12/mm_2-300x195.png" alt="" width="300" height="195" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=tZGpZ7SwOcA:BmeRwlHrj3c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=tZGpZ7SwOcA:BmeRwlHrj3c:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=tZGpZ7SwOcA:BmeRwlHrj3c:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=tZGpZ7SwOcA:BmeRwlHrj3c:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=tZGpZ7SwOcA:BmeRwlHrj3c:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=tZGpZ7SwOcA:BmeRwlHrj3c:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=tZGpZ7SwOcA:BmeRwlHrj3c:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=tZGpZ7SwOcA:BmeRwlHrj3c:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/GimmeSoda/~4/tZGpZ7SwOcA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/jjs-vps-memory-manager-v1-0-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.gimmesoda.com/jjs-vps-memory-manager-v1-0-release/</feedburner:origLink></item>
		<item>
		<title>JJ’s Memory Manager – Update Coming Soon</title>
		<link>http://feedproxy.google.com/~r/GimmeSoda/~3/f85iuLtyqFs/</link>
		<comments>http://www.gimmesoda.com/jjs-memory-manager-update-coming-soon/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 18:16:33 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[DreamHost]]></category>
		<category><![CDATA[JJ's DreamHost VPS Memory Manager]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=599</guid>
		<description><![CDATA[I&#8217;ve said this many times before, &#8220;I&#8217;m not a UI designer.&#8221; It&#8217;s true, I&#8217;ve got a 0 on the scale of design sense. However, I&#8217;m extremely thankful to say that there are many people out there who do, and I&#8217;m fortunate enough to have some great people around who are willing to help improve my projects.  [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve said this many times before, &#8220;I&#8217;m not a UI designer.&#8221; It&#8217;s true, I&#8217;ve got a 0 on the scale of design sense. However, I&#8217;m extremely thankful to say that there are many people out there who do, and I&#8217;m fortunate enough to have some great people around who are willing to help improve my projects. Due to wonderful people donating their time and efforts my memory manager is going to be getting a facelift (I&#8217;m really excited about this) and here&#8217;s a sample of what&#8217;s to come.</p>
<div id="attachment_600" class="wp-caption aligncenter" style="width: 612px"><a href="http://www.gimmesoda.com/wp-content/uploads/2011/11/coming_soon.png"><img class="size-full wp-image-600" title="JJ's VPS Memory Manager - New Login Screen" src="http://www.gimmesoda.com/wp-content/uploads/2011/11/coming_soon.png" alt="" width="602" height="407" /></a><p class="wp-caption-text">Is this not awesome?</p></div>
<p>Stay tuned, I&#8217;m hoping to get this pushed out as soon as the design is implemented on the remaining pages, which may take some time but should be out within the coming week.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=f85iuLtyqFs:GUtQJVy5Okc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=f85iuLtyqFs:GUtQJVy5Okc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=f85iuLtyqFs:GUtQJVy5Okc:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=f85iuLtyqFs:GUtQJVy5Okc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=f85iuLtyqFs:GUtQJVy5Okc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=f85iuLtyqFs:GUtQJVy5Okc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=f85iuLtyqFs:GUtQJVy5Okc:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=f85iuLtyqFs:GUtQJVy5Okc:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/GimmeSoda/~4/f85iuLtyqFs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/jjs-memory-manager-update-coming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.gimmesoda.com/jjs-memory-manager-update-coming-soon/</feedburner:origLink></item>
		<item>
		<title>JJ’s VPS Memory Manager – Initial Public Release</title>
		<link>http://feedproxy.google.com/~r/GimmeSoda/~3/w44GqpiDw08/</link>
		<comments>http://www.gimmesoda.com/jjs-vps-memory-manager-initial-public-release/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 07:13:12 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[DreamHost]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[JJ's DreamHost VPS Memory Manager]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=591</guid>
		<description><![CDATA[You can grab a copy of the current master branch of my memory manager from here:
https://github.com/jgalvez/JJs-DH-VPS-Memory-Manager/zipball/master
The design to the UI will be getting upgraded when I get the chance to work it out, but the entire application is functional, if you have questions or  [...]]]></description>
				<content:encoded><![CDATA[<p>You can grab a copy of the current master branch of my memory manager from here:</p>
<p><a href="https://github.com/jgalvez/JJs-DH-VPS-Memory-Manager/zipball/master">https://github.com/jgalvez/JJs-DH-VPS-Memory-Manager/zipball/master</a></p>
<p>The design to the UI will be getting upgraded when I get the chance to work it out, but the entire application is functional, if you have questions or run into any problems please let me know. Here is the readme so you can see how it is installed and configured:</p>
<h1><span class="Apple-style-span" style="font-size: 13px; letter-spacing: normal; line-height: 18px;"><strong>IMPORTANT NOTE: While I work for DreamHost this application is NOT supported by DreamHost and any questions should be coming to me NOT DH Support!</strong></span></h1>
<p>This application was built to be a VPS Memory Manager focused on uptime rather then cost savings. You can see one of my initial post on the subject here: <a href="http://www.gimmesoda.com/thoughts-on-vps-memory-management/">http://www.gimmesoda.com/thoughts-on-vps-memory-management/</a></p>
<h2>Installation</h2>
<ol>
<li>Grab the files using git or download them from github: <a href="https://github.com/jgalvez/JJs-DH-VPS-Memory-Manager">https://github.com/jgalvez/JJs-DH-VPS-Memory-Manager</a></li>
<li>Upload the files.</li>
<li>Create an API key for use with the memory manager from here: <a href="https://panel.dreamhost.com/index.cgi?tree=home.api&amp;">https://panel.dreamhost.com/index.cgi?tree=home.api&amp;</a></li>
</ol>
<p>The key must have access to the following two functions:</p>
<p>dreamhost_ps-set_size services-progress</p>
<ol>
<li>Visit the URL you uploaded the memory manager, the install script will start.</li>
<li>Fill out the form that comes up, save the settings.</li>
</ol>
<h2>Configuration</h2>
<p>Once installed you should fine tune the application configuration. Let&#8217;s look at the important values in the config.php file:</p>
<p>define(&#8216;MIN_MEMORY&#8217;, &#8217;300&#8242;);<br />
define(&#8216;MAX_MEMORY&#8217;, &#8217;4000&#8242;);</p>
<p>MIN_MEMORY should be the minimum memory your VPS uses. 300 is default only because that is the lowest amount of memory you are allowed to use, change this to something more realistic.</p>
<p>MAX_MEMORY should be a maximum amount of memory you are willing to pay for, remember that the memory manager will only resize to this level if the memory is actually needed. You are not likely to be at this level of memory usage for long periods of time, if you are go buy a dedicated instead.</p>
<h2>Restart the Daemon</h2>
<p>Anytime you make a change to the configuration file you should restart the daemon (using the restart link within the application).<br />
That&#8217;s it! Feel free to contact me at <a href="mailto:jj@gimmesoda.com">jj@gimmesoda.com</a> with any questions.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=w44GqpiDw08:_3cBBirtyDE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=w44GqpiDw08:_3cBBirtyDE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=w44GqpiDw08:_3cBBirtyDE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=w44GqpiDw08:_3cBBirtyDE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=w44GqpiDw08:_3cBBirtyDE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=w44GqpiDw08:_3cBBirtyDE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=w44GqpiDw08:_3cBBirtyDE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=w44GqpiDw08:_3cBBirtyDE:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/GimmeSoda/~4/w44GqpiDw08" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/jjs-vps-memory-manager-initial-public-release/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://www.gimmesoda.com/jjs-vps-memory-manager-initial-public-release/</feedburner:origLink></item>
		<item>
		<title>Configure Cron using PHP</title>
		<link>http://feedproxy.google.com/~r/GimmeSoda/~3/wSMBL-wvrho/</link>
		<comments>http://www.gimmesoda.com/configure-cron-using-php/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 12:11:30 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[JJ's DreamHost VPS Memory Manager]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=588</guid>
		<description><![CDATA[Once again my insomnia proved to be useful. Have you ever wanted to automate the addition of a cron from PHP instead of having to manually configure from your host&#8217;s control panel? Check out the class I created for use with my memory  [...]]]></description>
				<content:encoded><![CDATA[<p>Once again my insomnia proved to be useful. Have you ever wanted to automate the addition of a cron from PHP instead of having to manually configure from your host&#8217;s control panel? Check out the class I created for use with my memory manager:</p>
<p><a href="http://code.gimmesoda.com/memorymanager/libs/Linux_Cron/cron.class.php">http://code.gimmesoda.com/memorymanager/libs/Linux_Cron/cron.class.php</a></p>
<p>In my case I implemented the class by doing the following:</p>
<p><code><br />
$this-&gt;start_daemon_command = '/usr/local/php5/bin/php ' . $system_path . '/daemon.php &gt;&gt; ' . $this-&gt;error_file . ' 2&gt;&amp;1 &amp;';<br />
$this-&gt;cron_command = '*/5 * * * * ' . $this-&gt;start_daemon_command;<br />
</code></p>
<p><code><br />
function add_cron() {<br />
$crontab = new Gimme_Cron;<br />
$crontab-&gt;add_line($this-&gt;cron_command);<br />
}<br />
</code></p>
<p><code><br />
function remove_cron() {<br />
$crontab = new Gimme_Cron;<br />
$crontab-&gt;remove_line($this-&gt;cron_command);<br />
}</code></p>
<p>Enjoy!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=wSMBL-wvrho:5zdFZGL6S8g:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=wSMBL-wvrho:5zdFZGL6S8g:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=wSMBL-wvrho:5zdFZGL6S8g:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=wSMBL-wvrho:5zdFZGL6S8g:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=wSMBL-wvrho:5zdFZGL6S8g:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=wSMBL-wvrho:5zdFZGL6S8g:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?i=wSMBL-wvrho:5zdFZGL6S8g:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/GimmeSoda?a=wSMBL-wvrho:5zdFZGL6S8g:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/GimmeSoda?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/GimmeSoda/~4/wSMBL-wvrho" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/configure-cron-using-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.gimmesoda.com/configure-cron-using-php/</feedburner:origLink></item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching using disk: basic

 Served from: www.gimmesoda.com @ 2013-05-15 09:47:54 by W3 Total Cache -->
