<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[系统突然报错Too many open files]]></title><description><![CDATA[<p dir="auto">原因修改NGINX配置后重新启动发现系统报错：</p>
<pre><code>Failed to allocate directory watch: Too many open files
</code></pre>
<p dir="auto">解决方案：</p>
<pre><code> sudo vi /etc/sysctl.conf
</code></pre>
<p dir="auto">文件添加：</p>
<pre><code>fs.inotify.max_user_instances=51200
</code></pre>
<p dir="auto">保存成功后：</p>
<pre><code>sudo sysctl -p
</code></pre>
<p dir="auto">将文件生效 重新启动nginx</p>
<pre><code>sudo service  nginx restart
</code></pre>
]]></description><link>http://an.forum.genostack.com/topic/343/系统突然报错too-many-open-files</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 09:37:41 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/343.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Jul 2021 06:40:10 GMT</pubDate><ttl>60</ttl></channel></rss>