<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Barfoo.org on BAFM</title><link>https://christian.blog.pakiheim.de/tags/barfoo.org/</link><description>Recent content in Barfoo.org on BAFM</description><generator>Hugo -- 0.160.1</generator><language>en</language><lastBuildDate>Fri, 08 Aug 2014 08:51:30 +0000</lastBuildDate><atom:link href="https://christian.blog.pakiheim.de/tags/barfoo.org/index.xml" rel="self" type="application/rss+xml"/><item><title>Weird lighttpd troubles</title><link>https://christian.blog.pakiheim.de/posts/2014-08-08_weird-lighttpd-troubles/</link><pubDate>Fri, 08 Aug 2014 08:51:30 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=2296</guid><description>&lt;p&gt;Well, since about a week or so I keep having troubles with my vHost and lighttpd. The point being, after some time (up till now it&amp;rsquo;s been something between days and minutes) lighttpd completely freezes and doesn&amp;rsquo;t serve no content anymore. I don&amp;rsquo;t know if this is related to PHP (might be, I did perform an update to &lt;em&gt;dev-lang/php-5.2.9-r2&lt;/em&gt; on &lt;em&gt;Thu May 28 12:18:57 2009&lt;/em&gt;), but I have to figure this out since the restart cron-job is getting annoying.&lt;/p&gt;</description></item><item><title>Lighttpd troubles resolved</title><link>https://christian.blog.pakiheim.de/posts/2014-08-08_lighttpd-troubles-resolved/</link><pubDate>Fri, 08 Aug 2014 08:50:47 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=2311</guid><description>&lt;p&gt;Well, after last weeks lighttpd troubles with PHP (or was it without ?), they finally seem resolved. First thing I did, was upgrade to the new php-version (5.2.10). After that, I ran revdep-rebuild, which apparently found issues with lighttpd being linked to a wrong pcre-version. After remerging lighttpd the &lt;a href="https://christian.blog.pakiheim.de/posts/2014-08-08_weird-lighttpd-troubles" title="Weird lighttpd troubles"&gt;issues&lt;/a&gt; seem to be gone!&lt;/p&gt;
&lt;p&gt;Well, guess I was to quick in saying the problem was resolved .. it&amp;rsquo;s still there, just not happening as fast as it would in the past &amp;hellip;.&lt;/p&gt;</description></item><item><title>Lighttpd issues</title><link>https://christian.blog.pakiheim.de/posts/2014-08-08_lighttpd-issues/</link><pubDate>Fri, 08 Aug 2014 08:47:28 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=2326</guid><description>&lt;p&gt;At first, it seemed that &lt;a href="https://christian.blog.pakiheim.de/posts/2014-08-08_lighttpd-troubles-resolved" title="Lighttpd troubles resolved"&gt;my lighttpd issues were resolved&lt;/a&gt; by updating PHP/remerging lighttpd. But apparently not. After putting in a crontab entry, that restarts lighttpd every 15 minutes (which completely sucks), the issue was minimized in it&amp;rsquo;s impact but not really solved.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt" id="hl-0-1"&gt;&lt;a class="lnlinks" href="#hl-0-1"&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;*/15 * * * * root /etc/init.d/lighttpd restart &amp;amp;&amp;gt;/dev/null
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Thanks to Michél (I guess, again) &amp;ndash; who helped me looking at the strace logs, and of course Christian (aka hoffie &amp;ndash; one of my old Gentoo buddies), the issue seems finally resolved. It turns out it was neither a PHP nor lighttpd issue. It was a simple matter of (stale) symlinks in /etc/ssl/certs if you can imagine that. Apparently a stale symlink forced PHP into a loop or something, from which it couldn&amp;rsquo;t recover on it&amp;rsquo;s own.&lt;/p&gt;</description></item><item><title>Setting up a phpMyAdmin auto-update</title><link>https://christian.blog.pakiheim.de/posts/2014-08-06_setting-up-a-phpmyadmin-auto-update/</link><pubDate>Wed, 06 Aug 2014 19:20:11 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4278</guid><description>&lt;p&gt;Well, just like everybody else, I&amp;rsquo;ve been using phpMyAdmin to do my casual MySQL fixing/work on this website. However, recently the phpMyAdmin developers switched to Git on SourceForge and then to GitHub shortly after that.&lt;/p&gt;
&lt;p&gt;So, the guy over at &lt;a href="http://www.networkjack.info/blog/2011/04/05/simple-checkout-of-phpmyadmin-with-git/"&gt;Network Jack wrote down&lt;/a&gt; what I had already been doing:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt" id="hl-0-1"&gt;&lt;a class="lnlinks" href="#hl-0-1"&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-2"&gt;&lt;a class="lnlinks" href="#hl-0-2"&gt;2&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-3"&gt;&lt;a class="lnlinks" href="#hl-0-3"&gt;3&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git clone --depth&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt; git://phpmyadmin.git.sf.net/gitroot/phpmyadmin/phpmyadmin
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; phpmyadmin
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git checkout --track -b PMASTABLE origin/STABLE
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;However, as I said before, they switched from SourceForge to GitHub, thus you need another URL.&lt;/p&gt;</description></item><item><title>Recent downtime</title><link>https://christian.blog.pakiheim.de/posts/2012-11-28_recent-downtime/</link><pubDate>Wed, 28 Nov 2012 21:01:40 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4364</guid><description>&lt;p&gt;Well, you might have noticed that barfoo.org hasn&amp;rsquo;t been available for the last week or so &amp;hellip; I had to change the DNS provider (thanks at this point again to Bene from &lt;a href="http://bb.xnull.de/"&gt;xnull.de&lt;/a&gt; for putting me up as long as he did).&lt;/p&gt;
&lt;p&gt;Sadly my new provider, when purchasing the domain hosting, doesn&amp;rsquo;t allow sub-domains. So after opening a service ticket with them, they switched me into a webhosting contract which allows sub-domains (wtf&amp;hellip;).&lt;/p&gt;</description></item><item><title>Blog is back!</title><link>https://christian.blog.pakiheim.de/posts/2010-09-30_blog-is-back/</link><pubDate>Thu, 30 Sep 2010 16:39:57 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=3537</guid><description>&lt;p&gt;As you can see, the blog is finally back! I haven&amp;rsquo;t been visiting the blog on a daily basis (actually, I haven&amp;rsquo;t been here for some time), so it apparently took me ten days to figure that the wp_posts table of my wordpress installation was marked as crashed.&lt;/p&gt;
&lt;p&gt;To repair that, I had to take down the MySQL instance and use myisamchk on the .MYI file. Once again, it&amp;rsquo;s back now, only one draft has disappeared into thin air (well, that ain&amp;rsquo;t so bad), but that&amp;rsquo;s a minor loss.&lt;/p&gt;</description></item><item><title>My neverending lighttpd troubles</title><link>https://christian.blog.pakiheim.de/posts/2009-07-16_my-neverending-lighttpd-troubles/</link><pubDate>Thu, 16 Jul 2009 10:31:13 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=2364</guid><description>&lt;p&gt;Well, after a day or so my lighttpd &lt;a href="https://christian.blog.pakiheim.de/posts/2014-08-08_lighttpd-issues" title="Lighttpd issues"&gt;troubles&lt;/a&gt; reappeared. But this time, the lighttpd process would simply put out this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt" id="hl-0-1"&gt;&lt;a class="lnlinks" href="#hl-0-1"&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-2"&gt;&lt;a class="lnlinks" href="#hl-0-2"&gt;2&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-3"&gt;&lt;a class="lnlinks" href="#hl-0-3"&gt;3&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-4"&gt;&lt;a class="lnlinks" href="#hl-0-4"&gt;4&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-gdscript3" data-lang="gdscript3"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mod_fastcgi&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;2913&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;backend&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;overloaded&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;we&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;ll disable it for 2 seconds and send the request to another backend instead: reconnects: 0 load: 131&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mod_fastcgi&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;2668&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;fcgi&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;server&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;enabled&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;run&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lighttpd&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lighttpd&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;fastcgi&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;17242.&lt;/span&gt;&lt;span class="n"&gt;socket&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mod_fastcgi&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;2913&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;backend&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;overloaded&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;we&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;ll disable it for 2 seconds and send the request to another backend instead: reconnects: 0 load: 131&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mod_fastcgi&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;2668&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;fcgi&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;server&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;enabled&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;run&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lighttpd&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lighttpd&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;fastcgi&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;17242.&lt;/span&gt;&lt;span class="n"&gt;socket&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;And as the message says, PHP (or rather mod_fastcgi?) would simply stop to process requests. In the end, I tuned some of the lighttpd/mod_fastcgi parameters.&lt;/p&gt;</description></item></channel></rss>