![]() |
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 |
whats your bandiwdth?
|
I think I read something about wordpress causing some sort of memory leak, might wanna search on that, not sure...
|
holy shit. what kind of site is it? is it an actual blog or are you using wordpress as something else?
|
rednet, hit me up on ICQ and I'll give you a hand
|
bandwidth is about 10-11 Megabits (2-2.5 terabytes monthly)
|
something is wrong, no way should you be having trouble
|
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. |
Quote:
|
does anybody have blogs with over 100K aboard on wordpress script?
and what server configs do you use? |
I think you can run into problems with scripts like wordpress on high traffic sites, if you use permalinks.
|
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 |
fris: he has 75mb of ram free. start servers are at 60, spare at 90. He needs more ram otherwise he will swap out.
|
that's a lot of traffic, but shouldt fuck it up!
|
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.
|
Quote:
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 = |
Quote:
|
Quote:
Thanks for the link Very easy to install, awsome :thumbsup |
Turn that 80k into 160k with a Theme from Bangman, SEE SIG.
Also.... You wouldn't be interested in trading hard links would ya? ;) |
Quote:
:1orglaugh :1orglaugh :1orglaugh Thanks for the laugh |
You should also consider indexing some tables in your mySql database.
|
Quote:
|
yeah, it's probably your mod-rewrites that are overloading it.. the .htaccess
|
bookmark
|
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 |
Quote:
Thanks for the plugin!!! |
That doesnt seem normal, that machine should be able to handle a couple of sites like that, something is wrong somewhere
|
Quote:
|
Thats alot of traffic. I personally use wordpress ALOT but I've never had any troubles although my numbers have never reached that high.
|
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. |
Quote:
|
Add more Ram.
|
I put 3 or 4 Wordpress blogs on one server...small blogs...and it overloaded the server...the script has issues.
|
next time use a flat database blogging script .......
|
so, rednet, did any of the suggestions help?
|
Quote:
|
What's your blog dude?
|
The Wordpress problems are fixed by version 5.0, hang on till then and you'll be good.
|
if you have a lot of "pages" built with the script it will bog your shit down.
|
great problem to have, too much traffic lol
|
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