Why the hell is r3v down so much lately?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • T Verdier
    R3VLimited
    • Aug 2007
    • 2636

    #16
    Originally posted by James Crivellone
    The challenge appears to be PHP getting stuck and not recovering from the database running its daily backups.

    Several weeks ago I changed how the backups scripts are designed due to frequent corrupt backups that I could not test restore from. During this period I upgraded PHP to the latest version in the 5.2.X string, implemented a new backup NAS, and cleaned up several of the manual scripts I had written to keep the site auto-maintained throughout the time its operational.

    A few weeks after all of this happened, during the 2am backup script (which is a series of *nix shell scripts that mount a samba share (the NAS) begin a mysqldump, and clean out whatever logs I don't need anymore) the webserver (which is a separate server running Windows Server 2008 SP2) would begin getting stuck and amassing php-cgi.exe processes (microsoft and php's suggested method of using PHP on Windows is via Fast-CGI) causing the site to not respond to PHP queries. As 99% of the site IS PHP this began to cause an issue.

    At that point I made changes to the w3wp IIS worker process to attempt to isolate the amount of memory PHP could use and have it automatically recycle the process in the even that it got too high. I noticed that 99% of the time a simple IISRESET would clear the issue and the site would go back to normal performance.

    After making the changes to the worker process, and configuring automatic iis process recycling the problem appeared to have gone away.

    Yesterday PHP stopped responding completely requiring a full reboot of the server. Due to my own negligence of leaving the Seagate NAS CD in the drive the server tried to boot from that and got stuck, requiring me to go down to the datacenter and solve the issue on site. Removing the CD quickly solved that issue and got the site running again.

    This mornings issue was different. PHP was responding, however any login / database write activities caused PHP to get stuck again.

    I changed PHP back to 5.2.5 (X64) changed a few other settings and we will see how it acts this evening. If not I'll try a few other things.

    Sorry for the downtime. I don't like making large changes to the site as they can easily cause issues (like THESE).

    I'll figure it out, one way or another I'll get it stable again.
    Nas CD?

    Comment

    • InuFaye
      R3VLimited
      • May 2010
      • 2221

      #17
      Network Attached Storage.

      I'm in the same field, and I feel your pain.
      1986 Plymouth Horizon. Base.

      Comment

      • James Crivellone
        Head Janitor
        • Oct 2003
        • 6292

        #18
        Originally posted by InuFaye
        Network Attached Storage.

        I'm in the same field, and I feel your pain.
        Yeah. This little guy.

        Cheap, simple, Raid 1. great for backups

        http://www.newegg.com/Product/Produc...82E16822148485

        Comment

        • woodisgood
          E30 Enthusiast
          • May 2009
          • 1087

          #19
          Thanks for what you do James, I love this site.

          Comment

          • 87e30
            R3V Elite
            • Jul 2008
            • 5676

            #20
            Thanks for making it happen Criv!
            Originally posted by z31maniac
            I just hate everyone.

            No need for discretion.

            Comment

            • Bishop
              R3V Elite
              • May 2009
              • 4913

              #21
              My head exploded

              PM me for detailing services in the Longmont / Boulder Area in Colorado!
              Originally posted by DTM190
              "fuck the kangaroo dude, his toilet water swirls the wrong way anyway, plus i never liked crocodile dundee or Steve Irwin and vegemite tastes like shit"

              Comment

              • EndreM
                E30 Addict
                • Jul 2009
                • 513

                #22
                I want my money back!
                '91 E30 316i
                '97 Rover Mini 1275

                Comment

                • djmoska
                  E30 Enthusiast
                  • Apr 2011
                  • 1083

                  #23
                  Originally posted by gooch
                  in james we trust.
                  yes we do.....james for president ......
                  sigpichttps://www.facebook.com/pages/Monke...58912484208638

                  Comment

                  • ck_taft325is
                    R3V OG
                    • Sep 2007
                    • 6880

                    #24
                    James, shoot me a text about those lights sometime. Not sure your number saved when I got the new phone.
                    Need a part? PM me.

                    Get your Bass on. Luke's r3v Boxes are here: http://www.r3vlimited.com/board/showthread.php?t=198123

                    Comment

                    • Maluco
                      R3V OG
                      • Oct 2005
                      • 6572

                      #25
                      you get what you pay for bitches!!!

                      Comment

                      • scabzzzz
                        Estado de mierda de encargo
                        • Jul 2007
                        • 6870

                        #26
                        God what a pain in the ass. I dont know how you keep doing this site James. Hope its somewhat worth your time. Everytime the site goes down, I think to myself "If I was James, I'd probably be mumbling and complaining that I have to work on this shit outside of my normal work".

                        Comment

                        • Lof8
                          R3VLimited
                          • Oct 2006
                          • 2827

                          #27
                          Thanks James! Work is lame without R3V!
                          S50'd

                          Originally posted by TDE30
                          What is this faggy shit I have happened upon?
                          Originally posted by slammin.e28
                          I can always live in a M3. Can't M3 a house.

                          Comment

                          • Eric
                            R3V Elite
                            • Feb 2004
                            • 5138

                            #28
                            Originally posted by James Crivellone
                            , requiring me to go down to the datacenter and solve the issue on site.
                            You mean moms basement, right?:rofl:

                            My E30 v1.0 | v2.0 | v3.0 | My E28 |My E34 | My feedback

                            Comment

                            • slammin.e28
                              שמע ישראל
                              • May 2010
                              • 12054

                              #29
                              Originally posted by Lof8
                              Thanks James! Work is lame without R3V!
                              This.

                              This is also why we get our panties in a bunch when it is down, lol! ;)
                              1974.5 Jensen Healey : 2003 330i/5

                              Comment

                              • regnu
                                E30 Enthusiast
                                • Sep 2006
                                • 1048

                                #30
                                "the webserver (which is a separate server running Windows Server 2008 SP2)"

                                There's your problem....




                                i keed I keed..


                                Thanks for keeping the site going James!
                                John

                                Comment

                                Working...