<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>《“Too many open files” &#8211; 合理配置Linux同时可打开文件句柄数限制及lsof命令使用》的评论</title>
	<atom:link href="http://www.fallday.org/archives/32/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fallday.org/archives/32</link>
	<description>虚拟主机/VPS/云计算实践</description>
	<lastBuildDate>Fri, 03 Feb 2012 16:32:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>作者：FF</title>
		<link>http://www.fallday.org/archives/32/comment-page-1#comment-303</link>
		<dc:creator>FF</dc:creator>
		<pubDate>Thu, 10 Jun 2010 11:48:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.fallday.org/?p=32#comment-303</guid>
		<description>老兄请教你个问题，麻烦看到后回复，我这里有个服务器，其中运行的站每天大概有15W的IP，100M带宽跑几乎满，nginx的日志一直出现，too many open files,导致页面访问出现500。
环境是ubuntu10.04+nginx+mysql+php+memcached
其中我做了如下工作：
修改了/etc/security/limits.conf
增加
* soft noproc 1024000
* hard noproc 1024000
* soft nofile 1024000
* hard nofile 1024000
另外也在/etc/profile文件中增加了ulimit -n 1024000
也运行了ulimit -n 1024000命令
可是依旧出现too many open files错误
把1024000的数值调低老兄有没什么高招，求教，再次感谢了</description>
		<content:encoded><![CDATA[<p>老兄请教你个问题，麻烦看到后回复，我这里有个服务器，其中运行的站每天大概有15W的IP，100M带宽跑几乎满，nginx的日志一直出现，too many open files,导致页面访问出现500。<br />
环境是ubuntu10.04+nginx+mysql+php+memcached<br />
其中我做了如下工作：<br />
修改了/etc/security/limits.conf<br />
增加<br />
* soft noproc 1024000<br />
* hard noproc 1024000<br />
* soft nofile 1024000<br />
* hard nofile 1024000<br />
另外也在/etc/profile文件中增加了ulimit -n 1024000<br />
也运行了ulimit -n 1024000命令<br />
可是依旧出现too many open files错误<br />
把1024000的数值调低老兄有没什么高招，求教，再次感谢了</p>
]]></content:encoded>
	</item>
</channel>
</rss>

