Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-348

Infinite core file creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • 2.1.0
    • None
    • Configuration
    • None

    Description

      If traffic server is started with non root user account the launch script endlessly loops in start attempts
      generating core.PID file on each iteration.
      This creates 80+ MB core file about each second until the disk gets full.

      The following log entry is added on each iteration:
      E. Mgmt] log ==> [TrafficManager] using root directory '/home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local'
      [May 13 12:50:18.299]

      {3086546656} STATUS: opened var/log/trafficserver/manager.log
      [TrafficServer] using root directory '/home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local'
      [May 13 12:50:20.830] {1074246896} STATUS: opened var/log/trafficserver/diags.log
      FATAL: Can't change group to user: nobody, gid: 99
      /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server - STACK TRACE:
      /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server(ink_fatal_va+0x8f)[0x83451c7]
      /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server(ink_fatal_die+0x1d)[0x83451f7]
      /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server(_Z14change_uid_gidPKc+0xd8)[0x8152a52]
      /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server(main+0x1296)[0x8153e68]
      /lib/libc.so.6(__libc_start_main+0xdc)[0x7bee9c]
      /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server[0x80f3b31]
      [May 13 12:50:21.176] Manager {3086546656}

      ERROR: [LocalManager::pollMgmtProcessServer] Server Process terminated due to Sig 6: Aborted
      [May 13 12:50:21.176] Manager

      {3086546656} ERROR: (last system error 2: No such file or directory)
      [May 13 12:50:21.176] Manager {3086546656}

      ERROR: [Alarms::signalAlarm] Server Process was reset
      [May 13 12:50:21.176] Manager

      {3086546656}

      ERROR: (last system error 2: No such file or directory)

      Attachments

        1. ts-348-proposed.patch
          1 kB
          Dan Mercer

        Issue Links

          Activity

            People

              jamespeach James Peach
              mturk@apache.org Mladen Turk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: