note 104742 deleted from install.fpm.configuration by danbrown
| From: | danbrown@php.net | Date: | Tue, 05 Jul 2011 13:38:40 +0000 |
| Subject: | note 104742 deleted from install.fpm.configuration by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181239@lists.php.net to get a copy of this message | ||
Note Submitter: SaltwaterC
----
In addition to the below comment, listen.backlog is -1 under FreeBSD and OpenBSD. In any other
cases, it defaults to 128, but the docs don't reflect this. Under Linux may default to -1 as
well as the listen(3) man page says, where -1 is the same as passing 0 for backlog, in which case
the kernel decides the actual backlog value.
The thing that proves it (taken from the PHP 5.3.6 source tree):
#if (__FreeBSD__) || (__OpenBSD__)
#define FPM_BACKLOG_DEFAULT -1
#else
#define FPM_BACKLOG_DEFAULT 128
#endif
From the sapi/fpm/fpm/fpm_sockets.h header. I had a really hard time with this default, thinking
that the documentation is right. It isn't.