<?xml version="1.0"?>
<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:yt="http://gdata.youtube.com/schemas/2007" xmlns:atom="http://www.w3.org/2005/Atom">
   <channel>
      <title>alcides python</title>
      <description>Pipes Output</description>
      <link>http://pipes.yahoo.com/pipes/pipe.info?_id=658ae6c1f27c19782f3351d3ab1141cd</link>
      <atom:link rel="next" href="http://pipes.yahoo.com/pipes/pipe.run?_id=658ae6c1f27c19782f3351d3ab1141cd&amp;_render=rss&amp;page=2"/>
      <pubDate>Thu, 01 Oct 2015 23:28:41 +0000</pubDate>
      <generator>http://pipes.yahoo.com/pipes/</generator>
      <item>
         <title>Farewell passenger!</title>
         <link>http://feedproxy.google.com/~r/alcides/~3/Zp3UM6aY2c8/farewell-passenger</link>
         <description>&lt;p&gt;6 years later and two &lt;span class=&quot;caps&quot;&gt;VPS&lt;/span&gt; later, I decided it was time to leave Phusion Passenger.&lt;/p&gt;

	&lt;p&gt;I was experience several downtimes due to database (both mariadb and mysql) crashes. It turns out the database could not recover because ruby was occupying the whole memory (512Mb on DigitalOcean). The solution was to shut down apache, then start the database, and finally start apache again. But this would only work for a couple of days.&lt;/p&gt;

	&lt;p&gt;I decided to move all my django sites to &lt;span class=&quot;caps&quot;&gt;WSGI&lt;/span&gt; (yes, I was deploying django apps using passenger) and ported a sinatra app to django (thanks to &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;https://docs.djangoproject.com/en/1.7/howto/legacy-databases/&quot;&gt;legacy database support&lt;/a&gt;) just so I could get rid of ruby.&lt;/p&gt;

	&lt;p&gt;It all works well now. But in the meanwhile, I went to read Passenger&amp;#8217;s source code and I am currently considering forking and removing everything ruby from it. Just an apache2 module that would automatically handle wsgi, avoiding 4 lines of apache config per project. It can be done, I am just not sure it is worth the time. Maybe it would help other people with plain-simple deploying on Apache/NGINX?&lt;/p&gt;&lt;div class=&quot;feedflare&quot;&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://feeds.feedburner.com/~ff/alcides?a=Zp3UM6aY2c8:6vq8CIZS_lE:F7zBnMyn0Lo&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~ff/alcides?i=Zp3UM6aY2c8:6vq8CIZS_lE:F7zBnMyn0Lo&quot; border=&quot;0&quot;&gt;&lt;/a&gt; &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://feeds.feedburner.com/~ff/alcides?a=Zp3UM6aY2c8:6vq8CIZS_lE:RA5wSiGCOJw&quot;&gt;&lt;img src=&quot;http://feeds.feedburner.com/~ff/alcides?i=Zp3UM6aY2c8:6vq8CIZS_lE:RA5wSiGCOJw&quot; border=&quot;0&quot;&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src=&quot;http://feeds.feedburner.com/~r/alcides/~4/Zp3UM6aY2c8&quot; height=&quot;1&quot; width=&quot;1&quot; alt=&quot;&quot;/&gt;</description>
         <author>me@alcidesfonseca.com (alcides)</author>
         <guid isPermaLink="false">http://wiki.alcidesfonseca.com/blog/farewell-passenger</guid>
         <pubDate>Thu, 19 Feb 2015 11:07:38 +0000</pubDate>
      </item>
   </channel>
</rss>
<!-- fe8.yql.bf1.yahoo.com compressed/chunked Thu Oct  1 23:28:39 UTC 2015 -->
