Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

148
Vistas
where does nginx opens his file descriptors?

i am experiencing a (23: too many open files in system) error on my nginx due to big load of opening web socket connections requests.

the backend service which runs on completely different machine and receives a proxy_pass from this nginx process. once i reach a certain threshold i receive the error message above. i tried to dig into the nginx documentation but didn't find something useful. where are the file descriptors for those web sockets are getting open and created? is it on the machine where the nginx process runs on, or on the machine where the service runs on?.

i want to increase the limit of allowed open files per process and i am not sure on which machine i need to change it.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Increase the max file descriptors on the nginx server. The increase needs to happen at the kernel and user or nginx level. The tuning guidelines provide an explanation why:

File descriptors are operating system resources used to represent connections and open files, among other things. NGINX can use up to two file descriptors per connection. For example, if NGINX is proxying, it generally uses one file descriptor for the client connection and another for the connection to the proxied server, though this ratio is much lower if HTTP keepalives are used.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda