Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Apache very slow since OpenSSL activated



3:16 pm on Dec 12, 2010 (gmt 0)

5+ Year Member

I recently enabled openSSL on my Windows Apache 2.0 installation. I have PHP 5.1.4 installed and the openSSL version is also 5.1.4. Since I did this, my http requests have become extremely slow and in most cases would result in unable to connect error.

I disabled the OpenSSL module in the php.ini and the server is now working perfectly again.

I need OpenSSL but not with this sort of side effects. Also, there is no errors in the apache logs.

Anyone have any suggestions as to what it could be?



5:36 am on Dec 15, 2010 (gmt 0)

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

A rule of thumb: SSL will make your site about 3x slower.

More or less.
That's a stat that a sysadmin once told me. I'm inclined to say that's a conservative estimate.

As the server is working 3x harder to decrypt all the requests, consequently your server will be able to handle 33% of its usual load.

Watch your CPU usage when SSL is turned on. Maybe you just need to throw more hardware at the problem.


2:52 pm on Dec 15, 2010 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

I recommend you try the Apache 2.2.x distro instead.

openSSL version is also 5.1.4

Actually, that's probably mod_ssl, not OpenSSL. And PHP is likely 5.2.14. Here nor there.

I had issues with Apache > 2.2.14 on our Windows test server so reverted to 2.2.14, haven't tried the latest 2.2.17 release yet. But maybe give that a shot first?

Featured Threads

Hot Threads This Week

Hot Threads This Month