Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2007 13:15:46 -0700
From:      "Albert Wong" <ajwwong@gmail.com>
To:        <freebsd-stable@freebsd.org>
Subject:   mysql frequently crash on 6.2
Message-ID:  <464cb7ee.47aeb6f6.546d.7849@mx.google.com>

next in thread | raw e-mail | index | archive | help
Greetings everyone... I am observing what appears to be a similar problem as
well... [referring to the posts from earlier this month with the same
subject]...

I have a dedicated server with *very* light traffic. It looks like every day
or so my server load slowly climbs from 0.20 to 14.00 and then stays there
indefinitely.... locking down the system [until I do an "apachectl restart"]
after which the server load drops back down.

I'm not getting any weird Fatal Errors from PHP or any Warnings [though a
lot of PHP Notices.]. The apache httpd_error.log shows the following error,
usually, when the slow climb to 14.00 server load begins: 

httpd in free(): error: recursive call
httpd in free(): error: recursive call

[Usually it only shows about three or four of these repeated errors.] 

I am using FreeBSD 6.2 and MySQL 4.1. I am trying to use the libthr
threading mechanism through the libmap.conf setting, as to earlier in this
thread post, as a possible fix. [Though, I don't know if I have in fact been
successful in switching to libthr or not... because I'm not sure if I need
to recompile / reboot?  I don't know if mysql was install from a port or
not.]

In any event, my libmap.conf settings are now [located in /etc/libmap.conf]:


[mysqld]
libc_r.so libthr.so
libc_r.so.6 libthr.so.2
libthr.so.2 libthr.so.2
libpthread.so libthr.so
libpthread.so.2 libthr.so.2

and I also added ...
WITH_LIBMAP= yes

to my make.conf file. 

Is there something else I need to do [e.g., recompile? / reboot?] in order
to activate libthr?  The problem remains even with these adjustments.

Blessings,
Albert Wong
www.ithou.org

PS. The mysql_logfile is completely empty... I don't know if that is unusual
or not. 

PPS. Here's the my.cnf settings for this machine:

[mysqld]
safe-show-database
skip-innodb
max_connections = 500
key_buffer = 32M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1800
thread_cache_size = 384
wait_timeout = 90
connect_timeout = 10
tmp_table_size = 64M
max_heap_table_size = 64M
max_allowed_packet = 16M
max_connect_errors = 10
read_rnd_buffer_size = 524288
bulk_insert_buffer_size = 8M
query_cache_limit = 3M
query_cache_size = 80M
query_cache_type = 1
query_prealloc_size = 163840
query_alloc_block_size = 32768
skip-name-resolve

[mysqld_safe]
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 16M

[myisamchk]
key_buffer = 16M
sort_buffer = 16M
read_buffer = 16M
write_buffer = 16M

[mysqlhotcopy]
interactive-timeout

log = /var/log/mysql/mysql_logfile

 

 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?464cb7ee.47aeb6f6.546d.7849>