nixp.ru v3.0

19 апреля 2024,
пятница,
07:33:27 MSK

Maxim Filatov написал 3 ноября 2004 года в 18:51 (705 просмотров) Ведет себя как мужчина; открыл 18 тем в форуме, оставил 23 комментария на сайте.

mysql-4.0.22 внезапно перестал отбивать запросы….

Ну, думаю, подвисло че-нить, с кем не бывает?..

#/etc/init.d/mysql restart

* Stopping mysqld …

No process in pidfile `/var/run/mysqld/mysqld.pid' found running; none k [ !! ]

#ps ax|grep mysql

9206 ? Ss 0:00 /bin/sh /usr/bin/mysqld_safe

9241 ? S 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock

#ls /var/run/mysql

mysqld.sock=

никакого намека на pid-файл….

#cat /var/log/mysql/mysql.err

041103 13:29:18 mysqld started

#cat /var/log/mysql/mysqld.err

041103 13:29:18 bdb: /var/lib/mysql/log.0000000001: Permission denied

041103 13:29:18 bdb: PANIC: Permission denied

* glibc detected * double free or corruption: 0×08303b88 *

mysqld got signal 6;

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.

key_buffer_size=16777216

read_buffer_size=131072

max_used_connections=0

max_connections=100

threads_connected=0

It is possible that mysqld could use up to

key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 233983 K

bytes of memory

Hope that’s ok; if not, decrease some variables in the equation.

thd=0×82fc3e8

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…

Bogus stack limit or frame pointer, fp=0xbfffeaf8, stack_bottom=0×56555453, thread_stack=131072, aborting backtrace.

Trying to get some variables.

Some pointers may be invalid and cause the dump to abort…

thd->query at 0×5251504f is invalid pointer

thd->thread_id=0

Cовершенно непонятно, в общем, к чему ему пермишен денайд, и чего вообще случилось — вчера еще работало все….

Заранее спасибо всем за ответы.

P.S. Система: Gentoo-2004.2

mysql-4.0.22, собран просто #emerge -u mysql

Uncle Theodore

Проверь память для начала. Насколько я знаю, glibc абортит проги с таким сообщением, чтобы предотвратить потерю данных (дополнительный sanity check для хиповых адресов) Проверь файловую систему тоже.

Good Luck,

UT

Uncle Theodore
Проверь память для начала.

А чем ее под линуксом можно проверить?

Uncle Theodore
Bregor Esgarothian
А чем ее под линуксом можно проверить?

Memtest’ом, вестимо

http://www.memtest86.com/

Good Luck,

UT

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.