From: Joseph Bueno <joseph.bueno@trader.com>
To: rsaura@retevision.es
Cc: linux-kernel@vger.kernel.org
Subject: Re: increasing the number of file descriptors
Date: Tue, 27 Feb 2001 10:49:42 +0100 [thread overview]
Message-ID: <3A9B7836.48C21224@trader.com> (raw)
In-Reply-To: <OFA7D9F891.904FF16B-ONC1256A00.0031BFB0@retevision.es>
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
next prev parent reply other threads:[~2001-02-27 9:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-27 9:39 increasing the number of file descriptors rsaura
2001-02-27 9:49 ` Joseph Bueno [this message]
2001-02-27 13:36 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2001-02-27 9:55 aprasad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3A9B7836.48C21224@trader.com \
--to=joseph.bueno@trader.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rsaura@retevision.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.