Autor Zpráva
MilanJ
Profil
Na linuxovém serveru mám nainstalovanou databázi MySQL. Před časem mi aplikace přestala zapisovat data. Zkoumal jsem kde je problém a přišel jsem na to, že na disku dochází místo...v adresáři, kde jsou uložena data databáze, se generují prapodivné soubory obří velikosti...cca 1GB, velikost databáze je přitom 40MB.

Soubory mají jméno: hranice-bin.001, hranice-bin.002, hranice-bin.003, hranice-bin.004, hranice-bin.005,... atd. - ění se jen pořadové číslo.
Jsou bohužel tak veliké, že je nemůžu ani otevřít. Podle mého názoru to jsou log soubory s nějakou chybou, ale s určitostí to nevím.

Zajímalo by mě proč tyhle soubory vznikají a jestli je mohu bez obav smazat.

Snad s tím někdo máte zkušennosti. Předem díky za odpověď.

Milan


P.S.: Server jsem zkoušel restartovat. V tom samém adresáři je ještě soubo hranice.err, který obsahuje, mimo jiné, následující informace:

030108 15:56:48 mysqld started
/usr/sbin/mysqld: ready for connections
030108 15:58:09 Warning: Retrying repair of: './matching/atmlog' with keycache
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked agaist 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

key_buffer_size=16773120
record_buffer=131072
sort_buffer=524280
max_used_connections=3
max_connections=100
threads_connected=4
It is possible that mysqld could use up to
key_buffer_size + (record_buffer + sort_buffer)*max_connections = 80379 K
bytes of memory
Hope that's ok, if not, decrease some variables in the equation

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...
Stack range sanity check OK, backtrace follows:
0x806c519
0x811bac8
0x81485ff
0x81010a6
0x80f57b1
0x80b2438
0x80b209d
0x80b8cd1
0x80b8fbc
0x8073a2f
0x8075da8
0x8071ea4
0x8071397
Stack trace seems successful - bottom reached
Please read http://www.mysql.com/doc/U/s/Using_stack_trace.html and follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x82bd2f8 = REPAIR TABLE `atmlog`
thd->thread_id=22


Successfully dumped variables, if you ran with --log, take a look at the
details of what thread 22 did to cause the crash. In some cases of really
bad corruption, the values shown above may be invalid

The manual page at http://www.mysql.com/doc/C/r/Crashing.html contains
information that should help you find out what is causing the crash

Number of processes running now: 0
030108 15:58:09 mysqld restarted
/usr/sbin/mysqld: ready for connections
030115 12:23:49 /usr/sbin/mysqld: Normal shutdown

030115 12:23:49 /usr/sbin/mysqld: Shutdown Complete

030115 12:23:49 mysqld ended
Toto téma je uzamčeno. Odpověď nelze zaslat.

0