[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=31597=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31597 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 04/Nov/16 03:11 Start Date: 04/Nov/16 03:11 Worklog Time Spent: 10m Work Description: Github user PSUdaemon closed the pull request at: https://github.com/apache/trafficserver/pull/1182 Issue Time Tracking --- Worklog Id: (was: 31597) Time Spent: 4h 20m (was: 4h 10m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0 > > Time Spent: 4h 20m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=31545=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31545 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Nov/16 15:59 Start Date: 03/Nov/16 15:59 Worklog Time Spent: 10m Work Description: Github user shukitchan commented on the issue: https://github.com/apache/trafficserver/pull/1182 looks good. Issue Time Tracking --- Worklog Id: (was: 31545) Time Spent: 4h 10m (was: 4h) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 7.0.0 > > Time Spent: 4h 10m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=31533=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31533 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Nov/16 14:53 Start Date: 03/Nov/16 14:53 Worklog Time Spent: 10m Work Description: Github user atsci commented on the issue: https://github.com/apache/trafficserver/pull/1182 Linux build *successful*! See https://ci.trafficserver.apache.org/job/Github-Linux/1052/ for details. Issue Time Tracking --- Worklog Id: (was: 31533) Time Spent: 4h (was: 3h 50m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 7.0.0 > > Time Spent: 4h > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=31528=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31528 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Nov/16 14:38 Start Date: 03/Nov/16 14:38 Worklog Time Spent: 10m Work Description: Github user PSUdaemon commented on the issue: https://github.com/apache/trafficserver/pull/1182 [approve ci] Issue Time Tracking --- Worklog Id: (was: 31528) Time Spent: 3h 40m (was: 3.5h) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 7.0.0 > > Time Spent: 3h 40m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=31532=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31532 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Nov/16 14:50 Start Date: 03/Nov/16 14:50 Worklog Time Spent: 10m Work Description: Github user atsci commented on the issue: https://github.com/apache/trafficserver/pull/1182 FreeBSD build *successful*! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1159/ for details. Issue Time Tracking --- Worklog Id: (was: 31532) Time Spent: 3h 50m (was: 3h 40m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 7.0.0 > > Time Spent: 3h 50m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7]
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=31523=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31523 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Nov/16 13:14 Start Date: 03/Nov/16 13:14 Worklog Time Spent: 10m Work Description: GitHub user brkishore reopened a pull request: https://github.com/apache/trafficserver/pull/1182 TS-4911: ts_lua plugin is modified to clear 'client_response_hdrp' po… …inter when it enters SEND_RESPONSE_HDR hook. (cherry picked from commit 7662c30e48a444d0d8d37b2e2d34f71b21e3bfcd) You can merge this pull request into a Git repository by running: $ git pull https://github.com/brkishore/trafficserver TS-4911-BP-6.2.x Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/1182.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1182 commit bd33c4d24ca26399dd674ac4503167fc82c06ef4 Author: rb304gDate: 2016-09-29T18:42:56Z TS-4911: ts_lua plugin is modified to clear 'client_response_hdrp' pointer when it enters SEND_RESPONSE_HDR hook. (cherry picked from commit 7662c30e48a444d0d8d37b2e2d34f71b21e3bfcd) Issue Time Tracking --- Worklog Id: (was: 31523) Time Spent: 3.5h (was: 3h 20m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 7.0.0 > > Time Spent: 3.5h > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// =>
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=31520=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31520 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Nov/16 13:09 Start Date: 03/Nov/16 13:09 Worklog Time Spent: 10m Work Description: GitHub user brkishore opened a pull request: https://github.com/apache/trafficserver/pull/1182 TS-4911: ts_lua plugin is modified to clear 'client_response_hdrp' po… …inter when it enters SEND_RESPONSE_HDR hook. (cherry picked from commit 7662c30e48a444d0d8d37b2e2d34f71b21e3bfcd) You can merge this pull request into a Git repository by running: $ git pull https://github.com/brkishore/trafficserver TS-4911-BP-6.2.x Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/1182.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1182 commit bd33c4d24ca26399dd674ac4503167fc82c06ef4 Author: rb304gDate: 2016-09-29T18:42:56Z TS-4911: ts_lua plugin is modified to clear 'client_response_hdrp' pointer when it enters SEND_RESPONSE_HDR hook. (cherry picked from commit 7662c30e48a444d0d8d37b2e2d34f71b21e3bfcd) Issue Time Tracking --- Worklog Id: (was: 31520) Time Spent: 3h 10m (was: 3h) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 7.0.0 > > Time Spent: 3h 10m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// =>
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=31522=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31522 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Nov/16 13:14 Start Date: 03/Nov/16 13:14 Worklog Time Spent: 10m Work Description: Github user brkishore commented on the issue: https://github.com/apache/trafficserver/pull/1182 its by mistake..needs to be backported on to 6.2.x Issue Time Tracking --- Worklog Id: (was: 31522) Time Spent: 3.5h (was: 3h 20m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 7.0.0 > > Time Spent: 3.5h > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=31521=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-31521 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Nov/16 13:12 Start Date: 03/Nov/16 13:12 Worklog Time Spent: 10m Work Description: Github user brkishore closed the pull request at: https://github.com/apache/trafficserver/pull/1182 Issue Time Tracking --- Worklog Id: (was: 31521) Time Spent: 3h 20m (was: 3h 10m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 7.0.0 > > Time Spent: 3h 20m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] > /opt/trafficserver/lib/libtsutil.so.6(+0x28668)[0x2ad67d927668]
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30063=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30063 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Oct/16 05:33 Start Date: 03/Oct/16 05:33 Worklog Time Spent: 10m Work Description: Github user shukitchan commented on the issue: https://github.com/apache/trafficserver/pull/1064 Issue Time Tracking --- Worklog Id: (was: 30063) Time Spent: 2h 50m (was: 2h 40m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 2h 50m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30064=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30064 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Oct/16 05:33 Start Date: 03/Oct/16 05:33 Worklog Time Spent: 10m Work Description: Github user shukitchan closed the pull request at: https://github.com/apache/trafficserver/pull/1064 Issue Time Tracking --- Worklog Id: (was: 30064) Time Spent: 3h (was: 2h 50m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 3h > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30062=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30062 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Oct/16 05:32 Start Date: 03/Oct/16 05:32 Worklog Time Spent: 10m Work Description: Github user shukitchan commented on the issue: https://github.com/apache/trafficserver/pull/1065 pls state in the jira that it need a backport instead. Issue Time Tracking --- Worklog Id: (was: 30062) Time Spent: 2h 40m (was: 2.5h) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 2h 40m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30061=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30061 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 03/Oct/16 05:32 Start Date: 03/Oct/16 05:32 Worklog Time Spent: 10m Work Description: Github user shukitchan closed the pull request at: https://github.com/apache/trafficserver/pull/1065 Issue Time Tracking --- Worklog Id: (was: 30061) Time Spent: 2h 40m (was: 2.5h) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 2h 40m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30027=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30027 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 18:11 Start Date: 30/Sep/16 18:11 Worklog Time Spent: 10m Work Description: Github user atsci commented on the issue: https://github.com/apache/trafficserver/pull/1064 Linux build *successful*! See https://ci.trafficserver.apache.org/job/Github-Linux/805/ for details. Issue Time Tracking --- Worklog Id: (was: 30027) Time Spent: 2.5h (was: 2h 20m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 2.5h > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30026=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30026 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 18:06 Start Date: 30/Sep/16 18:06 Worklog Time Spent: 10m Work Description: Github user atsci commented on the issue: https://github.com/apache/trafficserver/pull/1064 FreeBSD build *successful*! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/910/ for details. Issue Time Tracking --- Worklog Id: (was: 30026) Time Spent: 2h 20m (was: 2h 10m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 2h 20m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30025=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30025 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 18:00 Start Date: 30/Sep/16 18:00 Worklog Time Spent: 10m Work Description: Github user brkishore commented on the issue: https://github.com/apache/trafficserver/pull/1064 OK. Back port to 6.2.x will be taken care by Phil? Issue Time Tracking --- Worklog Id: (was: 30025) Time Spent: 2h 10m (was: 2h) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 2h 10m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30023=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30023 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 17:50 Start Date: 30/Sep/16 17:50 Worklog Time Spent: 10m Work Description: Github user shukitchan commented on the issue: https://github.com/apache/trafficserver/pull/1064 [ci approve] Issue Time Tracking --- Worklog Id: (was: 30023) Time Spent: 1h 50m (was: 1h 40m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 1h 50m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30024=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30024 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 17:51 Start Date: 30/Sep/16 17:51 Worklog Time Spent: 10m Work Description: Github user shukitchan commented on the issue: https://github.com/apache/trafficserver/pull/1064 we should probably close #1065 Issue Time Tracking --- Worklog Id: (was: 30024) Time Spent: 2h (was: 1h 50m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 2h > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30022=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30022 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 17:50 Start Date: 30/Sep/16 17:50 Worklog Time Spent: 10m Work Description: Github user shukitchan commented on the issue: https://github.com/apache/trafficserver/pull/1064 the change looks good. Issue Time Tracking --- Worklog Id: (was: 30022) Time Spent: 1h 40m (was: 1.5h) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30021=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30021 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 17:50 Start Date: 30/Sep/16 17:50 Worklog Time Spent: 10m Work Description: Github user shukitchan commented on the issue: https://github.com/apache/trafficserver/pull/1064 i think back port is done differently. Issue Time Tracking --- Worklog Id: (was: 30021) Time Spent: 1.5h (was: 1h 20m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 1.5h > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30020=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30020 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 17:30 Start Date: 30/Sep/16 17:30 Worklog Time Spent: 10m Work Description: Github user brkishore commented on the issue: https://github.com/apache/trafficserver/pull/1064 This one is for master branch. #1065 is for 6.2.x back port the same. Issue Time Tracking --- Worklog Id: (was: 30020) Time Spent: 1h 20m (was: 1h 10m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30014=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30014 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 16:35 Start Date: 30/Sep/16 16:35 Worklog Time Spent: 10m Work Description: Github user PSUdaemon commented on the issue: https://github.com/apache/trafficserver/pull/1064 Is this a dup of #1065? Issue Time Tracking --- Worklog Id: (was: 30014) Time Spent: 1h 10m (was: 1h) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30012=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30012 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 11:40 Start Date: 30/Sep/16 11:40 Worklog Time Spent: 10m Work Description: Github user atsci commented on the issue: https://github.com/apache/trafficserver/pull/1065 FreeBSD build *successful*! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/909/ for details. Issue Time Tracking --- Worklog Id: (was: 30012) Time Spent: 1h (was: 50m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 1h > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30011=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30011 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 11:38 Start Date: 30/Sep/16 11:38 Worklog Time Spent: 10m Work Description: Github user atsci commented on the issue: https://github.com/apache/trafficserver/pull/1065 Linux build *successful*! See https://ci.trafficserver.apache.org/job/Github-Linux/804/ for details. Issue Time Tracking --- Worklog Id: (was: 30011) Time Spent: 50m (was: 40m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 50m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7]
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=30010=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30010 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 30/Sep/16 11:26 Start Date: 30/Sep/16 11:26 Worklog Time Spent: 10m Work Description: Github user shukitchan commented on the issue: https://github.com/apache/trafficserver/pull/1065 [approve ci] Issue Time Tracking --- Worklog Id: (was: 30010) Time Spent: 40m (was: 0.5h) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 40m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=3=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-3 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 29/Sep/16 23:57 Start Date: 29/Sep/16 23:57 Worklog Time Spent: 10m Work Description: Github user shukitchan commented on the issue: https://github.com/apache/trafficserver/pull/1065 it looks fine. Issue Time Tracking --- Worklog Id: (was: 3) Time Spent: 0.5h (was: 20m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with 3 entries > http:/// => http://127.0.0.1/ <> [plugins not enabled; running with > 0 plugins] > http://xx.xx.xx.xx/ => http://xx.xx.xx.xx/ <> [plugins are enabled; > running with plugins] > http://testurl.com/ => http://origin.com// <> [plugins are enabled; > running with 2 plugins] > Reverse Mapping Table with 0 entries > Permanent Redirect Mapping Table with 0 entries > Temporary Redirect Mapping Table with 0 entries > Forward Mapping With Recv Port Table with 0 entries > Referer filter default redirect URL: "http://www.example.com/; > traffic_server: Aborted (Signal sent by tkill() 129399 99) > traffic_server - STACK TRACE: > /opt/trafficserver/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ab5ee] > /lib64/libpthread.so.0(+0xf100)[0x2ad67f3eb100] > /lib64/libc.so.6(gsignal+0x37)[0x2ad6803bb5f7] > /lib64/libc.so.6(abort+0x148)[0x2ad6803bcce8] >
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=29968=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-29968 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 29/Sep/16 19:28 Start Date: 29/Sep/16 19:28 Worklog Time Spent: 10m Work Description: GitHub user brkishore opened a pull request: https://github.com/apache/trafficserver/pull/1065 TS-4911: ts_lua plugin is modified to clear 'client_response_hdrp' pointer when it enters SEND_RESPONSE_HDR hook. This is to backport PR on to 6.2.x. globalHookHandler() [ts_lua.c] and ts_lua_http_cont_handler()[ts_lua_util.c] are modified to clear 'client_response_hdrp' pointer when it enters SEND_RESPONSE_HDR hook. You can merge this pull request into a Git repository by running: $ git pull https://github.com/brkishore/trafficserver TS-4911-BP-6.2.x Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/1065.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1065 commit eabb0136a2f22ffac2366e013d80263ae15c6f4d Author: rb304gDate: 2016-09-29T18:42:56Z TS-4911: ts_lua plugin is modified to clear 'client_response_hdrp' pointer when it enters SEND_RESPONSE_HDR hook. Issue Time Tracking --- Worklog Id: (was: 29968) Time Spent: 20m (was: 10m) > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 20m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward
[jira] [Work logged] (TS-4911) ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and write lock error was encountered (thundering herd problem)
[ https://issues.apache.org/jira/browse/TS-4911?focusedWorklogId=29965=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-29965 ] ASF GitHub Bot logged work on TS-4911: -- Author: ASF GitHub Bot Created on: 29/Sep/16 18:59 Start Date: 29/Sep/16 18:59 Worklog Time Spent: 10m Work Description: GitHub user brkishore opened a pull request: https://github.com/apache/trafficserver/pull/1064 TS-4911: ts_lua plugin is modified to clear 'client_response_hdrp' pointer when it enters SEND_RESPONSE_HDR hook globalHookHandler() [ts_lua.c] and ts_lua_http_cont_handler()[ts_lua_util.c] are modified to clear 'client_response_hdrp' pointer when it enters SEND_RESPONSE_HDR hook. You can merge this pull request into a Git repository by running: $ git pull https://github.com/brkishore/trafficserver TS-4911 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/1064.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1064 commit 177d67c7df06622a9ee2eaaa837e31dde5298a76 Author: rb304gDate: 2016-09-29T18:42:56Z TS-4911: ts_lua plugin is modified to clear 'client_response_hdrp' pointer when it enters SEND_RESPONSE_HDR hook. Issue Time Tracking --- Worklog Id: (was: 29965) Time Spent: 10m Remaining Estimate: 0h > ATS restarts when ts_lua plugin is used with collapsed_forwarding plugin and > write lock error was encountered (thundering herd problem) > --- > > Key: TS-4911 > URL: https://issues.apache.org/jira/browse/TS-4911 > Project: Traffic Server > Issue Type: Bug > Components: Lua, Plugins >Affects Versions: 6.2.1, 7.0.0, 7.1.0 >Reporter: Rajendra Kishore Bonumahanti >Assignee: Kit Chan > Fix For: 6.2.1, 7.0.0, 7.1.0 > > Time Spent: 10m > Remaining Estimate: 0h > > ATS (ts_lua plugin is used along with collapsed_forwarding plugin) got > restarted due to “FATAL: InkAPI.cc:3800: failed assert > `sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS`” when write lock error > was encountered (thundering herd problem). The ATS restart is due to > ts.client_response.get_status() function call in > TS_LUA_HOOK_SEND_RESPONSE_HDR hook function when re-direct is enabled on 502 > error. > == error when ts_lua plugin is used with collapsed_forwarding plugin == > map http://testurl.com/ http://origin.com/ @plugin=tslua.so > @pparam=/opt/trafficserver/etc/trafficserver/lua/test.lua > @plugin=collapsed_forwarding.so @pparam=--delay=10 @pparam=--retries=5 > test.lua: > === > function __init__() >local FUNCTION = '__init__(): ' > ts.debug(FUNCTION .. 'Entering..') > return 0 > end > function responseHook() > local FUNCTION = 'responseHook(): ' > ts.debug(FUNCTION .. 'Entering..') > local c_code = tostring(ts.client_response.get_status()) > ts.debug(FUNCTION .. 'Original client_response_code: ' .. c_code) > if string.find(c_code, "^[45]") then > ts.debug(FUNCTION .. 'client response code is now set to 500') > ts.client_response.set_status(500) > end > return 0 > end > function do_remap() > local FUNCTION = 'do_remap(): ' > ts.debug(FUNCTION .. 'Entering..') > ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, responseHook) > return 0 > end > > The log… > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] State > Transition: SM_ACTION_AP_CACHE_LOOKUP_COMPLETE -> SM_ACTION_SERVE_FROM_CACHE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] > perform_cache_write_action CACE_DO_SERVE > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http_redirect) > is_redirect_required 1 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DEBUG: (http) [148] calling > plugin on hook TS_HTTPSEND_RESPONSE_HDR_HOOK at hook 0x1832bc0 > [Sep 20 19:53:43.746] Server {0x2ad69673e700} DIAG: (ts_lua) responseHook(): > Entering.. > FATAL: InkAPI.cc:3800: failed assert `sdk_sanity_check_http_hdr_handle(obj) > == TS_SUCCESS` > traffic_server: using root directory '/opt/trafficserver' > validate_filter_args: "action=deny" > - > Filter "" status: allow_flag=false, src_ip_valid=false, > in_ip_valid=false, internal=false active_queue_flag=0 > standard methods=nonstandard methods= > src_ip_cnt=0 > in_ip_cnt=0 > URL Rewrite table with 3 entries > Reverse Proxy is On > Forward Mapping Table with