[jira] [Commented] (TS-4798) Crashing when using balancer plugin

2016-09-01 Thread Gandhimathi Velusamy (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15457216#comment-15457216
 ] 

Gandhimathi Velusamy commented on TS-4798:
--

Please, find my stack trace:
traffic_server: Segmentation fault (Address not mapped to object [0x88])
traffic_server - STACK TRACE: 
bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x8e)[0x4ad02e]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7fe54840c330]
bin/traffic_server(_ZNK22ProxyClientTransaction9get_netvcEv+0xc)[0x4f122c]
bin/traffic_server(_ZN6HttpSM12update_statsEv+0x322)[0x5a1282]
bin/traffic_server(_ZN6HttpSM9kill_thisEv+0x380)[0x5b3e60]
bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0x108)[0x5b49f8]
bin/traffic_server(_ZN10HttpTunnel12main_handlerEiPv+0x19d)[0x5f125d]
bin/traffic_server(_Z15write_to_net_ioP10NetHandlerP18UnixNetVConnectionP7EThread+0x11f0)[0x749c70]
bin/traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x29c)[0x73b6dc]
bin/traffic_server(_ZN7EThread7executeEv+0x9c2)[0x76d442]
bin/traffic_server[0x76c04a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8184)[0x7fe548404184]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fe54770d37d]

> Crashing when using balancer plugin
> ---
>
> Key: TS-4798
> URL: https://issues.apache.org/jira/browse/TS-4798
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Reporter: Gandhimathi Velusamy
> Attachments: Steps_TrafficServer_balancer .pdf
>
>
> {noformat}
> Process:sudo [24280]
> File:   /usr/bin/sudo
> Version:Traffic Server 7.0.0
> System Version: Linux x86_64 #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 
> 3.13.0-68-generic
> Date:   Tue, 30 Aug 2016 14:42:24 -0400
> No target signal information
> No target CPU registers
> Unable to retrieve backtrace: [5] Error establishing socket connection.
> Process Status:
> Name: sudo
> State:S (sleeping)
> Tgid: 24280
> Ngid: 0
> Pid:  24280
> PPid: 25297
> TracerPid:0
> Uid:  0   0   0   0
> Gid:  1000100010001000
> FDSize:   256
> Groups:   1000 
> VmPeak:  64980 kB
> VmSize:  64944 kB
> VmLck:   0 kB
> VmPin:   0 kB
> VmHWM:2060 kB
> VmRSS:2060 kB
> VmData:508 kB
> VmStk: 136 kB
> VmExe: 144 kB
> VmLib:3784 kB
> VmPTE: 144 kB
> VmSwap:  0 kB
> Threads:  1
> SigQ: 0/47585
> SigPnd:   
> ShdPnd:   
> SigBlk:   
> SigIgn:   
> SigCgt:   0001800b7a07
> CapInh:   
> CapPrm:   001f
> CapEff:   001f
> CapBnd:   001f
> Seccomp:  0
> Cpus_allowed: 3
> Cpus_allowed_list:0-1
> Mems_allowed: ,0001
> Mems_allowed_list:0
> voluntary_ctxt_switches:  2
> nonvoluntary_ctxt_switches:   4
> Memory Regions:
> 7f588b6bd000-7f588b6d6000 r-xp  fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b6d6000-7f588b8d5000 ---p 00019000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d5000-7f588b8d6000 r--p 00018000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d6000-7f588b8d7000 rw-p 00019000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d7000-7f588b8db000 rw-p  00:00 0 
> 7f588b8db000-7f588b8e2000 r-xp  fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588b8e2000-7f588bae1000 ---p 7000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae1000-7f588bae2000 r--p 6000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae2000-7f588bae3000 rw-p 7000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae3000-7f588bae6000 r-xp  fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bae6000-7f588bce5000 ---p 3000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce5000-7f588bce6000 r--p 2000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce6000-7f588bce7000 rw-p 3000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce7000-7f588bd2b000 r-xp  fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bd2b000-7f588bf2a000 ---p 00044000 fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bf2a000-7f588bf2b000 r--p 00043000 fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bf2b000-7f588bf2c000 rw-p 

