ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    My server is crashing, I think its due to traffic but I am not sure how to tell

    Scheduled Pinned Locked Moved IT Discussion
    50 Posts 5 Posters 7.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • IRJI
      IRJ
      last edited by

      It just crashed again!

      1 Reply Last reply Reply Quote 0
      • IRJI
        IRJ
        last edited by

        gonna login and try sar -r again

        1 Reply Last reply Reply Quote 0
        • IRJI
          IRJ
          last edited by

          0_1452543695361_2016-01-11_15-20-15.jpg

          1 Reply Last reply Reply Quote 0
          • M
            marcinozga @IRJ
            last edited by

            @IRJ said:

            I had another crash at 2:53PM. Is there anything I can do to find out what happened?

            Look into web server and database logs.

            1 Reply Last reply Reply Quote 0
            • IRJI
              IRJ
              last edited by

              The site is still down. Should I reboot?

              M 1 Reply Last reply Reply Quote 0
              • M
                marcinozga @IRJ
                last edited by

                @IRJ said:

                The site is still down. Should I reboot?

                Entire server? Why?

                1 Reply Last reply Reply Quote 0
                • IRJI
                  IRJ
                  last edited by

                  Rebooting is what fixes the db connection

                  M 1 Reply Last reply Reply Quote 0
                  • stacksofplatesS
                    stacksofplates
                    last edited by stacksofplates

                    What do you get if you type uptime? More curious about the 10 and 15 min load average.

                    IRJI 1 Reply Last reply Reply Quote 0
                    • M
                      marcinozga @IRJ
                      last edited by

                      @IRJ Just restart database and webserver services. Most likely we server alone should be enough.

                      1 Reply Last reply Reply Quote 0
                      • M
                        marcinozga
                        last edited by

                        And install that caching plugin. Seriously.

                        1 Reply Last reply Reply Quote 0
                        • A
                          Alex Sage
                          last edited by

                          Dude, it's the RAM! Go to 2GB.....

                          1 Reply Last reply Reply Quote 0
                          • IRJI
                            IRJ @stacksofplates
                            last edited by

                            @johnhooks said:

                            What do you get if you type uptime? More curious about the 10 and 15 min load average.

                            I rebooted so It looks like it cleared the uptime info

                            1 Reply Last reply Reply Quote 0
                            • A
                              Alex Sage @IRJ
                              last edited by

                              @IRJ said:

                              0_1452540099011_2016-01-11_14-21-26.jpg

                              Look at your RAM going up and up and up.....

                              1 Reply Last reply Reply Quote 1
                              • A
                                Alex Sage @IRJ
                                last edited by

                                @IRJ said:

                                0_1452539689892_2016-01-11_14-14-35.jpg

                                Do you have a chart like this for memory usage?

                                IRJI 1 Reply Last reply Reply Quote 0
                                • IRJI
                                  IRJ @Alex Sage
                                  last edited by

                                  @anonymous said:

                                  @IRJ said:

                                  0_1452539689892_2016-01-11_14-14-35.jpg

                                  Do you have a chart like this for memory usage?

                                  No unfortunately

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    Alex Sage @IRJ
                                    last edited by Alex Sage

                                    @IRJ I have run Web Servers on DO before, you need to 2GB at the least unless you use something like Cloudways that has Nginx, Varnish, Memcached, etc.

                                    1 Reply Last reply Reply Quote 1
                                    • A
                                      Alex Sage
                                      last edited by

                                      Here is the nice graph Cloudways gives you.....

                                      0_1452544799000_freememory.png

                                      1 Reply Last reply Reply Quote 1
                                      • IRJI
                                        IRJ
                                        last edited by

                                        I upgraded to 2GB of RAM and we are seeing more traffic. No crashes so far.

                                        1 Reply Last reply Reply Quote 3
                                        • M
                                          marcinozga
                                          last edited by marcinozga

                                          I just had a look at it again, and you have 22 css files. That's insane, that's what's killing your web server. You have total of 156 requests on each visit. Look for a plugin that will aggregate css and js files.

                                          1 Reply Last reply Reply Quote 3
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            Wow, that's a lot of CSS!

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post