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 -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: ssl_module - Refusing connections under load
Author
ev5unleash



Joined: 16 Dec 2013
Posts: 3
Location: USA

PostPosted: Mon 16 Dec '13 23:16    Post subject: ssl_module - Refusing connections under load Reply with quote

Hi everyone,

I currently have WAMP installed on a Windows 7 with the specs below:

    Windows 7 64-bit
    WAMP
    -Apache 2.4.4 (Win64)
    -OpenSSL 1.0.1d
    -PHP 5.4.12
    8 GB of DDR3-1600MHZ RAM (2x4GB)
    128 SSD
    Intel Core i3-3217U @ 1.8GHZ


The problem I am having with this server is that it will stop fulfilling SSL-based requests after a certain amount of time. This server takes about 500-600 SSL based connections at any time so it is under a bit of a load. However, I don't have any bottlenecks in terms of performance. HTTPD.exe takes about 1.5GB of RAM on average and uses about 5-15% of the CPU.

The interesting thing is that the non-SSL virtual servers will respond properly. I can view the server stats via the status_module and access other virtual servers that serve different domains. When I view the status of the server I see a large amount of connections that are stuck in the "_" - Waiting for connection state. My machine that got the "ERR_CONNECTION_REFUSED" error message is also there under "Waiting for connection". So far the only fix is restarting the webserver every 5-10 minutes.

Any ideas?

Thanks,
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 16 Dec '13 23:45    Post subject: Reply with quote

somewhere in httpd.conf

AcceptFilter http none
AcceptFilter https none

I'm sure you will find in your error log the words Synchronous AcceptEx failed
Back to top
ev5unleash



Joined: 16 Dec 2013
Posts: 3
Location: USA

PostPosted: Tue 17 Dec '13 21:48    Post subject: Reply with quote

I added that into my httpd config. Didn't see those words in any of my logs. I put the server in debug during the load and waited for the SSL Vhost to stop responding. Didn't find anything amiss :/
Back to top
James Blond
Moderator


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

PostPosted: Wed 18 Dec '13 19:14    Post subject: Reply with quote

Please post the error log before and while the hanging at pastebin . com so we can take a look at it.
Back to top
ev5unleash



Joined: 16 Dec 2013
Posts: 3
Location: USA

PostPosted: Thu 02 Jan '14 16:51    Post subject: Logs Reply with quote

Hello,

I wasn't able to upload to pastebin as it was too big.

[url]https://mega.co.nz/#!TQ03mA4R!DlYqAA4JDj2SqpBZAewjNWlRkP5F47rh0ph8xxT9ClA
[/url]

I used debug because info didn't give much of anything.

This log is from server start, to rejection connections towards the end, and to closing down the server at the end.

Hopefully someone will see something worth looking into.

Thanks,
Back to top
_root



Joined: 06 Jan 2014
Posts: 1
Location: CA

PostPosted: Mon 06 Jan '14 18:40    Post subject: Reply with quote

I have a same problem , Http protocol and other virtual http hosts work good , but HTTPS / SSL wait for connection . Question
Back to top


Reply to topic   Topic: ssl_module - Refusing connections under load View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules