No announcement yet.

Random tables corrupting

  • Filter
  • Time
  • Show
Clear All
new posts

  • Random tables corrupting

    My forums have been up and down for the last 3 days with tables randomly going corrupt. The forums might stay up for 3-4 hours or might stay up for 30 minutes, but after a period of time tables start crashing.

    My host insists that they have checked the hard drive and memory on the machine.

    I upgraded mysql to the latest version today and also moved all of the data off to an external drive. Sure enough, within 30 minutes I started getting messages that a table had gone corrupt.

    I do see notes in the event viewer that tell me that mysql crashes on occasion, but those do not correspond with these periods of databases crashing.

    Could something in vb have gone bad to cause this?

    I am afraid that my next step is to try to move a forum with 5g in data off to another host.


    - - - Updated - - -

    As a follow up, not sure if this has anything to do with anything but I have found the following error in my mysql error log twice. Each time corresponds with a mysql crash in the event log...


    130130 3:11:27 - mysqld got exception 0xc0000005 ;
    This could be because you hit a bug. It is also possible that this binary
    or one of the libraries it was linked against is corrupt, improperly built,
    or misconfigured. This error can also be caused by malfunctioning hardware.
    We will try our best to scrape up some info that will hopefully help diagnose
    the problem, but since we have already crashed, something is definitely wrong
    and this may fail.

    It is possible that mysqld could use up to
    key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 89045 K
    bytes of memory
    Hope that's ok; if not, decrease some variables in the equation.

    Thread pointer: 0x10cdaf08
    Attempting backtrace. You can use the following information to find out
    where mysqld died. If you see no messages after this, something went
    terribly wrong...
    00C1855F mysqld.exe!_mi_rec_unpack()[mi_dynrec.c:1334]
    00C1885F mysqld.exe!_mi_read_dynamic_record()[mi_dynrec.c:1529]
    00C118FD mysqld.exe!mi_rkey()[mi_rkey.c:173]
    00BF8E32 mysqld.exe!ha_myisam::index_read_idx_map()[]
    00AC6308 mysqld.exe!join_read_const()[]
    00ACBB75 mysqld.exe!join_read_const_table()[]
    00AD4C4E mysqld.exe!make_join_statistics()[]
    00AD5915 mysqld.exe!JOIN:ptimize()[]
    00AD7D09 mysqld.exe!mysql_select()[]
    00AD807B mysqld.exe!handle_select()[]
    009CF98A mysqld.exe!execute_sqlcom_select()[]
    009D1A26 mysqld.exe!mysql_execute_command()[]
    009D4FDF mysqld.exe!mysql_parse()[]
    009D5AF8 mysqld.exe!dispatch_command()[]
    009D666B mysqld.exe!do_command()[]
    009F2E32 mysqld.exe!do_handle_one_connection()[]
    009F2FC4 mysqld.exe!handle_one_connection()[]
    00B32014 mysqld.exe!pthread_start()[my_winthread.c:61]
    00C99496 mysqld.exe!_callthreadstartex()[threadex.c:348]
    00C9953E mysqld.exe!_threadstartex()[threadex.c:326]
    75D8F13C kernel32.dll!BaseThreadInitThunk()
    777FD819 ntdll.dll!RtlCreateUserProcess()
    777FDA2B ntdll.dll!RtlCreateProcessParameters()

    Trying to get some variables.
    Some pointers may be invalid and cause the dump to abort.
    Query (1045B2F0): =SELECT *
    FROM style
    WHERE (styleid = 14 AND userselect = 1)
    OR styleid = 14
    ORDER BY styleid ASC
    LIMIT 1
    Connection ID (thread ID): 11592
    Status: NOT_KILLED

    The manual page at contains
    information that should help you find out what is causing the crash.

  • #2
    No idea what was causing the problem, but I moved to a different server and the problems stopped.



    • #3
      Glad you got it resolved.

      Please don't PM or VM me for support - I only help out in the threads.
      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
      Want help modifying your vbulletin forum? Head on over to
      If I post CSS and you don't know where it goes, throw it into the additional.css template.

      W3Schools <- awesome site for html/css help


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