[jira] [Updated] (TS-4798) Crashing when using balancer plugin

2016-08-30 Thread Gandhimathi Velusamy (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gandhimathi Velusamy updated TS-4798:
-
Attachment: Steps_TrafficServer_balancer .pdf

When I googled I found that urllib.urlretrieve() causes problem. I added a 
sleep of 0.5 sec in the while loop and it started working in a single threaded 
program.
But still in multiple threads program, I am getting same error.

> Crashing when using balancer plugin
> ---
>
> Key: TS-4798
> URL: https://issues.apache.org/jira/browse/TS-4798
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Reporter: Gandhimathi Velusamy
> Attachments: Steps_TrafficServer_balancer .pdf
>
>
> {noformat}
> Process:sudo [24280]
> File:   /usr/bin/sudo
> Version:Traffic Server 7.0.0
> System Version: Linux x86_64 #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 
> 3.13.0-68-generic
> Date:   Tue, 30 Aug 2016 14:42:24 -0400
> No target signal information
> No target CPU registers
> Unable to retrieve backtrace: [5] Error establishing socket connection.
> Process Status:
> Name: sudo
> State:S (sleeping)
> Tgid: 24280
> Ngid: 0
> Pid:  24280
> PPid: 25297
> TracerPid:0
> Uid:  0   0   0   0
> Gid:  1000100010001000
> FDSize:   256
> Groups:   1000 
> VmPeak:  64980 kB
> VmSize:  64944 kB
> VmLck:   0 kB
> VmPin:   0 kB
> VmHWM:2060 kB
> VmRSS:2060 kB
> VmData:508 kB
> VmStk: 136 kB
> VmExe: 144 kB
> VmLib:3784 kB
> VmPTE: 144 kB
> VmSwap:  0 kB
> Threads:  1
> SigQ: 0/47585
> SigPnd:   
> ShdPnd:   
> SigBlk:   
> SigIgn:   
> SigCgt:   0001800b7a07
> CapInh:   
> CapPrm:   001f
> CapEff:   001f
> CapBnd:   001f
> Seccomp:  0
> Cpus_allowed: 3
> Cpus_allowed_list:0-1
> Mems_allowed: ,0001
> Mems_allowed_list:0
> voluntary_ctxt_switches:  2
> nonvoluntary_ctxt_switches:   4
> Memory Regions:
> 7f588b6bd000-7f588b6d6000 r-xp  fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b6d6000-7f588b8d5000 ---p 00019000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d5000-7f588b8d6000 r--p 00018000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d6000-7f588b8d7000 rw-p 00019000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d7000-7f588b8db000 rw-p  00:00 0 
> 7f588b8db000-7f588b8e2000 r-xp  fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588b8e2000-7f588bae1000 ---p 7000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae1000-7f588bae2000 r--p 6000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae2000-7f588bae3000 rw-p 7000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae3000-7f588bae6000 r-xp  fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bae6000-7f588bce5000 ---p 3000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce5000-7f588bce6000 r--p 2000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce6000-7f588bce7000 rw-p 3000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce7000-7f588bd2b000 r-xp  fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bd2b000-7f588bf2a000 ---p 00044000 fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bf2a000-7f588bf2b000 r--p 00043000 fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bf2b000-7f588bf2c000 rw-p 00044000 fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bf2c000-7f588bf34000 r-xp  fd:00 31706  
> /lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
> 7f588bf34000-7f588c134000 ---p 8000 fd:00 31706  
> /lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
> 7f588c134000-7f588c135000 r--p 8000 fd:00 31706  
> /lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
> 7f588c135000-7f588c136000 rw-p 9000 fd:00 31706  
> /lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
> 7f588c136000-7f588c14d000 r-xp  fd:00 31708  
> /lib/x86_64-linux-gnu/libnih.so.1.0.0
> 7f588c14d000-7f588c34c000 ---p 00017000 fd:00 31708 

[jira] [Commented] (TS-4798) Crashing when using balancer plugin

2016-08-30 Thread Gandhimathi Velusamy (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15450953#comment-15450953
 ] 

Gandhimathi Velusamy commented on TS-4798:
--

manager.log:
root@ts:/usr/local/var/log/trafficserver# tail manager.log 
[Aug 30 23:20:27.146] Manager {0x7f8f8cf91780} ERROR: [TrafficManager] ==> 
Cleaning up and reissuing signal #15
[Aug 30 23:20:27.164] Manager {0x7f8f8cf91780} ERROR: [TrafficManager] ==> 
Cleaning up and reissuing signal #3
[Aug 30 23:20:32.301] {0x7f87c868a780} STATUS: opened 
/usr/local/var/log/trafficserver/manager.log
[Aug 30 23:20:47.914] Manager {0x7f87c868a780} ERROR: [TrafficManager] ==> 
Cleaning up and reissuing signal #15
[Aug 30 23:20:47.933] Manager {0x7f87c868a780} ERROR: [TrafficManager] ==> 
Cleaning up and reissuing signal #3
[Aug 30 23:20:53.071] {0x7f0331844780} STATUS: opened 
/usr/local/var/log/trafficserver/manager.log
[Aug 30 23:21:07.046] Manager {0x7f0331844780} FATAL: 
[LocalManager::pollMgmtProcessServer] Error in read (errno: 104)
[Aug 30 23:21:07.046] Manager {0x7f0331844780} ERROR: 
[LocalManager::sendMgmtMsgToProcesses] Error writing message
[Aug 30 23:21:07.046] Manager {0x7f0331844780} ERROR:   (last system error 32: Broken pipe)
[Aug 30 23:21:07.055] {0x7f5eb2ae7780} STATUS: opened 
/usr/local/var/log/trafficserver/manager.log
And Traffic.out:
root@ts:/usr/local/var/log/trafficserver# tail traffic.out 
/usr/local/bin/traffic_server(_ZN6HttpSM12update_statsEv+0x322)[0x5a1282]
/usr/local/bin/traffic_server(_ZN6HttpSM9kill_thisEv+0x380)[0x5b3e60]
/usr/local/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0x108)[0x5b49f8]
/usr/local/bin/traffic_server(_ZN10HttpTunnel12main_handlerEiPv+0x19d)[0x5f125d]
/usr/local/bin/traffic_server(_Z15write_to_net_ioP10NetHandlerP18UnixNetVConnectionP7EThread+0x11f0)[0x749c70]
/usr/local/bin/traffic_server(_ZN10NetHandler12mainNetEventEiP5Event+0x29c)[0x73b6dc]
/usr/local/bin/traffic_server(_ZN7EThread7executeEv+0x9c2)[0x76d442]
/usr/local/bin/traffic_server[0x76c04a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8184)[0x2b998575e184]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x2b998649237d]
root@ts:/usr/local/var/log/trafficserver# 

> Crashing when using balancer plugin
> ---
>
> Key: TS-4798
> URL: https://issues.apache.org/jira/browse/TS-4798
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Reporter: Gandhimathi Velusamy
>
> {noformat}
> Process:sudo [24280]
> File:   /usr/bin/sudo
> Version:Traffic Server 7.0.0
> System Version: Linux x86_64 #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 
> 3.13.0-68-generic
> Date:   Tue, 30 Aug 2016 14:42:24 -0400
> No target signal information
> No target CPU registers
> Unable to retrieve backtrace: [5] Error establishing socket connection.
> Process Status:
> Name: sudo
> State:S (sleeping)
> Tgid: 24280
> Ngid: 0
> Pid:  24280
> PPid: 25297
> TracerPid:0
> Uid:  0   0   0   0
> Gid:  1000100010001000
> FDSize:   256
> Groups:   1000 
> VmPeak:  64980 kB
> VmSize:  64944 kB
> VmLck:   0 kB
> VmPin:   0 kB
> VmHWM:2060 kB
> VmRSS:2060 kB
> VmData:508 kB
> VmStk: 136 kB
> VmExe: 144 kB
> VmLib:3784 kB
> VmPTE: 144 kB
> VmSwap:  0 kB
> Threads:  1
> SigQ: 0/47585
> SigPnd:   
> ShdPnd:   
> SigBlk:   
> SigIgn:   
> SigCgt:   0001800b7a07
> CapInh:   
> CapPrm:   001f
> CapEff:   001f
> CapBnd:   001f
> Seccomp:  0
> Cpus_allowed: 3
> Cpus_allowed_list:0-1
> Mems_allowed: ,0001
> Mems_allowed_list:0
> voluntary_ctxt_switches:  2
> nonvoluntary_ctxt_switches:   4
> Memory Regions:
> 7f588b6bd000-7f588b6d6000 r-xp  fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b6d6000-7f588b8d5000 ---p 00019000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d5000-7f588b8d6000 r--p 00018000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d6000-7f588b8d7000 rw-p 00019000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d7000-7f588b8db000 rw-p  00:00 0 
> 7f588b8db000-7f588b8e2000 r-xp  fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588b8e2000-7f588bae1000 ---p 7000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae1000-7f588bae2000 r--p 6000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae2000-7f588bae3000 rw-p 

