I have a simple web site in php served over apache running on ARM Linux. It normally works fine. But sometimes, certain pages cannot be retrieved at all. I have 5-6 pages. All the other pages would work fine when this happens. There is no timeout error either. When it happens, Firefox or Chrome would just keep saying "Connecting..." forever. I tried
wget -v and it says:
HTTP request sent, awaiting response...
and just hangs there.
I could telnet into the box and access the file locally without a problem so it's not a storage issue.
What's even more strange is:
- I logged into the box
cp foo.php foo1.php
- Back at the client side,
wget -v foo1.phphas the same issue!
EDIT: More information
So I have a small embedded ARM computer that serves a few simple PHP web pages. The computer sit on a LAN behind a Sonicswall firewall/vpn router. Port forwarding is configured on the router to allow external access to the web server (port 80). Everything works fine to start with. After a few days, one of the page cannot be retrieved. Here are a few peculiar things about the problem:
- Only external access is affected. All page are accessible from inside.
- When the problem happens, Apache log doesn't show any request at all.
- Rebooting the ARM computer and it'll work again.
- It almost always happen to the same page, which happens to be named system.php.
So it's a bit of a mystery to me: if it's the firewall, the rebooting the ARM computer wouldn't help; if it's the ARM computer, then internal access would have the same problem.
I really haven't a clue what's going on. Could somebody help?