jcrunner 发表于 2017-06-29 20:06

tracker coredump

本帖最后由 jcrunner 于 2017-06-29 20:27 编辑

跪求鱼大大啊:启动storage tracker coredump了是什么问题啊GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/fdfs_trackerd...done.








Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/bin/fdfs_trackerd /home/jiachuang/fastdfs/tracker/conf/tracker.conf'.
Program terminated with signal 11, Segmentation fault.
#00x000000000040ff1d in tracker_deal_storage_df_report (pTask=0x20fc0e0) at tracker_service.c:3568
3568                        path_total_mbs = buff2long(pStatBuff->sz_total_mb);
Missing separate debuginfos, use: debuginfo-install glibc-2.17-157.el7_3.1.x86_64
(gdb) p *(pClientInfo->pStorage)
$1 = {status = 7 '\a', padding = 0 '\000', id = "192.168.1.202\000\000", ip_addr = "192.168.1.202\000\000", version = "5.11\000",
domain_name = '\000' <repeats 127 times>, psync_src_server = 0x0, path_total_mbs = 0x0, path_free_mbs = 0x0, total_mb = 0, free_mb = 0,
changelog_offset = 726, sync_until_timestamp = 0, join_time = 1498533606, up_time = 1498737618, store_path_count = 1,
subdir_count_per_path = 256, upload_priority = 10, storage_port = 23000, storage_http_port = 8888, current_write_path = 0, chg_count = 0,
trunk_chg_count = 0, stat = {total_upload_count = 0, success_upload_count = 0, total_append_count = 0, success_append_count = 0,
    total_modify_count = 0, success_modify_count = 0, total_truncate_count = 0, success_truncate_count = 0, total_set_meta_count = 0,
    success_set_meta_count = 0, total_delete_count = 0, success_delete_count = 0, total_download_count = 0, success_download_count = 0,
    total_get_meta_count = 0, success_get_meta_count = 0, total_create_link_count = 0, success_create_link_count = 0,
    total_delete_link_count = 0, success_delete_link_count = 0, total_upload_bytes = 0, success_upload_bytes = 0, total_append_bytes = 0,
    success_append_bytes = 0, total_modify_bytes = 0, success_modify_bytes = 0, total_download_bytes = 0, success_download_bytes = 0,
    total_sync_in_bytes = 0, success_sync_in_bytes = 0, total_sync_out_bytes = 0, success_sync_out_bytes = 0, total_file_open_count = 0,
    success_file_open_count = 0, total_file_read_count = 0, success_file_read_count = 0, total_file_write_count = 0,
    success_file_write_count = 0, last_source_update = 0, last_sync_update = 0, last_synced_timestamp = 0, last_heart_beat_time = 1498737620,
    connection = {alloc_count = 256, current_count = 0, max_count = 0}}}
(gdb) p *pStatBuff
$2 = {sz_total_mb = "\000\000\000\000\000\006\066\235", sz_free_mb = "\000\000\000\000\000\006\061\240"}
tracker 的log INFO - FastDFS v5.11, base_path=/home/jiachuang/fastdfs/tracker/base, run_by_group=, run_by_user=, connect_timeout=30s, network_timeout=60s, port=22122, bind_addr=, max_connections=256, accept_threads=1, work_threads=4, min_buff_size=8192, max_buff_size=131072, store_lookup=2, store_group=, store_server=0, store_path=0, reserved_storage_space=10.00%, download_server=0, allow_ip_count=-1, sync_log_buff_interval=10s, check_active_interval=120s, thread_stack_size=64 KB, storage_ip_changed_auto_adjust=1, storage_sync_file_max_delay=86400s, storage_sync_file_max_time=300s, use_trunk_file=0, slot_min_size=256, slot_max_size=16 MB, trunk_file_size=64 MB, trunk_create_file_advance=0, trunk_create_file_time_base=02:00, trunk_create_file_interval=86400, trunk_create_file_space_threshold=20 GB, trunk_init_check_occupying=0, trunk_init_reload_from_binlog=0, trunk_compress_binlog_min_interval=0, use_storage_id=0, id_type_in_filename=ip, storage_id_count=0, rotate_error_log=0, error_log_rotate_time=00:00, rotate_error_log_size=0, log_file_keep_days=0, store_slave_file_use_link=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s

页: [1]
查看完整版本: tracker coredump