【发布时间】:2015-02-01 02:51:45
【问题描述】:
我编辑了__FD_SETSIZE = 1024 to 4096:
/usr/include/linux/posix_types.h
/usr/include/x86_64-linux-gnu/bits/typesizes.h
#define __FD_SETSIZE 4096
在这些更改之后,我刚刚编译了我的 apache2 和 libapache2-mod-fastcgi。
我怎么能确定我不会收到这个错误:
[Wed Dec 03 10:24:35 2014] [error] [client xx.xx.xx.xx] FastCGI: failed to connect to server "/usr/lib/cgi-bin/php5-fcgi-dev": socket file descriptor (1024) is larger than FD_SETSIZE (1024), you probably need to rebuild Apache with a larger FD_SETSIZE, referer: http://exemple.com/
是否可以检查这个新值以确保我不会再次看到此错误消息?
【问题讨论】: