A lot of Includes in httpd.conf

pioklo

Verified User
Joined
Dec 27, 2004
Messages
23
Hello

I have strange problem with apache.
It doesnt bind on port 80 after start when in httpd.conf are more than 409 Includes directive.I have search in apache source for some limits of using "Include" but I have found nothing.
Ssl connection is working fine.
Logs file show concrete nothing. :(

Please help me because when I add new user my apache server stop working.

Regards,
Piotr Kloc
 
It's probably not related to the number of includes. Did you look for anything weird in your error logs?
 
What is the error message that is displayed? Precisely that it can't bind to port 80?

You might want to check and fix the syntax of your configuration file if needed with the apachectl tool.
Most likely: /usr/sinb/apachectl
 
No errors in logs :(

when i do command strace -p PID of main root parrent child of apache :

[root@server root]# strace -p 25442
Process 25442 attached - interrupt to quit
select(0, NULL, NULL, NULL, {0, 270000}) = 0 (Timeout)
time(NULL) = 1104190717
waitpid(-1, 0xbff2d2fc, WNOHANG) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL) = 1104190718
waitpid(-1, 0xbff2d2fc, WNOHANG) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL) = 1104190719
waitpid(-1, 0xbff2d2fc, WNOHANG) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL) = 1104190720

apache doesnt bind on port 80 when in httpd.conf is more than 409 Include :(
When i hash a few Include in httpd.conf evrythink is ok .


pioklo
 
It is a problem with logs file.
Already I have more than 5400 logs and about 3400 vhosts
When I add another user with new vhost and new 3 logs file apache doesnt start.
 
Only thing I can think of is: Are you out of space on a partition such as /var ?

You might try asking the folks in a apache room on irc.
 
Yes I know.
I already resolved this issue .Removed all error log from httpd.conf from each of user.

Regards,
Piotr Kloc
 
"This is an OpenSSL bug, fixed in 0.9.8c and later (it uses select() rather than poll() and doesn't check for the FD_SETSIZE overflow)."
 
Back
Top