<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[linuxの飘扬]]></title> 
<link>https://www.linuxfly.org/index.php</link> 
<description><![CDATA[Power by www.linuxfly.org]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[linuxの飘扬]]></copyright>
<item>
<link>https://www.linuxfly.org/post/235/</link>
<title><![CDATA[[原]lighttpd基础配置-perl CGI、php]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[常见服务]]></category>
<pubDate>Wed, 09 Jul 2008 07:09:02 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/235/</guid> 
<description>
<![CDATA[ 
	 &nbsp; &nbsp;红旗自带apache2作为默认的web服务器。在原来的系统中就是使用apache作为web页面的服务器，apache占用的内存很多，一个apache进程占用的内存大约是20M，最大的可能占到35M以上，占用的共享内存都在100多M以上。而且apache是一个多进程响应服务，这样apache的进程占用内存更多。因此经长时间运行，会出现由于内存不够而无法访问界面的情况。<br/> &nbsp; &nbsp;<span style="color: #FF4500;">lighttpd是一个理想的替代方案。其是一个非常轻便的web服务器，虽然它的功能没有apache强大，但是可以满足大部分的服务要求。它的内存占用量一般是2M左右，占用的共享内存是20M左右，而且与apache实现机制不同的是，lighttpd采用单进程多路复用的方式响应请求，在系统中一般只有一个lighttpd进程响应服务请求。（也可配置为多进程）所以从内存占用量的角度看，lighttpd就有很大的优势。此外,lighttpd也可以通过配置fast-cgi支持php应用。</span><br/> &nbsp; &nbsp;本文仅是我刚开始试用lighttpd的一个笔记，把常规的功能总结一下：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">1、支持perl的cgi程序；<br/>2、使用fast-cgi支持php、mysql、gd等应用。</div></div><br/> &nbsp; &nbsp;更多的功能尝试，后续提供。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/web/" rel="tag">web</a> , <a href="https://www.linuxfly.org/tags/lighttpd/" rel="tag">lighttpd</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/235/#blogcomment1837</link>
<title><![CDATA[[评论] [原]lighttpd基础配置-perl CGI、php]]></title> 
<author>wylon &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sun, 28 Sep 2008 08:45:28 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/235/#blogcomment1837</guid> 
<description>
<![CDATA[ 
	若从占系统资源及性能考虑，可以考虑一下Nginx (&quot;engine x&quot;) ，目前网站这一块使用Nginx超过lighthttpd,^^
]]>
</description>
</item>
</channel>
</rss>