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

    CloudatCost Connection Slow

    IT Discussion
    cloudatcost
    8
    54
    7.3k
    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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Likely it is MySQL processing speed. What is the output of "free -m"?

      thanksajdotcomT 1 Reply Last reply Reply Quote 0
      • thanksajdotcomT
        thanksajdotcom @scottalanmiller
        last edited by

        @scottalanmiller said:

        Likely it is MySQL processing speed. What is the output of "free -m"?

        							total       used       free     shared    buffers     cached
        Mem:           				 993        929         64         45          3         57
        -/+ buffers/cache:       	 868        125
        Swap:          				 953        171        782
        
        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          Looks like MySQL can't load completely into memory. What do the last few lines of SAR look like?

          thanksajdotcomT 1 Reply Last reply Reply Quote 0
          • thanksajdotcomT
            thanksajdotcom @scottalanmiller
            last edited by

            @scottalanmiller said:

            Looks like MySQL can't load completely into memory. What do the last few lines of SAR look like?

            I have that installed but what specific command do you want me to run? Just "sar"?

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

              Yes, just sar.

              1 Reply Last reply Reply Quote 0
              • thanksajdotcomT
                thanksajdotcom
                last edited by

                Didn't have data collection enabled. I've gone ahead and enabled it. I'll let you know.

                1 Reply Last reply Reply Quote 0
                • thanksajdotcomT
                  thanksajdotcom
                  last edited by

                  Also, I wouldn't think my MySQL databases were that big. When I do the dump of my biggest database, it's barely over 200MB...

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

                    That's a lot to have loaded into memory when you only have 1GB total, though.

                    thanksajdotcomT 1 Reply Last reply Reply Quote 0
                    • thanksajdotcomT
                      thanksajdotcom @scottalanmiller
                      last edited by

                      @scottalanmiller said:

                      That's a lot to have loaded into memory when you only have 1GB total, though.

                      Memory usage seems fine...
                      upload-5ad06380-c27c-4ba0-8bea-f5354b56ad4d

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

                        Memory usage IS fine, but that doesn't mean that MySQL is running totally in memory. You are mixing concepts.

                        thanksajdotcomT 1 Reply Last reply Reply Quote 1
                        • thanksajdotcomT
                          thanksajdotcom @scottalanmiller
                          last edited by

                          @scottalanmiller said:

                          Memory usage IS fine, but that doesn't mean that MySQL is running totally in memory. You are mixing concepts.

                          Is there a way to force it?

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @thanksajdotcom
                            last edited by

                            @thanksajdotcom said:

                            Is there a way to force it?

                            No, it will detect if there is enough memory available and use it if possible.

                            thanksajdotcomT 1 Reply Last reply Reply Quote 0
                            • thanksajdotcomT
                              thanksajdotcom @scottalanmiller
                              last edited by

                              @scottalanmiller said:

                              @thanksajdotcom said:

                              Is there a way to force it?

                              No, it will detect if there is enough memory available and use it if possible.

                              Hmmm....might have to upgrade to a Dev3...

                              1 Reply Last reply Reply Quote 0
                              • thanksajdotcomT
                                thanksajdotcom
                                last edited by

                                The coupon here (http://mangolassi.it/topic/4295/cloudatcost-50-off-upgrades-limited-qty/3) still works. Upgrading to a Dev3 for my web server from a Dev2.

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

                                  My guess is that you will see a bit of an increase. You had stuff going out to swap to keep your cache fresh. It's enough but far from fully tuned.

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

                                    Of course the extra core won't hurt either. Now Apache and MySQL aren't going to fight for context.

                                    thanksajdotcomT 1 Reply Last reply Reply Quote 1
                                    • thanksajdotcomT
                                      thanksajdotcom @scottalanmiller
                                      last edited by

                                      @scottalanmiller said:

                                      Of course the extra core won't hurt either. Now Apache and MySQL aren't going to fight for context.

                                      Server is upgraded and I've rebooted.

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

                                        Give it a few minutes and see what "free -m" has to say now.

                                        1 Reply Last reply Reply Quote 0
                                        • thanksajdotcomT
                                          thanksajdotcom
                                          last edited by

                                          Yeah, still waiting for the extra RAM to kick in. This is what I had about 90 seconds ago.

                                          root@thanksaj-server-cac:~# free -m
                                          			 total       used       free     shared    buffers     cached
                                          Mem:           993        375        618         52         17        178
                                          -/+ buffers/cache:        178        815
                                          Swap:          953          0        953
                                          root@thanksaj-server-cac:~# grep MemTotal /proc/meminfo
                                          MemTotal:        1017732 kB
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            It doesn't "kick in." Not sure what you are picturing happening, but that is a Dev2 instance that you are looking at. Memory does not magically increase in a running system.

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