Portal Home > Knowledgebase > Articles Database > Apache Crashing due to 500 sessions to 0.0.0.0


Apache Crashing due to 500 sessions to 0.0.0.0




Posted by fastdonzi21, 08-18-2008, 08:50 PM
Hey everyone I am having an issue with Apache on my cpanel server crashing. When I look up the the sessions it shows 500 connections to 0.0.0.0 (or default route). I contacted my hosting provider and they explained it is due to customers code. I.e. they reference urls via domain httpwwwdomaincom/something.html vs directory structure ie /home/public_html/something.html. Personally, I don't think this is the reason for the server crashing. There is no way to make sure that all customers use the directory structure in their code. I cant reference urls since I am a new user. Personally, I have plenty of pages hosted on a popular shared host running cpanel and I have referenced domains in code without the server going down. What could cause this? How might I fix it? I am running CentOS 4x with cpanel 11 + WHM Thank you for any help you can provide.

Posted by sirius, 08-18-2008, 09:21 PM
Moved to Technical and Security Issues.... Sirius

Posted by zacharooni, 08-19-2008, 08:57 AM
Try turning off allow_url_include and allow_url_fopen, and see how many connections you get

Posted by david510, 08-19-2008, 08:05 PM
The absolute url does open more connections to the server when called. If more users access the site more connections are made. Try increasing the MaxClients value in apache.

Posted by prashant1979, 09-01-2008, 01:17 PM
Is it advisable to block incoming connections from 0.0.0.0 in the firewall?

Posted by zacharooni, 09-01-2008, 07:25 PM
No, that would not be advisable.

Posted by prashant1979, 09-02-2008, 07:42 AM
What could be the problem if we block the incoming connections from 0.0.0.0?

Posted by Gary Brahmi, 09-02-2008, 08:48 AM
This would mean that no connections would be accepted from any IP address on the server.

Posted by TowerOfPower, 09-02-2008, 09:34 AM
0.0.0.0 signifies a binding to all the IP addresses that the system/interface has available. I'm not sure what a connection to 0.0.0.0 might be in technical terms, but Apache binding to 0.0.0.0 means it's listening to all available IPs.

Posted by prashant1979, 09-03-2008, 12:51 AM
Got it buddy. Thanks for the explanation.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Reverse Proxy (Views: 810)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.