[jira] [Commented] (TS-4798) Crashing when using balancer plugin

2016-08-30 Thread Gandhimathi Velusamy (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15450937#comment-15450937
 ] 

Gandhimathi Velusamy commented on TS-4798:
--

Here is diags.log:
root@ts:/usr/local/var/log/trafficserver# tail diags.log 
[Aug 30 23:15:00.151] Server {0x2b97fb751700} ERROR:  Error accessing logging directory 
/usr/local/var/log/trafficserver: Permission denied.
[Aug 30 23:20:39.336] {0x2b2fc27b3e40} STATUS: opened 
/usr/local/var/log/trafficserver/diags.log
[Aug 30 23:20:39.350] Server {0x2b2fc27b3e40} WARNING:  No ssl_cert_name specified and no tunnel action set
[Aug 30 23:20:39.350] Server {0x2b2fc27b3e40} ERROR:  failed set default context
[Aug 30 23:21:05.110] {0x2b99844f3e40} STATUS: opened 
/usr/local/var/log/trafficserver/diags.log
[Aug 30 23:21:05.123] Server {0x2b99844f3e40} WARNING:  No ssl_cert_name specified and no tunnel action set
[Aug 30 23:21:05.123] Server {0x2b99844f3e40} ERROR:  failed set default context
[Aug 30 23:21:18.095] {0x2b3d7acf9e40} STATUS: opened 
/usr/local/var/log/trafficserver/diags.log
[Aug 30 23:21:18.107] Server {0x2b3d7acf9e40} WARNING:  No ssl_cert_name specified and no tunnel action set
[Aug 30 23:21:18.107] Server {0x2b3d7acf9e40} ERROR:  failed set default context
root@ts:/usr/local/var/log/trafficserver#

