homepage Welcome to WebmasterWorld Guest from 54.237.249.10
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Apache very slow since OpenSSL activated
ahmed24




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

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?

Thanks

 

httpwebwitch




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

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.

coopster




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

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?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved