Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-08-24 03:09:52

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Apache Fine Tuning

Has anyone fine tuned their apache for optimized running?

Has anyone ran ab? Whats the max requests per second you have received?

Got any suggestions? 4GB System with around 2-3GB free at any given time

Last edited by ptsguy (2012-08-24 03:58:28)

Offline

#2 2012-08-29 11:00:15

Tenche
Member
Registered: 2012-06-30
Posts: 46

Re: Apache Fine Tuning

Depends on the traffic. I'd suggest worrying more about caching using APC or eAccelerator than tweaking apache. Caching and mysql tuning is way more important in my opinion.

Offline

#3 2012-08-29 13:45:24

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: Apache Fine Tuning

I got apc running already...

Offline

#4 2012-08-30 07:58:00

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Apache Fine Tuning

There is not much you can tweak in apache. Apache is the best web server for php, if you run only php as mod_php, if you run php + html + images, its not good at all.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2012-08-30 14:59:30

Mitomind
Member
Registered: 2012-06-27
Posts: 166

Re: Apache Fine Tuning

You might want to tweak the php.ini vs. apache.  If you have 2-3 GB free it might be because you are allocating more to php.  You might want to look through the php.ini and increase the amount of memory and other various options.  Especially if you are just running ASP on your server, increasing variables in the php.ini might give you the boost you are looking for.

Also, you should check what hardware your server is running.  I know my server is a cheap VPS that is running Centos i386 vs a 64bit with would be faster. 

Hope this helps!

Offline

#6 2012-08-30 19:53:07

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: Apache Fine Tuning

symtab wrote:

There is not much you can tweak in apache. Apache is the best web server for php, if you run only php as mod_php, if you run php + html + images, its not good at all.

can you explain this a little more... I've read about leaning up on the preinstalled mods, but what do you mean only mod_php vs php+html+images?

Offline

#7 2012-08-31 07:19:48

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Apache Fine Tuning

Apache + mod_php is very good at running PHP only. You only run .php files, not .css, no .jpg, ONLY .php.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB