Hola, El vie, 30-01-2004 a las 13:07, Javi escribió: > a veces si tengo corriendo mucho el server me tira el sig. error > cuando ejecuto cualquier comando > too many files open
El error te lo dice, se ha alcanzado el número máximo de ficheros abiertos, hecha un vistazo al valor de : /proc/sys/fs/file-max en ese fichero esta la cantidad de ficheros que pueden estar abiertos a la vez. Una vez encontré lo siguiente para cambiar este valor ------ The maximum number of files depends on the amount of physical memory your system has. Take amount of physical memory and divide by 4 = sum multiply sum by 256 64/4=16 16*256=4096 max files= 4096 You will need to also raise the max inodes. For the max-inodes you take the max-files and multiply by 4 4096*4=16384 max inodes= 163984 Then: echo "4096" > /proc/sys/fs/file-max echo "16384" > /proc/sys/fs/inode-max To have these changes run at boot time add the lines above to the end of /etc/rc.d/rc.local or if you are running a system that uses /etc/sysctl.conf you can add the lines below instead. ------ Espero que te sirva. > y no anda ni el shutdown, init 6 y vuelve reloaded, anda todo > alguna solucion a esto ? gracias. > ahh tambien si tiro ps - aux salen un monton de procesos nmbd -a > repetidos. (no se si vale aclarar, pero lo q abunda no dañan dice) Saludos.