Excessive database errors with beta2, suggestions?"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • theprof
    Senior Member
    • May 2000
    • 189

    #16
    MY webhost at rackspace said:
    I am not showing that 3.23.32 is available at ftp.mysql.com. The is 3.23.33-1 available. Please let me know if you would like this installed.
    eva2000, was this the one you were referring to?

    Comment

    • Chris Schreiber
      Senior Member
      • Jun 2000
      • 4113
      • 4.0.x

      #17
      Actually 3.23.35 is now available, that's the one you should use now.

      Comment

      • George L
        Former vBulletin Support
        • May 2000
        • 32996
        • 3.8.x

        #18
        Originally posted by Chris Schreiber
        Actually 3.23.35 is now available, that's the one you should use now.
        wow we can never keep up with this hehe
        :: Always Back Up Forum Database + Attachments BEFORE upgrading !
        :: Nginx SPDY SSL - World Flags Demo [video results]
        :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

        Comment

        • grumpy
          Senior Member
          • Feb 2001
          • 171

          #19
          Originally posted by grumpy

          We've been error free for over 36 hours now.
          Forget all I suggested, it's all started again

          Comment

          • George L
            Former vBulletin Support
            • May 2000
            • 32996
            • 3.8.x

            #20
            okay seeing as you upgraded MySQL and it has dropped your load i think the ram upgrade can wait until we monitot those mysql extended status stats some more to get an idea of how mysql is running

            try putting in your /etc/my.cnf file
            set-variable = max_connections=150
            set-variable = join_buffer=3M
            set-variable = key_buffer=16M
            set-variable = record_buffer=4M
            set-variable = sort_buffer=5M
            set-variable = table_cache=256
            then restart mysql and monitor those extended status variables - http://www.adolescentadulthood.com/status.php especially, your open_tables, opened_tables, max_used_connections, and your slow_queries

            more important check your load averages and your memory usage over the next couple of days - watch for any amounts of excessive hard drive swapping or slowing down of the forum (indicator that either your my.cnf settings are too high due to lack of memory or that your vB load requires the settings even higher hence more memory)
            :: Always Back Up Forum Database + Attachments BEFORE upgrading !
            :: Nginx SPDY SSL - World Flags Demo [video results]
            :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

            Comment

            • theprof
              Senior Member
              • May 2000
              • 189

              #21
              I have done as you have suggested, but cannot see the results because at http://adolescentadulthood.com/status.php, the table below on teh extended status script has dissapeared. I will check in telnet though.

              Comment

              • theprof
                Senior Member
                • May 2000
                • 189

                #22
                I get this error message when trying to use the variables command in mysqladmin

                error: Found option without preceding group in config file: /etc/my.cnf at line:
                1
                Program aborted
                My my.cnf is the same one that you sugegsted.

                Comment

                • George L
                  Former vBulletin Support
                  • May 2000
                  • 32996
                  • 3.8.x

                  #23
                  add [mysqld] before it like

                  [mysqld]
                  set-variable = max_connections=150
                  set-variable = join_buffer=3M
                  set-variable = key_buffer=16M
                  set-variable = record_buffer=4M
                  set-variable = sort_buffer=5M
                  set-variable = table_cache=256
                  :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                  :: Nginx SPDY SSL - World Flags Demo [video results]
                  :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                  Comment

                  • George L
                    Former vBulletin Support
                    • May 2000
                    • 32996
                    • 3.8.x

                    #24
                    and remove the auto refresh line in the status.php script
                    :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                    :: Nginx SPDY SSL - World Flags Demo [video results]
                    :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                    Comment

                    • theprof
                      Senior Member
                      • May 2000
                      • 189

                      #25
                      I rad in the manual at mysql.com that I shoudl have a my.cnf fiel looking like this:

                      [client]
                      port=3306
                      socket=/tmp/mysql.sock

                      [mysqld]
                      port=3306
                      socket=/tmp/mysql.sock
                      set-variable = key_buffer_size=16M
                      set-variable = max_allowed_packet=1M

                      If so, how do I know what my port and sockets are?

                      Comment

                      • George L
                        Former vBulletin Support
                        • May 2000
                        • 32996
                        • 3.8.x

                        #26
                        yes you can do it that way too - my server doesn't need it thought

                        the port would be the same to find the path to your mysql.sock

                        in telnet root issue

                        mysqladmin -u user -p version

                        and it will prompt you for the mysql password for user
                        :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                        :: Nginx SPDY SSL - World Flags Demo [video results]
                        :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                        Comment

                        • George L
                          Former vBulletin Support
                          • May 2000
                          • 32996
                          • 3.8.x

                          #27
                          try this

                          [mysqld]
                          port = 3306
                          socket = /var/lib/mysql/mysql.sock
                          skip-locking

                          set-variable = max_connections=150
                          set-variable = join_buffer=3M
                          set-variable = key_buffer=16M
                          set-variable = record_buffer=4M
                          set-variable = sort_buffer=5M
                          set-variable = table_cache=256
                          this is how i put it in on my old rackspace server
                          :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                          :: Nginx SPDY SSL - World Flags Demo [video results]
                          :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                          Comment

                          • theprof
                            Senior Member
                            • May 2000
                            • 189

                            #28
                            yeah it worked

                            more important check your load averages and your memory usage over the next couple of days
                            What do you think of them now?

                            Comment

                            • George L
                              Former vBulletin Support
                              • May 2000
                              • 32996
                              • 3.8.x

                              #29
                              Originally posted by theprof
                              yeah it worked



                              What do you think of them now?
                              you haven't restarted mysql yet so can't say
                              :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                              :: Nginx SPDY SSL - World Flags Demo [video results]
                              :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                              Comment

                              • theprof
                                Senior Member
                                • May 2000
                                • 189

                                #30
                                how do I restart mysql?

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...