Link to home
Start Free TrialLog in
Avatar of Reza Rad
Reza RadFlag for New Zealand

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.
ASKER CERTIFIED SOLUTION
Avatar of Dr. Klahn
Dr. Klahn

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Reza Rad

ASKER

Thanks for your comment. Apache Log is 1GB file, when I want to open it it crashes. CPU and RAM usage of the server is very low, It is not highly utilized at all. It would be great if I could talk with you over Skype or something like that to solve the issue
Cheers
Reza
Avatar of Dr. Klahn
Dr. Klahn

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.
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.