Reza Rad
asked on
Wamp Server, Apache doesn't respond. Website is not reachable from Internet
Hi,
It is a weird issue. website is hosted in a windows Azure VM. Wampserver running. everything was fine till few days ago. From few days ago website is very slow, and some hours it is not coming up at all! I do have three websites on this and need an urgent help please. even if it is a paid help.
It is a weird issue. website is hosted in a windows Azure VM. Wampserver running. everything was fine till few days ago. From few days ago website is very slow, and some hours it is not coming up at all! I do have three websites on this and need an urgent help please. even if it is a paid help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Suggest:
apache2ctl stop, delete the log files, apache2ctl start. Let it run until you have about 200 Kbytes of log. Then apache2ctl stop, make a copy of the log files somewhere else, apache2ctl start.
This lets you examine a reasonable-size log file to see what is going on.
Side note: If the Apache log files are getting up to a gigabyte, this causes other issues in the system due to file fragmentation as the system needs more file mapping windows, and file relocation occurs. Suggest that you journal the logfiles daily with a cron script.
apache2ctl stop, delete the log files, apache2ctl start. Let it run until you have about 200 Kbytes of log. Then apache2ctl stop, make a copy of the log files somewhere else, apache2ctl start.
This lets you examine a reasonable-size log file to see what is going on.
Side note: If the Apache log files are getting up to a gigabyte, this causes other issues in the system due to file fragmentation as the system needs more file mapping windows, and file relocation occurs. Suggest that you journal the logfiles daily with a cron script.
Expert proposed a workable method to locate the source of the problem. On followup it developed that the size of the logfiles is an issue and the questioner is probably not rotating the logfiles. Additional input from expert to address that issue.
ASKER
Cheers
Reza