lkml.org 
[lkml]   [2001]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: increasing the number of file descriptors
rsaura@retevision.es a écrit :
>
> I've recently hit a problem with a httpd process running out of space
> for more fd.
>
> While I'm seriouly looking for a fd-leak in the php-development
> behind the web server, I realized that i didn't know how to increase
> this parameter.
>
> Is there any /proc interface for increasing the number of file
> descriptors per process?
>
> Must I recompile? maybe changes must be made to files_struct?
>
> I've seen a patch for "variable fd array patch for 2.1.90" from Bill
> Hawes, is there a patch for 2.2.x or 2.4.x kernels?
>
> Please CC answers to rsaura@retevision.es
>
> TAI.
>
> Raúl Saura.
>
> La información incluida en el presente correo electrónico es CONFIDENCIAL,
> siendo para el uso exclusivo del destinatario arriba mencionado. Si usted
> lee este mensaje y no es el destinatario señalado, el empleado o el agente
> responsable de entregar el mensaje al destinatario, o ha recibido esta
> comunicación por error, le informamos que está totalmente prohibida
> cualquier divulgación, distribución o reproducción de esta comunicación, y
> le rogamos que nos lo notifique, nos devuelva el mensaje original a la
> dirección arriba mencionada y borre el mensaje.
> Gracias.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

Hi,

You can change per process file descriptor limit with ulimit.

If your processes are using a lot of fds you can increase system wide limits
with:
/proc/sys/fs/file-max
/proc/sys/fs/inode-max

Regards
--
Joseph Bueno
NetClub/Trader.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:17    [W:0.081 / U:2.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site