Cloud Performance Observations

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #76
    Originally posted by danyboyj View Post
    I've noticed at 4am my VM will peak CPU + RAM

    Then CPU will drop back down but the allocated RAM sits there - if I restart the VM RAM usage stays low for the day until next 4am.

    Whatever is running at 4am - can it do some garbage collection so the RAM charges aren't twice what they should be?
    The UPCP is the script which runs at 4AM. It does lot of things to update the CPanel to a newer version hence uses RAM. Once the update is done, I think the cached RAM is not getting freed by OS/UPCP.

    You may add a cron which will drop the cache at 5AM to squeeze RAM or let us know and we will do it for you.

    Comment


      #77
      What would be the command to free up some memory?

      Comment


        #78
        Originally posted by danyboyj View Post
        What would be the command to free up some memory?
        You will have to add below line in your cron
        0 5 * * * sync ; echo 3 > /proc/sys/vm/drop_caches

        Comment


          #79
          Running services

          Originally posted by danyboyj View Post
          ... I turned off the nameserver service since I'm using the one from my domain registrar - can I kill named?
          Should help you and others, to reduce service overheads (as recommended by CSF)
          Code:
          service cups stop
          chkconfig cups off
          service xfs stop
          chkconfig xfs off
          service nfslock stop
          chkconfig nfslock off
          service rpcidmapd stop
          chkconfig rpcidmapd off
          service bluetooth stop
          chkconfig bluetooth off
          service anacron stop
          chkconfig anacron off
          service avahi-daemon stop
          chkconfig avahi-daemon off
          service hidd stop
          chkconfig hidd off
          service pcscd stop
          chkconfig pcscd off
          service atd stop
          chkconfig atd off
          service gpm stop
          chkconfig gpm off
          You can do the same for named, if you're not using it.

          [Rishi, for the next iteration of the templates, these would be worthwhile doing (not named). Via entries in rc3.d though?]

          EJ

          Comment


            #80
            eNlight Performance

            Not sure whether this should be in this thread or the VLAN one.
            Have now setup a separate mySQL server on another VM. After much gnashing of teeth 'cos CSF firewall wont allow per host access control, through the GUI, I have begun testing. Initial impressions are good, in terms of response time and data retrieval. Next step will be to load in a decent size of demo data and begin fine tuning mySQL.

            I've an issue with getting phpmyadmin to point to the 'remote' mySQL but is not a showstopper, so will return to that at a later date, after more Googling.

            More in line with this thread, I'm looking at reducing memory allocation and have begun to tweak kernel vm settings; swappiness, cache_pressure etc. Hopefully, I'll be able to bring down the http server RAM back to 512Mb soon - currently at 640Mb.

            I have question on the billing side of things, with regards to running two VMs but that is better suited to another thread. I'd rather stick with the original subject: Performance & comparisons.

            Just keeping the 'blog' alive, for interested parties.

            Comment


              #81
              Originally posted by ejsolutions View Post
              Not sure whether this should be in this thread or the VLAN one.
              This thread is performance and optimizations related, VLAN gives both so we can continue here. We may link this post from there.

              Originally posted by ejsolutions View Post
              Have now setup a separate mySQL server on another VM. After much gnashing of teeth 'cos CSF firewall wont allow per host access control, through the GUI, I have begun testing. Initial impressions are good, in terms of response time and data retrieval. Next step will be to load in a decent size of demo data and begin fine tuning mySQL.
              Separating DB should give a lot of advantages

              Just keeping the 'blog' alive, for interested parties.
              Count me in interested parties along with DPS :P

              BTW, your VLAN NIC cards are waiting for you, fire a reboot and configure IP for them.

              Let me know if its good.

              Comment


                #82
                Originally posted by eUK-Rishi View Post
                This thread is performance and optimizations related, VLAN gives both so we can continue here. We may link this post from there.



                Separating DB should give a lot of advantages



                Count me in interested parties along with DPS :P

                BTW, your VLAN NIC cards are waiting for you, fire a reboot and configure IP for them.

                Let me know if its good.
                Oh yes, I am very interested so by all means, please keep the blog going! I am watching this service with keen interest and I read this thread daily to see how things are going .
                David Smith
                Managing Director
                DPS Computing Limited

                - Massive update! (September 2011) - It's now not neglected!!
                - New Site (10/2009)

                Comment


                  #83
                  Originally posted by mountainman
                  These are some of i know the performances of Cloud
                  Monitor individual performance relative to goals
                  Automate SMART goal tracking and reporting
                  Ensure cross-company goal alignment

                  Yet another garbled post, serving no useful purpose (IMO).

                  Comment


                    #84
                    Originally posted by ejsolutions View Post

                    Yet another garbled post, serving no useful purpose (IMO).
                    Agreed ej, I have removed the post .
                    David Smith
                    Managing Director
                    DPS Computing Limited

                    - Massive update! (September 2011) - It's now not neglected!!
                    - New Site (10/2009)

                    Comment


                      #85
                      Thanks for all the info guys. I'm now down to 488 / 748 RAM usage

                      Comment


                        #86
                        Originally posted by eUK-Rishi View Post
                        You will have to add below line in your cron
                        Hmm - I copied that line at the bottom of /etc/crontab yesterday but I've just checked the usage graphs this morning - and the RAM didn't get free'd up.

                        Manually ran those commands and the usage has gone down.

                        Is /etc/crontab the correct location?

                        Comment


                          #87
                          While on the topic of performance...

                          Any idea why mysqld is being a resource hog?

                          1999 mysql 15 0 219m 24m 4348 S 0.0 3.3 2:43.12 mysqld
                          219MB ? I only have 1 DB running with about 5Mb of data in it

                          Comment


                            #88
                            Originally posted by danyboyj View Post
                            Hmm - I copied that line at the bottom of /etc/crontab yesterday but I've just checked the usage graphs this morning - and the RAM didn't get free'd up.

                            Manually ran those commands and the usage has gone down.

                            Is /etc/crontab the correct location?
                            Hmm, you need to do some homework, for this and the mySQL memory usage.

                            Use crontab -e
                            Google for mysqltuner (also, the 219Mb isn't resident; 24Mb is.)

                            Comment


                              #89
                              Originally posted by danyboyj View Post
                              Hmm - I copied that line at the bottom of /etc/crontab yesterday but I've just checked the usage graphs this morning - and the RAM didn't get free'd up.

                              Manually ran those commands and the usage has gone down.

                              Is /etc/crontab the correct location?
                              You should use
                              # crontab -e
                              to see what are the crons listed for root and enter your cron below it.

                              Originally posted by danyboyj View Post
                              While on the topic of performance...
                              Any idea why mysqld is being a resource hog?
                              219MB ? I only have 1 DB running with about 5Mb of data in it
                              MySQL is a well known memory hog :sigh: , can you try to restart it and see if it drops memory ?

                              Comment


                                #90
                                Originally posted by ejsolutions View Post
                                Hmm, you need to do some homework, for this and the mySQL memory usage.

                                Use crontab -e
                                Google for mysqltuner (also, the 219Mb isn't resident; 24Mb is.)
                                Good catch EJ, , but statement "MySql is a memory hog" still holds

                                Comment

                                Working...
                                X