fd_setsize (rhel 5)

Kjette

New member
Joined
Sep 9, 2008
Messages
1
Hello,

OS: Redhat Enterprise 5
DirectAdmin version: 1.32.2
Apache version: Apache 2.2.9

We have a issue with customer that runs FastCGI on our new Redhat machines, we cant change the value of fd_setsize, the following is generated by Apache:

[Mon Sep 08 16:04:32 2008] [error] [client 217.78.xx.xxx] FastCGI:
failed to connect to server
"/home/webXXXX/domains/XXXX/public_html/dispatch.fcgi":
socket file descriptor (5878) is larger than FD_SETSIZE (1024), you
probably need to rebuild Apache with a larger FD_SETSIZE
[Mon Sep 08 16:04:32 2008] [error] [client 217.78.xx.xxx] FastCGI:
incomplete headers (0 bytes) received from server
"/home/webXXXX/domains/XXXX/public_html/dispatch.fcgi"

We have tried to change everything by following this guide:
http://www.directadmin.com/help/item.php?id=9

And also been in contact with DirectAdmin support, who gave us following tip:
I've made a few updates to the build script. Try:

cd /usr/local/directadmin/custombuild
./build update
./build all d

I've added patches in the apache source:

#ifdef FD_SETSIZE
#undef FD_SETSIZE
#endif
#define FD_SETSIZE 32768


But still no luck at all, this works just fine on our FreeBSD servers, just our Redhat.

If anyone have some information, we would be gladly appreciated if you can share that with us.

Thanks in advance.
 
Back
Top