![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
Pretty Permalinks - Wordpress - Server load
How do you guys deal with pretty permalinks on high traffic wordpress sites? It seems the load on my server goes up quite a bit due to the:
RewriteCond %{REQUEST_FILENAME} !-f rule you have to put in htaccess. Any tips? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Canada
Posts: 10,211
|
Quote:
Define "high traffic". I have some WP sites that get substantial traffic and pretty links has never really been an issue for me. Have you tried installing New Relic or another type of monitoring to see what queries are slowing down your site? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
About 100k / day.
and no, I have not. Shall look into it. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
|
R U sure that this is the problem?
It can be quite a few things that can slow down a WP site...
__________________
Make a bank with Chaturbate - the best selling webcam program ![]() ![]() ![]() Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email: ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Oct 2003
Location: L.A.
Posts: 5,740
|
That coffee wouldn't give you issues. What is giving you issues is the logging being done. Go into settings and stop it from counting clicks, etc.
__________________
![]() ![]() * Handwritten * 180 C Class IPs * Permanent! * Many Niches! * Bulk Discounts! GFYPosts /at/ J2Media.net |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
Sites load fine without permalinks. Switched them on to 2 sites and server load increased with 20%
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
|
Quote:
I would check other stuff like mysql loads, php loads etc...
__________________
Make a bank with Chaturbate - the best selling webcam program ![]() ![]() ![]() Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email: ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
Here is what my host support says is the issue:
In the .htaccess it has. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -f = file -d = directory The -f is the problem. It means it's processing the rules for every "file", meaning every thumbnail, etc. If it was just directories it would not be so bad, but with your traffic amount this rule is sending thousands of calls to the CPU per second. So, question is. Is there a solution for this? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
|
This is how things work... This is normal... The only solution is to change the host or to try and figure what is the problem (this clearly isn't since this is probably less than 0.1% cpu power needed to serve one wp page).
__________________
Make a bank with Chaturbate - the best selling webcam program ![]() ![]() ![]() Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email: ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
hm, ok. Thanks for the reply. Maybe its because I'm using an old WP theme
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
|
Theme is usually not that problem (but it can be)... Usually it's the plugins...
__________________
Make a bank with Chaturbate - the best selling webcam program ![]() ![]() ![]() Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email: ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Canada
Posts: 10,211
|
Do you have a lot of pretty links set? Maybe you could just manually 301 redirect them via htaccess instead of using the plugin.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
nope, don't use the pretty links plugin
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Industry Role:
Join Date: Aug 2013
Posts: 1,472
|
Putting those thumbs on CDN should help reduce server load if you don't want to part ways with pretty links. Let me know if you want more information on CDN, we have some great options for all budgets.
__________________
![]() MojoHost.COM | natalie at mojohost dot com | Skype natalie.ac | Telegram @znatalie. Since 1999: 70 Adult Industry awards for Best Hosting Company and professional excellence. |
![]() |
![]() ![]() ![]() ![]() ![]() |