<?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>nodomain.cc &#187; lighttpd</title> <atom:link href="http://nodomain.cc/tag/lighttpd/feed" rel="self" type="application/rss+xml" /><link>http://nodomain.cc</link> <description>just my two cents</description> <lastBuildDate>Fri, 27 Aug 2010 22:03:02 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <atom:link rel='hub' href='http://nodomain.cc/?pushpress=hub'/> <item><title>Mit SysCP den lighttpd killen</title><link>http://nodomain.cc/2008/08/02/mit-syscp-den-lighttpd-killen.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=mit-syscp-den-lighttpd-killen</link> <comments>http://nodomain.cc/2008/08/02/mit-syscp-den-lighttpd-killen.html#comments</comments> <pubDate>Sat, 02 Aug 2008 10:49:29 +0000</pubDate> <dc:creator>ff</dc:creator> <category><![CDATA[Hosting]]></category> <category><![CDATA[Site News]]></category> <category><![CDATA[lighttpd]]></category><guid isPermaLink="false">http://dev.nodomain.cc/wp/?p=816</guid> <description><![CDATA[Nachdem fr1tz gestern für ein Verzeichnis zwei verschiedene Benutzernamen einrichten wollte (htaccess), ist der Webserver mit folgender Meldung nicht mehr gestartet: Duplicate config variable in conditional 85 global/HTTPhost==privat.fr1tz.de/HTTPurl=~^/: auth.backend 2008-08-01 20:08:08: (configfile.c.827) source: /etc/lighttpd/syscp-new.php line: 739 pos: 31 parser failed somehow near here: (EOL) 2008-08-01 20:08:08: (configfile.c.827) source: /etc/lighttpd/lighttpd.conf line: 174 pos: 27 parser failed [...]<p><a href="http://nodomain.cc/2008/08/02/mit-syscp-den-lighttpd-killen.html">Mit SysCP den lighttpd killen</a> is a post from: <a href="http://nodomain.cc">nodomain.cc</a></p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html' rel='bookmark' title='Permanent Link: Umstieg auf lighttpd'>Umstieg auf lighttpd</a></li><li><a href='http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html' rel='bookmark' title='Permanent Link: lighttpd: HTTPS erzwingen'>lighttpd: HTTPS erzwingen</a></li><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-dovecot.html' rel='bookmark' title='Permanent Link: Umstieg auf dovecot'>Umstieg auf dovecot</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Nachdem <a target="_blank" href="http://blog.fr1tz.de/" >fr1tz</a> gestern für ein Verzeichnis zwei verschiedene Benutzernamen einrichten wollte (htaccess), ist der Webserver mit folgender Meldung nicht mehr gestartet:</p><div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Duplicate config variable in conditional 85 global/HTTPhost==privat.fr1tz.de/HTTPurl=~^/: auth.backend<br /> 2008-08-01 20:08:08: (configfile.c.827) source: /etc/lighttpd/syscp-new.php line: 739 pos: 31 parser failed somehow near here: (EOL)<br /> 2008-08-01 20:08:08: (configfile.c.827) source: /etc/lighttpd/lighttpd.conf line: 174 pos: 27 parser failed somehow near here: (EOL)<br /> &nbsp;failed!</div></div><p>Ein</p><div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">GROUP BY `panel_htpasswds`.`path`</div></div><p>in der syscp-new.php im Verzeichnisschutz-Abschnitt schafft hier Abhilfe. Dann gewinnt halt der mit der kleineren ID <img src='http://s1.nodomain.cc/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p><p>Ich wollte ja heute morgen wieder auf Apache2 umstellen aber als ich dann festgestellt habe wie lahm alles wird habe ich alles schnell wieder rückgängig gemacht und mir die lighttpd-Config vorgenommen.</p><p><a href="http://nodomain.cc/2008/08/02/mit-syscp-den-lighttpd-killen.html" >Mit SysCP den lighttpd killen</a> is a post from: <a href="http://nodomain.cc" >nodomain.cc</a></p><p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html' rel='bookmark' title='Permanent Link: Umstieg auf lighttpd'>Umstieg auf lighttpd</a></li><li><a href='http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html' rel='bookmark' title='Permanent Link: lighttpd: HTTPS erzwingen'>lighttpd: HTTPS erzwingen</a></li><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-dovecot.html' rel='bookmark' title='Permanent Link: Umstieg auf dovecot'>Umstieg auf dovecot</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://nodomain.cc/2008/08/02/mit-syscp-den-lighttpd-killen.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Rewrite-Regeln für Serendipity und lighttpd</title><link>http://nodomain.cc/2008/02/14/rewrite-regeln-fur-serendipity-und-lighttpd.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rewrite-regeln-fur-serendipity-und-lighttpd</link> <comments>http://nodomain.cc/2008/02/14/rewrite-regeln-fur-serendipity-und-lighttpd.html#comments</comments> <pubDate>Thu, 14 Feb 2008 00:22:56 +0000</pubDate> <dc:creator>ff</dc:creator> <category><![CDATA[Hosting]]></category> <category><![CDATA[lighttpd]]></category> <category><![CDATA[s9y]]></category><guid isPermaLink="false">http://dev.nodomain.cc/wp/?p=787</guid> <description><![CDATA[Gerade durch Zufall entdeckt: Statt die komplette Latte von Rewrite-Regeln für Serendipity auf lighttpd-Syntax anzupassen genügt folgender simpler Eintrag: ## vhost settings $HTTP["host"] =~ "(nodomain.cc&#124;blog.anderedomain.de)" { url.access-deny = ( ".tpl", ".inc.php", ".sql", ".db" ) server.error-handler-404 = "/index.php" } Der access-deny-Eintrag sorgt dafür, dass ein paar "wichtige" Systemdateien nicht abgerufen werden können und die zweite Zeile [...]<p><a href="http://nodomain.cc/2008/02/14/rewrite-regeln-fur-serendipity-und-lighttpd.html">Rewrite-Regeln für Serendipity und lighttpd</a> is a post from: <a href="http://nodomain.cc">nodomain.cc</a></p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html' rel='bookmark' title='Permanent Link: Umstieg auf lighttpd'>Umstieg auf lighttpd</a></li><li><a href='http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html' rel='bookmark' title='Permanent Link: lighttpd: HTTPS erzwingen'>lighttpd: HTTPS erzwingen</a></li><li><a href='http://nodomain.cc/2007/06/17/nochmal-die-performance.html' rel='bookmark' title='Permanent Link: Nochmal die Performance'>Nochmal die Performance</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Gerade durch Zufall entdeckt: Statt die komplette Latte von Rewrite-Regeln für Serendipity auf lighttpd-Syntax anzupassen genügt folgender simpler Eintrag:</p><blockquote><p>## vhost settings<br /> $HTTP["host"] =~ "(nodomain.cc|blog.anderedomain.de)" {<br /> url.access-deny = ( ".tpl", ".inc.php", ".sql", ".db" )<br /> server.error-handler-404 = "/index.php"<br /> }</p></blockquote><p>Der access-deny-Eintrag sorgt dafür, dass ein paar "wichtige" Systemdateien nicht abgerufen werden können und die zweite Zeile definiert die index.php als Error-Handler. Danach noch in S9Y "apache Error-Handler" für "rewrite URLs" aktivieren und das wars.<br /> Nebenbei kann man mit diesem Eintrag alle Domains auf dem Server, auf denen eine Instanz von Serendipity läuft, auf einmal abdecken <img src='http://s1.nodomain.cc/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p><p>Feine Sache das.</p><p><a href="http://nodomain.cc/2008/02/14/rewrite-regeln-fur-serendipity-und-lighttpd.html" >Rewrite-Regeln für Serendipity und lighttpd</a> is a post from: <a href="http://nodomain.cc" >nodomain.cc</a></p><p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html' rel='bookmark' title='Permanent Link: Umstieg auf lighttpd'>Umstieg auf lighttpd</a></li><li><a href='http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html' rel='bookmark' title='Permanent Link: lighttpd: HTTPS erzwingen'>lighttpd: HTTPS erzwingen</a></li><li><a href='http://nodomain.cc/2007/06/17/nochmal-die-performance.html' rel='bookmark' title='Permanent Link: Nochmal die Performance'>Nochmal die Performance</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://nodomain.cc/2008/02/14/rewrite-regeln-fur-serendipity-und-lighttpd.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>500er Fehler im Blog</title><link>http://nodomain.cc/2008/02/11/500er-fehler-im-blog.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=500er-fehler-im-blog</link> <comments>http://nodomain.cc/2008/02/11/500er-fehler-im-blog.html#comments</comments> <pubDate>Mon, 11 Feb 2008 22:54:13 +0000</pubDate> <dc:creator>ff</dc:creator> <category><![CDATA[Site News]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[lighttpd]]></category> <category><![CDATA[php]]></category><guid isPermaLink="false">http://dev.nodomain.cc/wp/?p=785</guid> <description><![CDATA[In letzter Zeit häufen sich die Zeiten, in denen hier statt den gewohnten Inhalten lediglich ein "500 Internal Server Error" zu sehen ist. Das passiert deswegen, weil mein lighttpd auf einmal nicht mehr über fastcgi mit PHP sprechen möchte weil er folgendes glaubt: Feb 9 11:15:32 hermes lighttpd[21881]: (mod_fastcgi.c.2819) backend is overloaded, we disable it [...]<p><a href="http://nodomain.cc/2008/02/11/500er-fehler-im-blog.html">500er Fehler im Blog</a> is a post from: <a href="http://nodomain.cc">nodomain.cc</a></p>Related posts:<ol><li><a href='http://nodomain.cc/2008/08/02/mit-syscp-den-lighttpd-killen.html' rel='bookmark' title='Permanent Link: Mit SysCP den lighttpd killen'>Mit SysCP den lighttpd killen</a></li><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html' rel='bookmark' title='Permanent Link: Umstieg auf lighttpd'>Umstieg auf lighttpd</a></li><li><a href='http://nodomain.cc/2007/05/22/probleme-mit-usb-20.html' rel='bookmark' title='Permanent Link: Probleme mit USB 2.0'>Probleme mit USB 2.0</a></li></ol>]]></description> <content:encoded><![CDATA[<p>In letzter Zeit häufen sich die Zeiten, in denen hier statt den gewohnten Inhalten lediglich ein "500 Internal Server Error" zu sehen ist. Das passiert deswegen, weil mein lighttpd auf einmal nicht mehr über fastcgi mit PHP sprechen möchte weil er folgendes glaubt:</p><blockquote><p>Feb  9 11:15:32 hermes lighttpd[21881]: (mod_fastcgi.c.2819) backend is overloaded, we disable it for a 2 seconds and send the request to another backend instead: reconnect<br /> s: 0 load: 90</p></blockquote><p>Ich bekomme das Problem nur über einen Neustart von lighttpd und (vorsichtshalber) einem erneuten Starten der fastcgi-Childs in den Griff.<br /> Ich habe versucht der Sache auf den Grund zu gehen und bin auf diese Bugs gestoßen: <a target="_blank" href="http://trac.lighttpd.net/trac/ticket/575" >lighttpd-Ticket 575</a>, <a target="_blank" href="http://trac.lighttpd.net/trac/ticket/1488" >Ticket 1488</a> und evtl. auch <a target="_blank" href="http://bugs.php.net/bug.php?id=43610" >PHP-Bug 43610</a>. Als Workaround wird vorläufig der lighttpd per Cron stündlich neu gestartet. Das ist unschön und ich hoffe auf eine baldige Behebung der/des Bugs.</p><p>Habt also ein klein wenig Nachsicht wenn hier mal wieder nur was mit 500 steht...</p><p><a href="http://nodomain.cc/2008/02/11/500er-fehler-im-blog.html" >500er Fehler im Blog</a> is a post from: <a href="http://nodomain.cc" >nodomain.cc</a></p><p>Related posts:<ol><li><a href='http://nodomain.cc/2008/08/02/mit-syscp-den-lighttpd-killen.html' rel='bookmark' title='Permanent Link: Mit SysCP den lighttpd killen'>Mit SysCP den lighttpd killen</a></li><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html' rel='bookmark' title='Permanent Link: Umstieg auf lighttpd'>Umstieg auf lighttpd</a></li><li><a href='http://nodomain.cc/2007/05/22/probleme-mit-usb-20.html' rel='bookmark' title='Permanent Link: Probleme mit USB 2.0'>Probleme mit USB 2.0</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://nodomain.cc/2008/02/11/500er-fehler-im-blog.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>lighttpd: HTTPS erzwingen</title><link>http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=lighttpd-https-erzwingen</link> <comments>http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html#comments</comments> <pubDate>Tue, 26 Jun 2007 09:01:35 +0000</pubDate> <dc:creator>ff</dc:creator> <category><![CDATA[Hosting]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[lighttpd]]></category><guid isPermaLink="false">http://dev.nodomain.cc/wp/?p=734</guid> <description><![CDATA[Da manche Anwendungen bei Aufruf über HTTPS nicht immer Links generieren, die mit https:// beginnen, sollte man solche "falschen" Anfragen im Webserver umleiten, da ansonsten Teile der Website nicht verschlüsselt übertragen würden. Bei lighttpd geht das ganz einfach: $SERVER["socket"] == ":80" { $HTTP["host"] =~ "example.org" { url.redirect = ( "^/(.*)" => "https://example.org/$1" ) server.name = [...]<p><a href="http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html">lighttpd: HTTPS erzwingen</a> is a post from: <a href="http://nodomain.cc">nodomain.cc</a></p>Related posts:<ol><li><a href='http://nodomain.cc/2008/08/02/mit-syscp-den-lighttpd-killen.html' rel='bookmark' title='Permanent Link: Mit SysCP den lighttpd killen'>Mit SysCP den lighttpd killen</a></li><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html' rel='bookmark' title='Permanent Link: Umstieg auf lighttpd'>Umstieg auf lighttpd</a></li><li><a href='http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-mit-eaccelerator.html' rel='bookmark' title='Permanent Link: Benchmark: lighttpd, fastcgi, PHP5 mit eAccelerator'>Benchmark: lighttpd, fastcgi, PHP5 mit eAccelerator</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Da manche Anwendungen bei Aufruf über HTTPS nicht immer Links generieren, die mit https:// beginnen, sollte man solche "falschen" Anfragen im Webserver umleiten, da ansonsten Teile der Website nicht verschlüsselt übertragen würden.<br /> Bei lighttpd geht das ganz einfach:</p><blockquote><p> $SERVER["socket"] == ":80" {<br /> $HTTP["host"] =~ "example.org" {<br /> url.redirect = ( "^/(.*)" => "https://example.org/$1" )<br /> server.name                 = "example.org"<br /> }<br /> }</p><p>$SERVER["socket"] == ":443" {<br /> ssl.engine = "enable"<br /> ssl.pemfile = "/path/to/example.org.pem"<br /> server.document-root = "..."<br /> }</p></blockquote><p>[<a target="_blank" href="http://trac.lighttpd.net/trac/wiki/HowToRedirectHttpToHttps" >Quelle</a>]</p><p><a href="http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html" >lighttpd: HTTPS erzwingen</a> is a post from: <a href="http://nodomain.cc" >nodomain.cc</a></p><p>Related posts:<ol><li><a href='http://nodomain.cc/2008/08/02/mit-syscp-den-lighttpd-killen.html' rel='bookmark' title='Permanent Link: Mit SysCP den lighttpd killen'>Mit SysCP den lighttpd killen</a></li><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html' rel='bookmark' title='Permanent Link: Umstieg auf lighttpd'>Umstieg auf lighttpd</a></li><li><a href='http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-mit-eaccelerator.html' rel='bookmark' title='Permanent Link: Benchmark: lighttpd, fastcgi, PHP5 mit eAccelerator'>Benchmark: lighttpd, fastcgi, PHP5 mit eAccelerator</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Nochmal die Performance</title><link>http://nodomain.cc/2007/06/17/nochmal-die-performance.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=nochmal-die-performance</link> <comments>http://nodomain.cc/2007/06/17/nochmal-die-performance.html#comments</comments> <pubDate>Sun, 17 Jun 2007 18:55:48 +0000</pubDate> <dc:creator>ff</dc:creator> <category><![CDATA[Hosting]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[lighttpd]]></category> <category><![CDATA[s9y]]></category><guid isPermaLink="false">http://dev.nodomain.cc/wp/?p=725</guid> <description><![CDATA[Ich habe es vorhin ja bereits angedeutet, Micha weiß dazu noch mehr: ist hier der Vorspung von lighttpd deutlicher, er verarbeitet ca 10% mehr Anfragen pro Sekunde als der Apache. Richtig Würze kommt aber auch hier erst ins Spiel wenn der PHP Opcode Cache XCache verwendet wird. Er bringt in jedem Fall eine Steigerung von [...]<p><a href="http://nodomain.cc/2007/06/17/nochmal-die-performance.html">Nochmal die Performance</a> is a post from: <a href="http://nodomain.cc">nodomain.cc</a></p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html' rel='bookmark' title='Permanent Link: Umstieg auf lighttpd'>Umstieg auf lighttpd</a></li><li><a href='http://nodomain.cc/2008/02/14/rewrite-regeln-fur-serendipity-und-lighttpd.html' rel='bookmark' title='Permanent Link: Rewrite-Regeln für Serendipity und lighttpd'>Rewrite-Regeln für Serendipity und lighttpd</a></li><li><a href='http://nodomain.cc/2008/02/11/500er-fehler-im-blog.html' rel='bookmark' title='Permanent Link: 500er Fehler im Blog'>500er Fehler im Blog</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Ich habe es vorhin ja bereits angedeutet, <a target="_blank" href="http://micha.monsteradmin.de/archives/134-Serendipity-und-lighttpd.html" >Micha</a> weiß dazu noch mehr:</p><blockquote><p>ist hier der Vorspung von lighttpd deutlicher, er verarbeitet ca 10% mehr Anfragen pro Sekunde als der Apache. Richtig Würze kommt aber auch hier erst ins Spiel wenn der PHP Opcode Cache XCache verwendet wird. Er bringt in jedem Fall eine Steigerung von 150%. Geht man davon aus, dass eine Migration von Apache zu lighttpd inkl. XCache erfolgt, beträgt die Steigerung sogar 170%.</p></blockquote><p>In den Kommentaren steht u.a. auch, dass man speziell bei Serendipity das Statistik-Plugin deaktivieren sollte, da es Performance frisst.</p><p>Ich habe heute mittag übrigens <a target="_blank" href="http://eaccelerator.net/" >eAccelerator</a> durch <a target="_blank" href="http://xcache.lighttpd.net/" >XCache</a> ersetzt.</p><p><a href="http://nodomain.cc/2007/06/17/nochmal-die-performance.html" >Nochmal die Performance</a> is a post from: <a href="http://nodomain.cc" >nodomain.cc</a></p><p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html' rel='bookmark' title='Permanent Link: Umstieg auf lighttpd'>Umstieg auf lighttpd</a></li><li><a href='http://nodomain.cc/2008/02/14/rewrite-regeln-fur-serendipity-und-lighttpd.html' rel='bookmark' title='Permanent Link: Rewrite-Regeln für Serendipity und lighttpd'>Rewrite-Regeln für Serendipity und lighttpd</a></li><li><a href='http://nodomain.cc/2008/02/11/500er-fehler-im-blog.html' rel='bookmark' title='Permanent Link: 500er Fehler im Blog'>500er Fehler im Blog</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://nodomain.cc/2007/06/17/nochmal-die-performance.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Benchmark: lighttpd, fastcgi, PHP5 ohne eAccelerator</title><link>http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-ohne-eaccelerator.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=benchmark-lighttpd-fastcgi-php5-ohne-eaccelerator</link> <comments>http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-ohne-eaccelerator.html#comments</comments> <pubDate>Sun, 17 Jun 2007 13:55:12 +0000</pubDate> <dc:creator>ff</dc:creator> <category><![CDATA[Hosting]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[lighttpd]]></category><guid isPermaLink="false">http://dev.nodomain.cc/wp/?p=723</guid> <description><![CDATA[Ohne eAccelerator sieht die Sache schon anders aus: der Serverload steigt bis auf 10.9 und die durchschnittliche Antwortzeit ist wesentlich höher als mit eAccelerator. Auch wenn ich diesen Benchmark nicht so lange habe laufen lassen wie den anderen bietet er doch eine deutliche Aussage: Transactions: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 1376 [...]<p><a href="http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-ohne-eaccelerator.html">Benchmark: lighttpd, fastcgi, PHP5 ohne eAccelerator</a> is a post from: <a href="http://nodomain.cc">nodomain.cc</a></p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-mit-eaccelerator.html' rel='bookmark' title='Permanent Link: Benchmark: lighttpd, fastcgi, PHP5 mit eAccelerator'>Benchmark: lighttpd, fastcgi, PHP5 mit eAccelerator</a></li><li><a href='http://nodomain.cc/2005/08/19/mehr-performance-durch-eaccelerator.html' rel='bookmark' title='Permanent Link: Mehr Performance durch eAccelerator'>Mehr Performance durch eAccelerator</a></li><li><a href='http://nodomain.cc/2005/08/08/eaccelerator.html' rel='bookmark' title='Permanent Link: eAccelerator'>eAccelerator</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Ohne eAccelerator sieht die Sache schon anders aus: der Serverload steigt bis auf 10.9 und die durchschnittliche Antwortzeit ist wesentlich höher als mit eAccelerator. Auch wenn ich diesen Benchmark nicht so lange habe laufen lassen wie den anderen bietet er doch eine deutliche Aussage:</p><div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Transactions: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1376 hits<br /> Availability: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 100.00 %<br /> Elapsed time: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 178.21 secs<br /> Data transferred: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;87.46 MB<br /> Response time: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1.42 secs<br /> Transaction rate: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 7.72 trans/sec<br /> Throughput: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.49 MB/sec<br /> Concurrency: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10.97<br /> Successful transactions: &nbsp; &nbsp; &nbsp; &nbsp;1251<br /> Failed transactions: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0<br /> Longest transaction: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 24.40<br /> Shortest transaction: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.03</div></div><p>Die Transaction rate ist bedeutend geringer und die durchschnittliche Antwortzeit ca. 1.2 Sekunden schlechter.<br /> Jetzt dürft ihr euch selbst die Meinung bilden <img src='http://s1.nodomain.cc/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p><p><a href="http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-ohne-eaccelerator.html" >Benchmark: lighttpd, fastcgi, PHP5 ohne eAccelerator</a> is a post from: <a href="http://nodomain.cc" >nodomain.cc</a></p><p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-mit-eaccelerator.html' rel='bookmark' title='Permanent Link: Benchmark: lighttpd, fastcgi, PHP5 mit eAccelerator'>Benchmark: lighttpd, fastcgi, PHP5 mit eAccelerator</a></li><li><a href='http://nodomain.cc/2005/08/19/mehr-performance-durch-eaccelerator.html' rel='bookmark' title='Permanent Link: Mehr Performance durch eAccelerator'>Mehr Performance durch eAccelerator</a></li><li><a href='http://nodomain.cc/2005/08/08/eaccelerator.html' rel='bookmark' title='Permanent Link: eAccelerator'>eAccelerator</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-ohne-eaccelerator.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Benchmark: lighttpd, fastcgi, PHP5 mit eAccelerator</title><link>http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-mit-eaccelerator.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=benchmark-lighttpd-fastcgi-php5-mit-eaccelerator</link> <comments>http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-mit-eaccelerator.html#comments</comments> <pubDate>Sun, 17 Jun 2007 13:41:49 +0000</pubDate> <dc:creator>ff</dc:creator> <category><![CDATA[Hosting]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[benchmark]]></category> <category><![CDATA[lighttpd]]></category><guid isPermaLink="false">http://dev.nodomain.cc/wp/?p=722</guid> <description><![CDATA[Ich habe mit siege die aktuelle Konfiguration getestet und ich bin überaus positiv überrascht. Ich habe leider keinen passenden Vergleich mit Apache vorliegen, ich kann mich aber erinnern, dass dieser bei weitem nicht so performant war wie lighttpd. Der Serverload hält sich in Grenzen: zwischen 2.5 und 3.8, kurzzeitig 6.1. Das Blog verhält sich während [...]<p><a href="http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-mit-eaccelerator.html">Benchmark: lighttpd, fastcgi, PHP5 mit eAccelerator</a> is a post from: <a href="http://nodomain.cc">nodomain.cc</a></p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-ohne-eaccelerator.html' rel='bookmark' title='Permanent Link: Benchmark: lighttpd, fastcgi, PHP5 ohne eAccelerator'>Benchmark: lighttpd, fastcgi, PHP5 ohne eAccelerator</a></li><li><a href='http://nodomain.cc/2005/08/19/mehr-performance-durch-eaccelerator.html' rel='bookmark' title='Permanent Link: Mehr Performance durch eAccelerator'>Mehr Performance durch eAccelerator</a></li><li><a href='http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html' rel='bookmark' title='Permanent Link: lighttpd: HTTPS erzwingen'>lighttpd: HTTPS erzwingen</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Ich habe mit siege die aktuelle Konfiguration getestet und ich bin überaus positiv überrascht. Ich habe leider keinen passenden Vergleich mit Apache vorliegen, ich kann mich aber erinnern, dass dieser bei weitem nicht so performant war wie lighttpd.</p><p>Der Serverload hält sich in Grenzen: zwischen 2.5 und 3.8, kurzzeitig 6.1. Das Blog verhält sich während des Lasttests völlig normal, man bemerkt kaum, dass der Server "mal was zu tun hat".</p><p>Das Ergebnis kann sich meiner Meinung nach sehen lassen:</p><div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:550px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Transactions: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;10943 hits<br /> Availability: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 100.00 %<br /> Elapsed time: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 608.61 secs<br /> Data transferred: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 706.97 MB<br /> Response time: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.33 secs<br /> Transaction rate: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;17.98 trans/sec<br /> Throughput: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.16 MB/sec<br /> Concurrency: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6.02<br /> Successful transactions: &nbsp; &nbsp; &nbsp; 10157<br /> Failed transactions: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0<br /> Longest transaction: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 17.09<br /> Shortest transaction: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.03</div></div><p>Basis dieses Benchmarks war eine von mir zufällig zusammengestellte urls.txt mit URLs aus dem Blog, siege hat mit 15 concurrent users getestet. Momentan lasse ich es noch mit 25 laufen und danach wird eAccelerator abgestellt. Der Server ist ein 1und1 L64 mit AMD Athlon 64X2 3800+ und 1GB RAM.</p><p><a href="http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-mit-eaccelerator.html" >Benchmark: lighttpd, fastcgi, PHP5 mit eAccelerator</a> is a post from: <a href="http://nodomain.cc" >nodomain.cc</a></p><p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-ohne-eaccelerator.html' rel='bookmark' title='Permanent Link: Benchmark: lighttpd, fastcgi, PHP5 ohne eAccelerator'>Benchmark: lighttpd, fastcgi, PHP5 ohne eAccelerator</a></li><li><a href='http://nodomain.cc/2005/08/19/mehr-performance-durch-eaccelerator.html' rel='bookmark' title='Permanent Link: Mehr Performance durch eAccelerator'>Mehr Performance durch eAccelerator</a></li><li><a href='http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html' rel='bookmark' title='Permanent Link: lighttpd: HTTPS erzwingen'>lighttpd: HTTPS erzwingen</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://nodomain.cc/2007/06/17/benchmark-lighttpd-fastcgi-php5-mit-eaccelerator.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Umstieg auf lighttpd</title><link>http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=umstieg-auf-lighttpd</link> <comments>http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html#comments</comments> <pubDate>Sat, 16 Jun 2007 22:46:43 +0000</pubDate> <dc:creator>ff</dc:creator> <category><![CDATA[Hosting]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[lighttpd]]></category><guid isPermaLink="false">http://dev.nodomain.cc/wp/?p=719</guid> <description><![CDATA[Ich hatte es schon länger vor und nun habe ich es endlich hinbekommen: Apache ist tot, es lebe lighttpd mit php-fastcgi. Diese Kombination ist wesentlich performanter und bedeutet weniger Overhead als Apache. Ein paar Eckdaten: - lighttpd mit mod_fastcgi - "per User"-Konfiguration, die wie suPHP die PHP-Prozesse unter der Userkennung des jeweiligen vHosts ausführt - [...]<p><a href="http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html">Umstieg auf lighttpd</a> is a post from: <a href="http://nodomain.cc">nodomain.cc</a></p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-dovecot.html' rel='bookmark' title='Permanent Link: Umstieg auf dovecot'>Umstieg auf dovecot</a></li><li><a href='http://nodomain.cc/2008/08/02/mit-syscp-den-lighttpd-killen.html' rel='bookmark' title='Permanent Link: Mit SysCP den lighttpd killen'>Mit SysCP den lighttpd killen</a></li><li><a href='http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html' rel='bookmark' title='Permanent Link: lighttpd: HTTPS erzwingen'>lighttpd: HTTPS erzwingen</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Ich hatte es schon länger vor und nun habe ich es endlich hinbekommen: Apache ist tot, es lebe <a target="_blank" href="http://www.lighttpd.net/"  >lighttpd</a> mit php-fastcgi. Diese Kombination ist wesentlich performanter und bedeutet weniger Overhead als Apache.</p><p>Ein paar Eckdaten:<br /> - lighttpd mit mod_fastcgi<br /> - "per User"-Konfiguration, die wie <a target="_blank" href="http://www.suphp.org/Home.html"  >suPHP</a> die PHP-Prozesse unter der Userkennung des jeweiligen vHosts ausführt<br /> - kein Safe-Mode und kein open_basedir nötig<br /> - integriert in <a target="_blank" href="http://www.syscp.org/"  >Syscp</a>, keine Änderungen an Syscp nötig</p><p>Die Migration eines laufenden Systems mit Apache, Syscp und suPHP gestaltet sich relativ einfach, wenn man <a target="_blank" href="http://www.syscp.de/wiki/contrib/UsingLighttpdInsteadOfApache"  >dieser Anleitung</a> folgt. Mit <a target="_blank" href="http://forum.syscp.org/index.php?topic=3075.msg19226#msg19226"  >diesem Skript</a> gelingt das Ganze sogar ohne Änderungen an Syscp. Als Voraussetzung müssen die Fastcgi-Startskripte und die benötigte Verzeichnisstruktur erstellt werden, so wie es <a target="_blank" href="http://trac.lighttpd.net/trac/wiki/HowToSetupFastCgiIndividualPermissions"  >hier</a> beschrieben ist.</p><p>Achtung: die Logs unter /var/log/apache2 müssen für den lighttpd schreibbar gemacht werden (Gruppe anpassen oder chmod) und für eine Benamung der (eigentlich) virtuellen User von Syscp benötigt man den nscd sowie ein paar kleine Änderungen am System, die ich bei Nachfragen hier gerne noch raussuchen werde.</p><p>Rewrite-Rules für Serendipity finden sich <a target="_blank" href="http://edin.dk/archives/34-Serendipity-on-Lighty.html"  >hier.</a> Diese müssen einfach als Konfiguration für den S9Y-Vhost hinzugefügt werden.</p><p>Jetzt kann der Heise-DoS kommen <img src='http://s1.nodomain.cc/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p><p>edit:// nun funktioniert auch der Verzeichnisschutz...</p><p><a href="http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html" >Umstieg auf lighttpd</a> is a post from: <a href="http://nodomain.cc" >nodomain.cc</a></p><p>Related posts:<ol><li><a href='http://nodomain.cc/2007/06/16/umstieg-auf-dovecot.html' rel='bookmark' title='Permanent Link: Umstieg auf dovecot'>Umstieg auf dovecot</a></li><li><a href='http://nodomain.cc/2008/08/02/mit-syscp-den-lighttpd-killen.html' rel='bookmark' title='Permanent Link: Mit SysCP den lighttpd killen'>Mit SysCP den lighttpd killen</a></li><li><a href='http://nodomain.cc/2007/06/26/lighttpd-https-erzwingen.html' rel='bookmark' title='Permanent Link: lighttpd: HTTPS erzwingen'>lighttpd: HTTPS erzwingen</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://nodomain.cc/2007/06/16/umstieg-auf-lighttpd.html/feed</wfw:commentRss> <slash:comments>10</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using xcache
Page Caching using xcache (user agent is rejected)
Database Caching 97/372 queries in 1.776 seconds using xcache
Object Caching 4494/4625 objects using xcache
Content Delivery Network via s1.nodomain.cc

Served from: nodomain.cc @ 2010-09-09 07:23:54 -->