GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress Blog with 80K aboard overloads P4 2.8 server (https://gfy.com/showthread.php?t=588190)

rednet 03-18-2006 04:02 PM

Wordpress Blog with 80K aboard overloads P4 2.8 server
 
Hi all,

i have a server:

CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz,
1 GB ram,
SCSI HDD

my site has about 100K uniques daily aboard...
script - wordpress blog, no other scripts used

my server is overloaded, almost down... is it normal for such amounts of traffic and my config described above?

thank you

tenderobject 03-18-2006 04:04 PM

whats your bandiwdth?

KingK7 03-18-2006 04:04 PM

I think I read something about wordpress causing some sort of memory leak, might wanna search on that, not sure...

JD 03-18-2006 04:07 PM

holy shit. what kind of site is it? is it an actual blog or are you using wordpress as something else?

mrkris 03-18-2006 04:08 PM

rednet, hit me up on ICQ and I'll give you a hand

rednet 03-18-2006 04:08 PM

bandwidth is about 10-11 Megabits (2-2.5 terabytes monthly)

baddog 03-18-2006 04:09 PM

something is wrong, no way should you be having trouble

patmccrotch 03-18-2006 04:13 PM

http://mnm.uib.es/gallir/wp-cache-2/

slap that on there and you should see not only a speed up in the page loading, but also a lightened load on the server.

JD 03-18-2006 04:15 PM

Quote:

Originally Posted by baddog
something is wrong, no way should you be having trouble

i'm thinking the same thing.

rednet 03-18-2006 04:21 PM

does anybody have blogs with over 100K aboard on wordpress script?

and what server configs do you use?

crockett 03-18-2006 04:22 PM

I think you can run into problems with scripts like wordpress on high traffic sites, if you use permalinks.

fris 03-18-2006 04:24 PM

you probably want to tweak /etc/my.cnf for mysql, increase max connections, the amount of memory.

tweak your httpd.conf and change the startservrs min and max, and a few other options.

also you should edit php.ini to increase the memory size, its defaulted by 8M which is way too low, you should have a minimum of 64M.

hope that helps

mrkris 03-18-2006 04:28 PM

fris: he has 75mb of ram free. start servers are at 60, spare at 90. He needs more ram otherwise he will swap out.

Violetta 03-18-2006 04:32 PM

that's a lot of traffic, but shouldt fuck it up!

mrkris 03-18-2006 04:33 PM

Wordpress has poorly written queries which results in many bottlenecks. If your apache processes sit there waiting for MySQL to finish, you will be getting hit with more requests than you have apache processes, which is why many people get the timeouts to sites.

fris 03-18-2006 04:37 PM

Quote:

Originally Posted by mrkris
fris: he has 75mb of ram free. start servers are at 60, spare at 90. He needs more ram otherwise he will swap out.

here is what i have for apache.

Timeout 300
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 5
MinSpareServers 5
MaxSpareServers 20
StartServers 8
MaxClients 450
MaxRequestsPerChild 1000

also if he is running freebsd, the defult maxusers is pretty low, which only allows 64 procs running, you may want to recompile kernel to allow many more

kern.maxfiles grows comparing the current value of maxusers

maxusers =1 means you can have 36 procs running at once including the 18 at bootup.

setting to 64 will allow 1044 procs, remember each time the web server spawns another server, it grows, so its gonna be heavy down if your apache isnt tweaked.

might wanna tweak kern.ipc.somaxconn also.

the variable for the amount to listen for tcp connections, this should be set to 1024

also wanna look at NMBCLUSTERS if you have that set low, it will definatly have an impact.

NMBCLUSTERS variable tells how many mbufs available.

that should be all.

this is for freebsd, as all my boxes are freebsd.





64 maxusers =

JD 03-18-2006 04:44 PM

Quote:

Originally Posted by mrkris
Wordpress has poorly written queries which results in many bottlenecks. If your apache processes sit there waiting for MySQL to finish, you will be getting hit with more requests than you have apache processes, which is why many people get the timeouts to sites.

YOU'RE POORLY WRITTEN! :upsidedow

jrap 03-18-2006 04:50 PM

Quote:

Originally Posted by patmccrotch
http://mnm.uib.es/gallir/wp-cache-2/

slap that on there and you should see not only a speed up in the page loading, but also a lightened load on the server.


Thanks for the link

Very easy to install, awsome :thumbsup

Murderous 03-18-2006 05:20 PM

Turn that 80k into 160k with a Theme from Bangman, SEE SIG.

Also....

You wouldn't be interested in trading hard links would ya? ;)

JD 03-18-2006 05:21 PM

Quote:

Originally Posted by Murderous
Turn that 80k into 160k with a Theme from Bangman, SEE SIG.


:1orglaugh :1orglaugh :1orglaugh Thanks for the laugh

tokugawa 03-18-2006 05:45 PM

You should also consider indexing some tables in your mySql database.

Doctor Dre 03-18-2006 05:58 PM

Quote:

Originally Posted by Murderous
Turn that 80k into 160k with a Theme from Bangman, SEE SIG.

Also....

You wouldn't be interested in trading hard links would ya? ;)

Isn't he selling the same theme in diff versions over and over ?

tedwinters 03-18-2006 06:25 PM

yeah, it's probably your mod-rewrites that are overloading it.. the .htaccess

Love Sex 03-18-2006 06:34 PM

bookmark

pr0 03-18-2006 06:36 PM

hit up brian at vintagehost, ([email protected]) or on aim "vintage support"

he will figure out the problem & tweak your server for a nominal fee

Probono 03-18-2006 07:47 PM

Quote:

Originally Posted by patmccrotch
http://mnm.uib.es/gallir/wp-cache-2/

slap that on there and you should see not only a speed up in the page loading, but also a lightened load on the server.


Thanks for the plugin!!!

Nasty 03-18-2006 08:16 PM

That doesnt seem normal, that machine should be able to handle a couple of sites like that, something is wrong somewhere

Cyberhuss 03-18-2006 08:21 PM

Quote:

Originally Posted by SPeRMiNaToR
holy shit. what kind of site is it? is it an actual blog or are you using wordpress as something else?

SPeRMiNaToR, I'm working on a new site and need some help with wordpress, could you help me out?

uni9 03-18-2006 08:48 PM

Thats alot of traffic. I personally use wordpress ALOT but I've never had any troubles although my numbers have never reached that high.

4Pics 03-18-2006 10:45 PM

pretty sure it's normal for wp with high traffic to have problems, you need to cache the front page and you will eliminate a buncha the headaches and also do some of the mysql/apache tweaks suggested.

I don't think it was designed for adult traffic.

JD 03-18-2006 11:03 PM

Quote:

Originally Posted by Cyberhuss
SPeRMiNaToR, I'm working on a new site and need some help with wordpress, could you help me out?

possibly. hit me on icq :thumbsup

IceMaster 03-19-2006 12:11 AM

Add more Ram.

Rictor 03-19-2006 12:14 AM

I put 3 or 4 Wordpress blogs on one server...small blogs...and it overloaded the server...the script has issues.

Antonio 03-19-2006 03:59 AM

next time use a flat database blogging script .......

patmccrotch 03-19-2006 08:52 AM

so, rednet, did any of the suggestions help?

nico-t 03-19-2006 09:04 AM

Quote:

Originally Posted by patmccrotch
http://mnm.uib.es/gallir/wp-cache-2/

slap that on there and you should see not only a speed up in the page loading, but also a lightened load on the server.

thats a nice plugin, thanks for the link

tranza 03-19-2006 12:24 PM

What's your blog dude?

Marty_McFly 03-19-2006 12:28 PM

The Wordpress problems are fixed by version 5.0, hang on till then and you'll be good.

iwantchixx 03-19-2006 12:32 PM

if you have a lot of "pages" built with the script it will bog your shit down.

sfera 03-19-2006 12:41 PM

great problem to have, too much traffic lol

Gungadin 03-19-2006 12:45 PM

I have that problem with a wiki site that I run... after MUCH tinkering with config files, I just ended up putting a cron job in that restarts httpd every 2 hours... it means about 2 minutes of "scheduled" downtime every day but it was better than an unexpected hard crash a few times a day... and certainly better than having to put up more hardware.


All times are GMT -7. The time now is 02:56 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123