Apache troubles :(

RosT

Verified User
Joined
Jul 4, 2004
Messages
73
Server:
Celeron 2.6GHz
1.5GB DDR

/etc/httpd/conf/httpd.conf:
Timeout 30
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 2
MinSpareServers 5
MaxSpareServers 20
StartServers 8
MaxClients 350
#MaxClients 450
#MaxRequestsPerChild 1000
MaxRequestsPerChild 500

Apache slow or go to down. Some errors:

httpd in free(): warning: chunk is already free
[Sat Sep 10 15:33:00 2005] [emerg] (9)Bad file descriptor: flock: LOCK_EX: Error getting accept lock. Exiting!
[Sat Sep 10 15:33:01 2005] [alert] Child 5037 returned a Fatal error... \nApache is exiting!
[Sat Sep 10 15:33:46 2005] [warn] NameVirtualHost 217.107.218.169:80 has no VirtualHosts
[Sat Sep 10 15:33:46 2005] [warn] NameVirtualHost 217.107.218.169:443 has no VirtualHosts
[Sat Sep 10 15:33:46 2005] [warn] NameVirtualHost 217.107.218.176:80 has no VirtualHosts
[Sat Sep 10 15:33:46 2005] [warn] NameVirtualHost 217.107.218.176:443 has no VirtualHosts
[Sat Sep 10 15:33:46 2005] [crit] (48)Address already in use: make_sock: could not bind to port 8090
[Sat Sep 10 15:42:48 2005] [warn] NameVirtualHost 217.107.218.169:80 has no VirtualHosts
[Sat Sep 10 15:42:48 2005] [warn] NameVirtualHost 217.107.218.169:443 has no VirtualHosts
[Sat Sep 10 15:42:48 2005] [warn] NameVirtualHost 217.107.218.176:80 has no VirtualHosts
[Sat Sep 10 15:42:48 2005] [warn] NameVirtualHost 217.107.218.176:443 has no VirtualHosts
[Sat Sep 10 15:42:48 2005] [crit] (48)Address already in use: make_sock: could not bind to port 8090

Use all RAM. How to find vhost, that use many RAM?


How to fix this all?
 
RosT said:
httpd in free(): warning: chunk is already free
[Sat Sep 10 15:33:00 2005] [emerg] (9)Bad file descriptor: flock: LOCK_EX: Error getting accept lock. Exiting!
[Sat Sep 10 15:33:01 2005] [alert] Child 5037 returned a Fatal error... \nApache is exiting!
[Sat Sep 10 15:33:46 2005] [warn] NameVirtualHost 217.107.218.169:80 has no VirtualHosts
The exiting lines followed by the "no VirtualHosts" lines appears to me to indicate that apache has restarted.
(48)Address already in use: make_sock: could not bind to port 8090
I've had problems before with other services appearing to use ports. Usually because some kind of firewalling has grabbed the port because it's not in the firewall ruleset.
Use all RAM. How to find vhost, that use many RAM?
Can you show us your memory usage:

# cat /proc/meminfo

and

the top few lines of the top command?

Jeff
 
Back
Top