Public bug reported:

libfcgi uses select syscall, when some applications tryes to use more
than 1024 connections from web-server it crashes. There is a solutions
for this problem: use poll in os_unix.c instead of select. Patch with
this change is attached to this bug. This patch was written in Yandex
and successfully used for a several months.

LIBFCGI_OS_CLOSE_POLL_TIMEOUT and LIBFCGI_IS_AF_UNIX_KEEPER_POLL_TIMEOUT
environment variables are added to control poll timeouts in Os_Close and
is_af_unix_keeper functions accordingly.


$ lsb_release -rd
Description:    Ubuntu 10.04.2 LTS
Release:        10.04

Package libfcgi0ldbl 2.4.0-7.1ubuntu1

** Affects: libfcgi (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/933417

Title:
  Stack smashing while using a lot of connections

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libfcgi/+bug/933417/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to