> Crashing when using balancer plugin
> ---
>
> Key: TS-4798
> URL: https://issues.apache.org/jira/browse/TS-4798
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Reporter: Gandhimathi Velusamy
>
> {noformat}
> Process:sudo [24280]
> File:   /usr/bin/sudo
> Version:Traffic Server 7.0.0
> System Version: Linux x86_64 #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 
> 3.13.0-68-generic
> Date:   Tue, 30 Aug 2016 14:42:24 -0400
> No target signal information
> No target CPU registers
> Unable to retrieve backtrace: [5] Error establishing socket connection.
> Process Status:
> Name: sudo
> State:S (sleeping)
> Tgid: 24280
> Ngid: 0
> Pid:  24280
> PPid: 25297
> TracerPid:0
> Uid:  0   0   0   0
> Gid:  1000100010001000
> FDSize:   256
> Groups:   1000 
> VmPeak:  64980 kB
> VmSize:  64944 kB
> VmLck:   0 kB
> VmPin:   0 kB
> VmHWM:2060 kB
> VmRSS:2060 kB
> VmData:508 kB
> VmStk: 136 kB
> VmExe: 144 kB
> VmLib:3784 kB
> VmPTE: 144 kB
> VmSwap:  0 kB
> Threads:  1
> SigQ: 0/47585
> SigPnd:   
> ShdPnd:   
> SigBlk:   
> SigIgn:   
> SigCgt:   0001800b7a07
> CapInh:   
> CapPrm:   001f
> CapEff:   001f
> CapBnd:   001f
> Seccomp:  0
> Cpus_allowed: 3
> Cpus_allowed_list:0-1
> Mems_allowed: ,0001
> Mems_allowed_list:0
> voluntary_ctxt_switches:  2
> nonvoluntary_ctxt_switches:   4
> Memory Regions:
> 7f588b6bd000-7f588b6d6000 r-xp  fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b6d6000-7f588b8d5000 ---p 00019000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d5000-7f588b8d6000 r--p 00018000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d6000-7f588b8d7000 rw-p 00019000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d7000-7f588b8db000 rw-p  00:00 0 
> 7f588b8db000-7f588b8e2000 r-xp  fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588b8e2000-7f588bae1000 ---p 7000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae1000-7f588bae2000 r--p 6000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae2000-7f588bae3000 rw-p 7000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae3000-7f588bae6000 r-xp  fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bae6000-7f588bce5000 ---p 3000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce5000-7f588bce6000 r--p 2000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce6000-7f588bce7000 rw-p 3000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce7000-7f588bd2b000 r-xp  fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bd2b000-7f588bf2a000 ---p 00044000 fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bf2a000-7f588bf2b000 r--p 00043000 fd:00 31496  

[jira] [Commented] (TS-4798) Crashing when using balancer plugin

2016-08-30 Thread Gandhimathi Velusamy (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15450085#comment-15450085
 ] 

Gandhimathi Velusamy commented on TS-4798:
--

My traffic server is: Apache Traffic Server - traffic_server - 7.0.0

I installed libunwind. But I don't know how to use it to get backtrace. Could 
you please, tell me how to do it.




