MySQL Error : The table 'session' is full

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • OutSourceThis
    New Member
    • May 2006
    • 15

    [Forum] MySQL Error : The table 'session' is full

    I have a very large forum and its getting tons of traffic, at least 1-2 posts every minute. Every two days around every 40 hours my database crashes with the following issue. MySQL Error : The table 'session' is full .

    I go in and delete the rows and restart Mysql but this keeps happening every 2 days. How can I stop the seesion table from filling up or what configuration do I need to setup. I own the server and memory/cpu is not an issue. but there must be something I can do here.
    Windows 2008R2 is the OS.


    Help!
    Thanks in advance
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24358
    • 5.7.X

    #2
    Are your cron jobs running OK? Did you edit the footer template at all?
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • OutSourceThis
      New Member
      • May 2006
      • 15

      #3
      I did not edit the footer template at all and I don;t have any cron jobs running on the server.

      Comment

      • Andy
        Senior Member
        • Jan 2002
        • 5886
        • 4.1.x

        #4
        What do you have this set at?

        Admin CP -> Settings -> Options -> Cookies and HTTP Header Options -> Session Timeout

        Comment

        • OutSourceThis
          New Member
          • May 2006
          • 15

          #5
          1200

          Comment

          • Andy
            Senior Member
            • Jan 2002
            • 5886
            • 4.1.x

            #6
            Originally posted by OutSourceThis
            1200
            That number is fine.

            Check that you have the cron job running which prunes the session table:

            Admin CP -> Scheduled Tasks -> Scheduled Task Manager -> Hourly Cleanup -> Checked

            Comment

            • Winter Sonata
              Senior Member
              • Apr 2010
              • 108
              • 4.0.0

              #7
              Originally posted by Andy
              That number is fine.

              Check that you have the cron job running which prunes the session table:

              Admin CP -> Scheduled Tasks -> Scheduled Task Manager -> Hourly Cleanup -> Checked

              what should I do here exactly ? I am having the same issue

              Comment

              • CtrlAltDel
                Member
                • Oct 2002
                • 59
                • 5.3.x

                #8
                Make sure it's checked and running. You could even force a run and see if its running properly.

                Comment

                • OutSourceThis
                  New Member
                  • May 2006
                  • 15

                  #9
                  Originally posted by Andy
                  That number is fine.

                  Check that you have the cron job running which prunes the session table:

                  Admin CP -> Scheduled Tasks -> Scheduled Task Manager -> Hourly Cleanup -> Checked
                  Yes this is checked and running. Seems like Vbulletin can't handle the load. Not sure what I can do other then a cron job to delete the sessions directly from the db. Anybode have any thoughts???

                  Comment

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

                    #10
                    Problem could partly be server config related. You might want to head over to Server config forum http://www.vbulletin.com/go/serverconfig and post info asked at http://www.vbulletin.com/go/tweak
                    :: 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

                    • Andy
                      Senior Member
                      • Jan 2002
                      • 5886
                      • 4.1.x

                      #11
                      Originally posted by OutSourceThis
                      Not sure what I can do other then a cron job to delete the sessions directly from the db. Anybode have any thoughts???
                      You could certainly do that.

                      Comment

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