FabioCesar
Member
Please, I'm having problems with the database after the migration from VB to XF
my.cnf
Apache
WebServer:
Running Cpanel/Whm
Apache 2.0
PHP 5.2.17
Intel Xeon-Lynnfield 3460-Quadcore [2.8GHz]
12gb DDR3
Western Digital WD Caviar RE 16 WD2500YS [250GB] - SYSTEM
Western Digital WD Caviar RE 16 WD2500YS [250GB] - MYSQL
Western Digital WD Caviar RE 16 WD2500YS [250GB] - BACKUP
120224 11:10:06 [ERROR] 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 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=1635778560
read_buffer_size=1048576
max_used_connections=20
max_threads=402
threads_connected=7
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 2836610 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x2aab5f761f00
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_bottom = 0x420a4100 thread_stack 0x48000
/usr/sbin/mysqld(my_print_stacktrace+0x2e) [0x987f5e]
/usr/sbin/mysqld(handle_segfault+0x382) [0x5ebea2]
/lib64/libpthread.so.0 [0x3655a0eb70]
/usr/sbin/mysqld(filesort(THD*, st_table*, st_sort_field*, unsigned int, SQL_SELECT*, unsigned long long, bool, unsigned long long*)+0x597) [0x6cc047]
/usr/sbin/mysqld [0x65e5e5]
/usr/sbin/mysqld(JOIN::exec()+0x819) [0x667929]
/usr/sbin/mysqld(mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*)+0x199) [0x6695e9]
/usr/sbin/mysqld(handle_select(THD*, st_lex*, select_result*, unsigned long)+0x167) [0x669ec7]
/usr/sbin/mysqld [0x5f5660]
/usr/sbin/mysqld(mysql_execute_command(THD*)+0x739) [0x5f8909]
/usr/sbin/mysqld(Prepared_statement::execute(String*, bool)+0x387) [0x677037]
/usr/sbin/mysqld(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*)+0x8b) [0x677c3b]
/usr/sbin/mysqld(mysqld_stmt_execute(THD*, char*, unsigned int)+0xfa) [0x677e2a]
/usr/sbin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0xc9d) [0x5ff32d]
/usr/sbin/mysqld(do_command(THD*)+0xe6) [0x5ffd96]
/usr/sbin/mysqld(handle_one_connection+0x9e) [0x5f18ae]
/lib64/libpthread.so.0 [0x3655a0673d]
/lib64/libc.so.6(clone+0x6d) [0x36552d456d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x12215dd0): SELECT session_activity.*
,
user.*,
user_profile.*,
user_option.*
FROM xf_session_activity AS session_activity
LEFT JOIN xf_user AS user ON
(user.user_id = session_activity.user_id)
LEFT JOIN xf_user_profile AS user_profile ON
(user_profile.user_id = user.user_id)
LEFT JOIN xf_user_option AS user_option ON
(user_option.user_id = user.user_id)
WHERE (session_activity.view_date > 1330085406)
ORDER BY session_activity.view_date DESC
Connection ID (thread ID): 379015
Status: NOT_KILLED
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
120224 11:10:07 mysqld_safe Number of processes running now: 0
my.cnf
[mysqld]
datadir=/mysql/mysqldata
socket=/mysql/mysqldata/mysql.sock
safe-show-database
back_log = 50
skip-innodb
max_connections = 400
key_buffer_size = 1560M
myisam_sort_buffer_size = 256M
myisam_max_sort_file_size = 2048M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_definition_cache =10000
table_open_cache = 10000
thread_cache_size = 512
wait_timeout = 300
open_files_limit = 16384
connect_timeout = 10
tmp_table_size = 512M
max_heap_table_size = 512M
max_allowed_packet = 512M
max_seeks_for_key = 1000
group_concat_max_len = 1024
max_length_for_sort_data=1024
net_buffer_length = 16384
max_connect_errors = 10000
concurrent_insert = 2
table_lock_wait_timeout = 30
read_rnd_buffer_size = 4M
bulk_insert_buffer_size = 8M
query_cache_limit = 5M
query_cache_size = 256M
query_cache_type = 1
query_prealloc_size = 262144
query_alloc_block_size = 65536
transaction_alloc_block_size = 8192
transaction_prealloc_size = 4096
default-storage-engine = MyISAM
max_write_lock_count = 4
ft_min_word_len=2
max_delayed_threads=0
[mysqlcheck]
socket=/mysql/mysqldata/mysql.sock
[mysqldump]
socket=/mysql/mysqldata/mysql.sock
quick
max_allowed_packet = 128M
[myisamchk]
datadir=/mysql/mysqldata
socket=/mysql/mysqldata/mysql.sock
key_buffer_size = 2560M
sort_buffer_size = 16M
read_buffer_size = 16M
write_buffer_size = 16M
Apache
StartServers 25
<IfModule prefork.c>
MinSpareServers 25
MaxSpareServers 35
</IfModule>
ServerLimit 256
MaxClients 2256
MaxRequestsPerChild 1000
KeepAlive On
KeepAliveTimeout 2
MaxKeepAliveRequests 100
WebServer:
Running Cpanel/Whm
Apache 2.0
PHP 5.2.17
Intel Xeon-Lynnfield 3460-Quadcore [2.8GHz]
12gb DDR3
Western Digital WD Caviar RE 16 WD2500YS [250GB] - SYSTEM
Western Digital WD Caviar RE 16 WD2500YS [250GB] - MYSQL
Western Digital WD Caviar RE 16 WD2500YS [250GB] - BACKUP