Traffic Server
  1. Traffic Server
  2. TS-1178

cop will kill manager & server, even cop it self

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.1.4
    • Component/s: Manager
    • Labels:
      None
    • Environment:

      git master on RHEL6.1 x86_64

      Description

      [root@test58 trafficserver]# cat /tmp/traffic_cop.trace 
      <1333239680.0000> [DEBUG]: Entering init()
      <1333239680.0000> [DEBUG]: Entering init_signals()
      <1333239680.0000> [DEBUG]: Entering set_alarm_death()
      <1333239680.0000> [DEBUG]: Leaving set_alarm_death()
      <1333239680.0000> [DEBUG]: Leaving init_signals()
      <1333239680.0000> [DEBUG]: Entering init_config_dir()
      <1333239680.0000> [DEBUG]: Leaving init_config_dir()
      <1333239680.0000> [DEBUG]: Entering init_config_file()
      <1333239680.0000> [DEBUG]: Leaving init_config_file()
      <1333239680.0000> [DEBUG]: Entering init_lockfiles()
      <1333239680.0000> [DEBUG]: Leaving init_lockfiles()
      <1333239680.0000> [DEBUG]: Entering check_lockfile()
      <1333239680.0000> [unknown]: --- Cop Starting [Version: Apache Traffic Server - traffic_cop - 3.1.4-unstable - (build # 310 on Apr  1 2012 at 00:34:30)] ---
      <1333239680.0000> [DEBUG]: Leaving check_lockfile()
      <1333239680.0000> [DEBUG]: Leaving init()
      <1333239680.0000> [DEBUG]: Entering check()
      <1333239680.0000> [DEBUG]: Entering check_no_run()
      <1333239680.0000> [DEBUG]: Entering transient_error(2, 500)
      <1333239680.0000> [DEBUG]: Leaving transient_error(2, 500) --> false
      <1333239680.0000> [DEBUG]: Leaving check_no_run() --> 0
      <1333239680.0000> [DEBUG]: Entering read_config()
      <1333239680.0000> [DEBUG]: Entering build_config_table(33932704)
      <1333239680.0000> [DEBUG]: Leaving build_config_table(33932704)
      <1333239680.0000> [DEBUG]: Entering process_syslog_config()
      <1333239680.0000> [DEBUG]: Leaving process_syslog_config()
      <1333239680.0000> [DEBUG]: Leaving read_config()
      <1333239680.0000> [DEBUG]: Entering check_programs()
      <1333239680.0000> [DEBUG]: Entering heartbeat_manager()
      <1333239680.0000> [WARNING]: (cli test) unable to retrieve manager_binary
      <1333239680.0000> [WARNING]: manager heartbeat [variable] failed [1]
      <1333239680.0000> [DEBUG]: Leaving heartbeat_manager() --> -1
      <1333239680.0000> [DEBUG]: Entering check_memory()
      <1333239680.0000> [DEBUG]: Leaving check_memory()
      <1333239680.0000> [DEBUG]: Entering millisleep(10000)
      <1333239680.0000> [DEBUG]: Leaving millisleep(10000)
      <1333239680.0000> [DEBUG]: Entering check_no_run()
      <1333239680.0000> [DEBUG]: Entering transient_error(2, 500)
      <1333239680.0000> [DEBUG]: Leaving transient_error(2, 500) --> false
      <1333239680.0000> [DEBUG]: Leaving check_no_run() --> 0
      <1333239680.0000> [DEBUG]: Entering read_config()
      <1333239680.0000> [DEBUG]: Entering check_programs()
      <1333239680.0000> [DEBUG]: Entering heartbeat_manager()
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [DEBUG]: Entering open_socket(8088, (null), (null))
      <1333239680.0000> [DEBUG]: Entering transient_error(115, 500)
      <1333239680.0000> [DEBUG]: Leaving transient_error(115, 500) --> false
      <1333239680.0000> [DEBUG]: Leaving open_socket(8088, 127.0.0.1, (null)) --> 8
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [WARNING]: (manager test) bad response value
      <1333239680.0000> [WARNING]: manager heartbeat [variable] failed [2]
      <1333239680.0000> [WARNING]: killing manager
      <1333239680.0000> [DEBUG]: Entering safe_kill(/var/run/trafficserver/manager.lock, traffic_manager, 1)
      <1333239680.0000> [DEBUG]: Entering set_alarm_warn()
      <1333239680.0000> [DEBUG]: Leaving set_alarm_warn()
      <1333239680.0000> [DEBUG]: Entering set_alarm_death()
      <1333239680.0000> [DEBUG]: Leaving set_alarm_death()
      <1333239680.0000> [DEBUG]: Leaving safe_kill(/var/run/trafficserver/manager.lock, traffic_manager, 1)
      <1333239680.0000> [DEBUG]: Leaving heartbeat_manager() --> -1
      <1333239680.0000> [DEBUG]: Entering check_memory()
      <1333239680.0000> [DEBUG]: Leaving check_memory()
      <1333239680.0000> [DEBUG]: Entering millisleep(10000)
      <1333239680.0000> [DEBUG]: Leaving millisleep(10000)
      <1333239680.0000> [DEBUG]: Entering check_no_run()
      <1333239680.0000> [DEBUG]: Entering transient_error(2, 500)
      <1333239680.0000> [DEBUG]: Leaving transient_error(2, 500) --> false
      <1333239680.0000> [DEBUG]: Leaving check_no_run() --> 0
      <1333239680.0000> [DEBUG]: Entering read_config()
      <1333239680.0000> [DEBUG]: Entering check_programs()
      <1333239680.0000> [WARNING]: traffic_manager not running, making sure traffic_server is dead
      <1333239680.0000> [DEBUG]: Entering safe_kill(/var/run/trafficserver/server.lock, traffic_server, 0)
      <1333239680.0000> [DEBUG]: Entering set_alarm_warn()
      <1333239680.0000> [DEBUG]: Leaving set_alarm_warn()
      <1333239680.0000> [DEBUG]: Entering set_alarm_death()
      <1333239680.0000> [DEBUG]: Leaving set_alarm_death()
      <1333239680.0000> [DEBUG]: Leaving safe_kill(/var/run/trafficserver/server.lock, traffic_server, 0)
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [WARNING]: spawning traffic_manager
      <1333239680.0000> [DEBUG]: Entering spawn_manager()
      <1333239680.0000> [DEBUG]: spawn_manager: Launching /usr/bin/traffic_manager with options ''
      <1333239680.0000> [DEBUG]: Leaving spawn_manager()
      <1333239680.0000> [DEBUG]: Leaving check_programs()
      <1333239680.0000> [DEBUG]: Entering check_memory()
      <1333239680.0000> [DEBUG]: Leaving check_memory()
      <1333239680.0000> [DEBUG]: Entering millisleep(10000)
      <1333239680.0000> [DEBUG]: Leaving millisleep(10000)
      <1333239680.0000> [DEBUG]: Entering check_no_run()
      <1333239680.0000> [DEBUG]: Entering transient_error(2, 500)
      <1333239680.0000> [DEBUG]: Leaving transient_error(2, 500) --> false
      <1333239680.0000> [DEBUG]: Leaving check_no_run() --> 0
      <1333239680.0000> [DEBUG]: Entering read_config()
      <1333239680.0000> [DEBUG]: Entering check_programs()
      <1333239680.0000> [DEBUG]: Entering heartbeat_manager()
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [DEBUG]: Entering open_socket(8088, (null), (null))
      <1333239680.0000> [DEBUG]: Entering transient_error(115, 500)
      <1333239680.0000> [DEBUG]: Leaving transient_error(115, 500) --> false
      <1333239680.0000> [DEBUG]: Leaving open_socket(8088, 127.0.0.1, (null)) --> 8
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [WARNING]: (manager test) bad response value
      <1333239680.0000> [WARNING]: manager heartbeat [variable] failed [1]
      <1333239680.0000> [DEBUG]: Leaving heartbeat_manager() --> -1
      <1333239680.0000> [DEBUG]: Entering check_memory()
      <1333239680.0000> [DEBUG]: Leaving check_memory()
      <1333239680.0000> [DEBUG]: Entering millisleep(10000)
      <1333239680.0000> [DEBUG]: Leaving millisleep(10000)
      <1333239680.0000> [DEBUG]: Entering check_no_run()
      <1333239680.0000> [DEBUG]: Entering transient_error(2, 500)
      <1333239680.0000> [DEBUG]: Leaving transient_error(2, 500) --> false
      <1333239680.0000> [DEBUG]: Leaving check_no_run() --> 0
      <1333239680.0000> [DEBUG]: Entering read_config()
      <1333239680.0000> [DEBUG]: Entering build_config_table(33974976)
      <1333239680.0000> [DEBUG]: Leaving build_config_table(33974976)
      <1333239680.0000> [DEBUG]: Entering process_syslog_config()
      <1333239680.0000> [DEBUG]: Leaving process_syslog_config()
      <1333239680.0000> [DEBUG]: Leaving read_config()
      <1333239680.0000> [DEBUG]: Entering check_programs()
      <1333239680.0000> [DEBUG]: Entering heartbeat_manager()
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [DEBUG]: Entering open_socket(8088, (null), (null))
      <1333239680.0000> [DEBUG]: Entering transient_error(115, 500)
      <1333239680.0000> [DEBUG]: Leaving transient_error(115, 500) --> false
      <1333239680.0000> [DEBUG]: Leaving open_socket(8088, 127.0.0.1, (null)) --> 8
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [DEBUG]: Entering milliseconds()
      <1333239680.0000> [DEBUG]: Leaving milliseconds()
      <1333239680.0000> [WARNING]: (manager test) bad response value
      <1333239680.0000> [WARNING]: manager heartbeat [variable] failed [2]
      <1333239680.0000> [WARNING]: killing manager
      <1333239680.0000> [DEBUG]: Entering safe_kill(/var/run/trafficserver/manager.lock, traffic_manager, 1)
      <1333239680.0000> [DEBUG]: Entering set_alarm_warn()
      <1333239680.0000> [DEBUG]: Leaving set_alarm_warn()
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Zhao Yongming
            Reporter:
            Zhao Yongming
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development