Wordpress Blog with 80K aboard overloads P4 2.8 server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rednet
    Registered User
    • Aug 2004
    • 82

    #1

    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
    Need Designs? 312352846
    • Dec 2004
    • 11688

    #2
    whats your bandiwdth?


    NEED DESIGNS?!?

    Comment

    • KingK7
      Confirmed User
      • Jun 2002
      • 6372

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

      Comment

      • JD
        Too lazy to set a custom title
        • Sep 2003
        • 22651

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

        Comment

        • mrkris
          Confirmed User
          • May 2005
          • 2737

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

          PHP-MySQL-Rails | ICQ: 342500546

          Comment

          • rednet
            Registered User
            • Aug 2004
            • 82

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

            Comment

            • baddog
              So Fucking Banned
              • Apr 2001
              • 107089

              #7
              something is wrong, no way should you be having trouble

              Comment

              • patmccrotch
                Confirmed User
                • Oct 2002
                • 655

                #8
                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.

                Comment

                • JD
                  Too lazy to set a custom title
                  • Sep 2003
                  • 22651

                  #9
                  Originally posted by baddog
                  something is wrong, no way should you be having trouble
                  i'm thinking the same thing.

                  Comment

                  • rednet
                    Registered User
                    • Aug 2004
                    • 82

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

                    and what server configs do you use?

                    Comment

                    • crockett
                      in a van by the river
                      • May 2003
                      • 76818

                      #11
                      I think you can run into problems with scripts like wordpress on high traffic sites, if you use permalinks.
                      In November, you can vote for America's next president or its first dictator.

                      Comment

                      • fris
                        Too lazy to set a custom title
                        • Aug 2002
                        • 55679

                        #12
                        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
                        Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                        Comment

                        • mrkris
                          Confirmed User
                          • May 2005
                          • 2737

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

                          PHP-MySQL-Rails | ICQ: 342500546

                          Comment

                          • Violetta
                            Affiliate
                            • Jul 2004
                            • 28735

                            #14
                            that's a lot of traffic, but shouldt fuck it up!
                            M&A Queen

                            Comment

                            • mrkris
                              Confirmed User
                              • May 2005
                              • 2737

                              #15
                              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.

                              PHP-MySQL-Rails | ICQ: 342500546

                              Comment

                              • fris
                                Too lazy to set a custom title
                                • Aug 2002
                                • 55679

                                #16
                                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 =
                                Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                                Comment

                                • JD
                                  Too lazy to set a custom title
                                  • Sep 2003
                                  • 22651

                                  #17
                                  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!

                                  Comment

                                  • jrap
                                    Confirmed User
                                    • Feb 2005
                                    • 448

                                    #18
                                    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

                                    Comment

                                    • Murderous
                                      Confirmed User
                                      • Oct 2003
                                      • 3938

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

                                      Also....

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

                                      Comment

                                      • JD
                                        Too lazy to set a custom title
                                        • Sep 2003
                                        • 22651

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

                                        Thanks for the laugh

                                        Comment

                                        • tokugawa
                                          Registered User
                                          • Aug 2004
                                          • 40

                                          #21
                                          You should also consider indexing some tables in your mySql database.
                                          www.abusedtalents.com

                                          Webmaster $$$

                                          Comment

                                          • Doctor Dre
                                            Too lazy to set a custom title
                                            • Jan 2001
                                            • 51692

                                            #22
                                            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 ?
                                            Originally posted by rayadp05
                                            I rebooted, deleted temp files, history, cookies and everything...still cannot view the news clip. All I see is that fucking gay ass music video from "Rick Roll". Anyone else have a different link to the news clip?

                                            Comment

                                            • tedwinters
                                              Confirmed User
                                              • Oct 2003
                                              • 672

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

                                              Comment

                                              • Love Sex
                                                Confirmed User
                                                • Nov 2004
                                                • 1905

                                                #24
                                                bookmark

                                                Comment

                                                • pr0
                                                  rockin tha trailerpark
                                                  • May 2001
                                                  • 23088

                                                  #25
                                                  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
                                                  __________
                                                  Loadedca$h - get sum! - Revengebucks - mmm rebills! - webair (gotz sErVrz)

                                                  Comment

                                                  • Probono
                                                    Confirmed User
                                                    • Oct 2002
                                                    • 2731

                                                    #26
                                                    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!!!

                                                    Comment

                                                    • Nasty
                                                      Confirmed User
                                                      • Aug 2002
                                                      • 1575

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

                                                      “Ours is a world of nuclear giants and ethical infants. We know more about war than we know about peace, more about killing than we know about living. If we continue to develop our technology without wisdom or prudence, our servant may prove to be our executioner.” ― Omar Bradley (1948)

                                                      Comment

                                                      • Cyberhuss
                                                        Confirmed User
                                                        • Feb 2005
                                                        • 193

                                                        #28
                                                        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?
                                                        ICQ

                                                        305498594

                                                        Comment

                                                        • uni9
                                                          Registered User
                                                          • Nov 2005
                                                          • 35

                                                          #29
                                                          Thats alot of traffic. I personally use wordpress ALOT but I've never had any troubles although my numbers have never reached that high.
                                                          $ Make Money with NastyDollars! $

                                                          Comment

                                                          • 4Pics
                                                            Confirmed User
                                                            • Dec 2001
                                                            • 7952

                                                            #30
                                                            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.

                                                            Comment

                                                            • JD
                                                              Too lazy to set a custom title
                                                              • Sep 2003
                                                              • 22651

                                                              #31
                                                              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

                                                              Comment

                                                              • IceMaster
                                                                Confirmed User
                                                                • Jan 2005
                                                                • 8920

                                                                #32
                                                                Add more Ram.

                                                                Comment

                                                                • Rictor
                                                                  Old Timer
                                                                  • Jan 2001
                                                                  • 12208

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

                                                                  Comment

                                                                  • Antonio
                                                                    Too lazy to set a custom title
                                                                    • Oct 2001
                                                                    • 14136

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

                                                                    Comment

                                                                    • patmccrotch
                                                                      Confirmed User
                                                                      • Oct 2002
                                                                      • 655

                                                                      #35
                                                                      so, rednet, did any of the suggestions help?

                                                                      Comment

                                                                      • nico-t
                                                                        emperor of my world
                                                                        • Aug 2004
                                                                        • 29903

                                                                        #36
                                                                        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

                                                                        Comment

                                                                        • tranza
                                                                          ICQ: 197-556-237
                                                                          • Jun 2003
                                                                          • 57559

                                                                          #37
                                                                          What's your blog dude?
                                                                          I'm just a newbie.

                                                                          Comment

                                                                          • Marty_McFly
                                                                            Registered User
                                                                            • Mar 2006
                                                                            • 15

                                                                            #38
                                                                            The Wordpress problems are fixed by version 5.0, hang on till then and you'll be good.
                                                                            Do you wanna ride, in the backseat of my Delorean...

                                                                            Comment

                                                                            • iwantchixx
                                                                              Too lazy to set a custom title
                                                                              • Oct 2002
                                                                              • 12860

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

                                                                              Comment

                                                                              • sfera
                                                                                Confirmed User
                                                                                • Aug 2005
                                                                                • 8597

                                                                                #40
                                                                                great problem to have, too much traffic lol

                                                                                Comment

                                                                                • Gungadin
                                                                                  Confirmed User
                                                                                  • Aug 2005
                                                                                  • 444

                                                                                  #41
                                                                                  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.
                                                                                  The GFY popularity contest scoreboard

                                                                                  Comment

                                                                                  Working...