> Crashing when using balancer plugin
> ---
>
> Key: TS-4798
> URL: https://issues.apache.org/jira/browse/TS-4798
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Core
>Reporter: Gandhimathi Velusamy
>
> {noformat}
> Process:sudo [24280]
> File:   /usr/bin/sudo
> Version:Traffic Server 7.0.0
> System Version: Linux x86_64 #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 
> 3.13.0-68-generic
> Date:   Tue, 30 Aug 2016 14:42:24 -0400
> No target signal information
> No target CPU registers
> Unable to retrieve backtrace: [5] Error establishing socket connection.
> Process Status:
> Name: sudo
> State:S (sleeping)
> Tgid: 24280
> Ngid: 0
> Pid:  24280
> PPid: 25297
> TracerPid:0
> Uid:  0   0   0   0
> Gid:  1000100010001000
> FDSize:   256
> Groups:   1000 
> VmPeak:  64980 kB
> VmSize:  64944 kB
> VmLck:   0 kB
> VmPin:   0 kB
> VmHWM:2060 kB
> VmRSS:2060 kB
> VmData:508 kB
> VmStk: 136 kB
> VmExe: 144 kB
> VmLib:3784 kB
> VmPTE: 144 kB
> VmSwap:  0 kB
> Threads:  1
> SigQ: 0/47585
> SigPnd:   
> ShdPnd:   
> SigBlk:   
> SigIgn:   
> SigCgt:   0001800b7a07
> CapInh:   
> CapPrm:   001f
> CapEff:   001f
> CapBnd:   001f
> Seccomp:  0
> Cpus_allowed: 3
> Cpus_allowed_list:0-1
> Mems_allowed: ,0001
> Mems_allowed_list:0
> voluntary_ctxt_switches:  2
> nonvoluntary_ctxt_switches:   4
> Memory Regions:
> 7f588b6bd000-7f588b6d6000 r-xp  fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b6d6000-7f588b8d5000 ---p 00019000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d5000-7f588b8d6000 r--p 00018000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d6000-7f588b8d7000 rw-p 00019000 fd:00 31852  
> /lib/x86_64-linux-gnu/libpthread-2.19.so
> 7f588b8d7000-7f588b8db000 rw-p  00:00 0 
> 7f588b8db000-7f588b8e2000 r-xp  fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588b8e2000-7f588bae1000 ---p 7000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae1000-7f588bae2000 r--p 6000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae2000-7f588bae3000 rw-p 7000 fd:00 31860  
> /lib/x86_64-linux-gnu/librt-2.19.so
> 7f588bae3000-7f588bae6000 r-xp  fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bae6000-7f588bce5000 ---p 3000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce5000-7f588bce6000 r--p 2000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce6000-7f588bce7000 rw-p 3000 fd:00 31726  
> /lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
> 7f588bce7000-7f588bd2b000 r-xp  fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bd2b000-7f588bf2a000 ---p 00044000 fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bf2a000-7f588bf2b000 r--p 00043000 fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bf2b000-7f588bf2c000 rw-p 00044000 fd:00 31496  
> /lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
> 7f588bf2c000-7f588bf34000 r-xp  fd:00 31706  
> /lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
> 7f588bf34000-7f588c134000 ---p 8000 fd:00 31706  
> /lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
> 7f588c134000-7f588c135000 r--p 8000 fd:00 31706  
> /lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
> 7f588c135000-7f588c136000 rw-p 9000 fd:00 31706  
> /lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
> 7f588c136000-7f588c14d000 r-xp  fd:00 31708  
> /lib/x86_64-linux-gnu/libnih.so.1.0.0
> 7f588c14d000-7f588c34c000 ---p 00017000 fd:00 31708  
> /lib/x86_64-linux-gnu/libnih.so.1.0.0
> 7f588c34c000-7f588c34d000 r--p 00016000 fd:00 31708 

[jira] [Created] (TS-4798) Crashing when using balancer plugin

2016-08-30 Thread Gandhimathi Velusamy (JIRA)
Gandhimathi Velusamy created TS-4798:


 Summary: Crashing when using balancer plugin
 Key: TS-4798
 URL: https://issues.apache.org/jira/browse/TS-4798
 Project: Traffic Server
  Issue Type: Bug
  Components: Core
Reporter: Gandhimathi Velusamy


Process:sudo [24280]
File:   /usr/bin/sudo
Version:Traffic Server 7.0.0
System Version: Linux x86_64 #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 
3.13.0-68-generic
Date:   Tue, 30 Aug 2016 14:42:24 -0400

No target signal information

No target CPU registers

Unable to retrieve backtrace: [5] Error establishing socket connection.

Process Status:
Name:   sudo
State:  S (sleeping)
Tgid:   24280
Ngid:   0
Pid:24280
PPid:   25297
TracerPid:  0
Uid:0   0   0   0
Gid:1000100010001000
FDSize: 256
Groups: 1000 
VmPeak:64980 kB
VmSize:64944 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM:  2060 kB
VmRSS:  2060 kB
VmData:  508 kB
VmStk:   136 kB
VmExe:   144 kB
VmLib:  3784 kB
VmPTE:   144 kB
VmSwap:0 kB
Threads:1
SigQ:   0/47585
SigPnd: 
ShdPnd: 
SigBlk: 
SigIgn: 
SigCgt: 0001800b7a07
CapInh: 
CapPrm: 001f
CapEff: 001f
CapBnd: 001f
Seccomp:0
Cpus_allowed:   3
Cpus_allowed_list:  0-1
Mems_allowed:   ,0001
Mems_allowed_list:  0
voluntary_ctxt_switches:2
nonvoluntary_ctxt_switches: 4

