Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux Reference Guide
Prev Home Next

7.3.1 Troppi file aperti

Il kernel pu� dare un messaggio del tipo "Too many open files" (troppi file aperti). Ci� � dovuto al basso valore predefinito (8096) per file-max. Per risolvere il problema, date il seguente comando da root (oppure mettetelo in uno script di inizio in /etc/rcS.d/*.

      
     # echo "65536" >/proc/sys/fs/file-max # per i kernel 2.2 e 2.4 
     # echo "131072" >/proc/sys/fs/inode-max # solo per kernel 2.2

oppure mettete quanto segue in /etc/sysctl.conf per avere una modifica permanente:

     file-max=65536   # per kernel 2.2 e 2.4 
     inode-max=131072 # solo per 2.2

Debian GNU/Linux Reference Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire