---
title: "Linux Too many open files"
author: "maxrocray"
date: "2013-01-12T16:53:48Z"
tags: []
categories: ["操作系统"]
slug: "linux-too-many-open-files"
draft: false
lastmod: "2013-01-12T16:53:48Z"
id: 1768721
url: "https://maxrocray.iteye.com/blog/1768721"
---

解决方法：

1./etc/pam.d/login 添加 

   /lib/security/pam\_limits.so 

2\. /etc/security/limits.conf 添加 

\*          –    nofile       1006154 

3.重启机器。