Memory Regions:
7f588b6bd000-7f588b6d6000 r-xp  fd:00 31852  
/lib/x86_64-linux-gnu/libpthread-2.19.so
7f588b6d6000-7f588b8d5000 ---p 00019000 fd:00 31852  
/lib/x86_64-linux-gnu/libpthread-2.19.so
7f588b8d5000-7f588b8d6000 r--p 00018000 fd:00 31852  
/lib/x86_64-linux-gnu/libpthread-2.19.so
7f588b8d6000-7f588b8d7000 rw-p 00019000 fd:00 31852  
/lib/x86_64-linux-gnu/libpthread-2.19.so
7f588b8d7000-7f588b8db000 rw-p  00:00 0 
7f588b8db000-7f588b8e2000 r-xp  fd:00 31860  
/lib/x86_64-linux-gnu/librt-2.19.so
7f588b8e2000-7f588bae1000 ---p 7000 fd:00 31860  
/lib/x86_64-linux-gnu/librt-2.19.so
7f588bae1000-7f588bae2000 r--p 6000 fd:00 31860  
/lib/x86_64-linux-gnu/librt-2.19.so
7f588bae2000-7f588bae3000 rw-p 7000 fd:00 31860  
/lib/x86_64-linux-gnu/librt-2.19.so
7f588bae3000-7f588bae6000 r-xp  fd:00 31726  
/lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
7f588bae6000-7f588bce5000 ---p 3000 fd:00 31726  
/lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
7f588bce5000-7f588bce6000 r--p 2000 fd:00 31726  
/lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
7f588bce6000-7f588bce7000 rw-p 3000 fd:00 31726  
/lib/x86_64-linux-gnu/libpam_misc.so.0.82.0
7f588bce7000-7f588bd2b000 r-xp  fd:00 31496  
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
7f588bd2b000-7f588bf2a000 ---p 00044000 fd:00 31496  
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
7f588bf2a000-7f588bf2b000 r--p 00043000 fd:00 31496  
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
7f588bf2b000-7f588bf2c000 rw-p 00044000 fd:00 31496  
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.6
7f588bf2c000-7f588bf34000 r-xp  fd:00 31706  
/lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
7f588bf34000-7f588c134000 ---p 8000 fd:00 31706  
/lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
7f588c134000-7f588c135000 r--p 8000 fd:00 31706  
/lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
7f588c135000-7f588c136000 rw-p 9000 fd:00 31706  
/lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0
7f588c136000-7f588c14d000 r-xp  fd:00 31708  
/lib/x86_64-linux-gnu/libnih.so.1.0.0
7f588c14d000-7f588c34c000 ---p 00017000 fd:00 31708  
/lib/x86_64-linux-gnu/libnih.so.1.0.0
7f588c34c000-7f588c34d000 r--p 00016000 fd:00 31708  
/lib/x86_64-linux-gnu/libnih.so.1.0.0
7f588c34d000-7f588c34e000 rw-p 00017000 fd:00 31708  
/lib/x86_64-linux-gnu/libnih.so.1.0.0
7f588c34e000-7f588c367000 r-xp  fd:00 31649  
/lib/x86_64-linux-gnu/libcgmanager.so.0.0.0
7f588c367000-7f588c566000 ---p 00019000 fd:00 31649  
/lib/x86_64-linux-gnu/libcgmanager.so.0.0.0
7f588c566000-7f588c568000 r--p 00018000 fd:00 31649  
/lib/x86_64-linux-gnu/libcgmanager.so.0.0.0
7f588c568000-7f588c569000 rw-p 0001a000 fd:00 31649  
/lib/x86_64-linux-gnu/libcgmanager.so.0.0.0
7f588c569000-7f588c573000 r-xp  fd:00