Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Apache v2 stops accepting connections randomly (win32)

Posted on 2004-08-26
16
Medium Priority
?
293 Views
Last Modified: 2012-06-27
I have this problem on two different machines:
  Apache randomly will stop accepting connections.  I am unable to telnet to port 80, or use a web browser to conenct to the machines.  Even on the machine locally I am unable to connect either way.

  The service will run for hours fine, then suddenly it stops accepting connections, and will start accepting them about 2-5 minutes later.

  The apache monitor in the task bar shows green, and the service status is running.

  In task manager, the apache processes are there like I normally see, and they are not using any excessive time or memory.   Usually little or no time actually.

  This has been happing for a long time, and I have not been able to track it down so far...

  No obvious errors in the apache error log.

  Nothing in the Windows event logs...

   Running latest apache v2 (.50).

   Two different computers have this problem.    One is Windows 2000 Pro, other is Windows XP Pro.
 
   The only common software between the two is Apache (though the 2000 pro machine is running an older version), and both are running WSFTP Server (latest version).

   I have tried turning off the WSFTP Server service on one of them, and that didnt fix it.

   Any things I can check, ideas, etc. ??

Thanks!
0
Comment
Question by:SSzretter
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
16 Comments
 
LVL 16

Expert Comment

by:xDamox
ID: 11906618
This could be a problem with the number of people connecting if you check you apache config you will see what the limit
is for the number of people viewing the site. you may want to increase the number
0
 

Author Comment

by:SSzretter
ID: 11906777
Good thought.   I did check that already, and upped it.    Neither server is very active generally, so I dont THINK that is the problem, but is there a way to tell if apache has been shutting down due to that, maybe because of a hacker?
0
 
LVL 16

Expert Comment

by:xDamox
ID: 11907022
if you check apaches error log it sometimes will tell you why it has shutdown
you also may could be being DdoSed (Distructible Dental of service) by someone like a cracker
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:SSzretter
ID: 11916563
The only things I see in the error log are messages about "File does not exist" -- looks like people hitting bad URLs...
 
 Also some warnings for "(OS 64) The specified network name is no longer available. : winnt_accept: Asyncronous AcceptEx failed."  here and there, but not always when I have the connection problem.

 Any other suggestions to look at?   Ways to see more log data?  Maybe use performance monitor (I need guidance on that though)?

Thanks.
0
 

Author Comment

by:SSzretter
ID: 11931726
Another thing I have running on this machine (but not on the other) - MySQL - it seems to loose connectivity too fairly often.
I used to have MySQL running on the other machine, but I stopped the service quite a while ago.
0
 
LVL 16

Expert Comment

by:xDamox
ID: 11933072
I would suggest that you upgrade your Apache version to version 2 that may help solve this issue
also were did you get the apache server from?
0
 

Author Comment

by:SSzretter
ID: 11935923
It is version 2 (thats the subject of this question)...    I download my apache binaries from the official apache site  (apache.org)
0
 
LVL 16

Accepted Solution

by:
xDamox earned 2000 total points
ID: 11940745
Hi,

It could be that their is something wrong with apache 2 on windows 64bit try: http://ftp.plig.net/pub/apache/dist/httpd/binaries/win32/apache_1.3.31-win32-x86-no_src.exe

that is apache 1.3.31 if that dont work correctly it is something to do with windows 64bit machine
0
 

Author Comment

by:SSzretter
ID: 11940887
Thanks, but it is not a 64 bit machine.
One machine is a 400mhz Intel, and the other is a 300mhz Intel - both 32bit processors....
??   Or do you mean something else?
0
 
LVL 16

Expert Comment

by:xDamox
ID: 11943978
Sorry about the 64bit i was getting messed up with another question
did you try the other version?

0
 

Author Comment

by:SSzretter
ID: 11945334
I have not tried Apache v1, and I think there was a feature in v2 that I needed which is why I am running v2 - I think maybe SSI, but not positive...
0
 
LVL 16

Expert Comment

by:xDamox
ID: 11945444
you can get all the features avalible with v2 with 1.3.39
0
 

Author Comment

by:SSzretter
ID: 12146106
Ok, update:

I was able to fix my connectivity issues with apache by downgrading to version 1 from version 2 of apache, but I do not LIKE this solution.

For now it is ok, but isnt the future of apache in version 2 and above?

It seems like I should be able to run version 2 without this problem right?
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses
Course of the Month10 days, 22 hours left to enroll

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question