logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache Problem on port 80 after about 10 hours of work
Author
mario.vecchiato



Joined: 03 Jun 2015
Posts: 1
Location: Venezia

PostPosted: Wed 03 Jun '15 15:39    Post subject: Apache Problem on port 80 after about 10 hours of work Reply with quote

Hello everyone, I have a problem on an installation Apache 2.4.12 and Windows 2008 R2 64-bit on a VMware virtual machine.

This server contains two sites developed in wordpress and these sites work without problem on a server xamp. I made a migration to move apache and mysql. The problem that occurs is that after about 9/10 hours the server becomes inaccessible from outside the server (in LAN) on port 80. In Remote Desktop can use phpmyadmin through localhost, not from the outside in. If I access to port 443 instead allowed from outside. It seems that they do not accept new connections on port 80. When restart apache everything returns to normal and I can access from the outside to port 80.

In the log file appear only this error:
AH00326: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting

and numerous warning like this:
The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.

I have read some message on forums that some have solved by inserting the following lines in the configuration file:

AcceptFilter http none
AcceptFilter https none
EnableMMAP off
EnableSendfile off

For groped to solve the problem I installed a new virtual machine with the same OS and the same configuration file, but this error does not occur in my test environment. Can anyone help me?

Thankyou for your reply.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7304
Location: Germany, Next to Hamburg

PostPosted: Mon 08 Jun '15 15:41    Post subject: Reply with quote

Consider raising the ThreadsPerChild setting

it seems that all your child threads are busy.

Do you monitor your server via server-status page?

What is the value of your ThreadsPerChild?
Back to top


Reply to topic   Topic: Apache Problem on port 80 after about 10 hours of work View previous topic :: View next topic
Post new topic   Forum Index -> Apache