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

Steve Malenfant commented on TS-3304:
-------------------------------------

This would make a lot of sense. The only origin server configured in 
pre-production (remap rule) has a TTL of 86400. The problem seems to occur 
daily where the time is about 2-4 minutes less everyday. See here for yourself 
(timestamp). I guess I can try to reproduce by using an origin server with TTL 
set lower.

/var/log/messages-20141228:Dec 21 12:00:25 psp6cdatsec02 kernel: 
[764153.984271] [ET_NET 8][20967]: segfault at 0 ip 00002b7d79d921d8 sp 
00002b7d8100a0b8 error 4 in libtsutil.so.4.2.1[2b7d79d6d000+34000]
/var/log/messages-20141228:Dec 22 11:54:32 psp6cdatsec02 kernel: 
[850232.881960] [ET_NET 1][5111]: segfault at 0 ip 00002ab0e67ac1d8 sp 
00002ab0ed30d0b8 error 4 in libtsutil.so.4.2.1[2ab0e6787000+34000]
/var/log/messages-20141228:Dec 23 11:48:29 psp6cdatsec02 kernel: 
[936301.329301] [ET_NET 28][21668]: segfault at 0 ip 00002ac5c22361d8 sp 
00002ac5ca9230b8 error 4 in libtsutil.so.4.2.1[2ac5c2211000+34000]
/var/log/messages-20141228:Dec 24 11:43:46 psp6cdatsec02 kernel: 
[1022449.436637] [ET_NET 10][38230]: segfault at 0 ip 00002adbccb641d8 sp 
00002adbcff4e0b8 error 4 in libtsutil.so.4.2.1[2adbccb3f000+34000]
/var/log/messages-20141228:Dec 26 11:31:30 psp6cdatsec02 kernel: 
[1194576.265730] [ET_NET 3][6230]: segfault at 0 ip 00002b2f7b18b1d8 sp 
00002b2f81f190b8 error 4 in libtsutil.so.4.2.1[2b2f7b166000+34000]
/var/log/messages-20141228:Dec 27 11:25:27 psp6cdatsec02 kernel: 
[1280645.089066] [ET_NET 25][38961]: segfault at 0 ip 00002b9cd451a1d8 sp 
00002b9cdc9030b8 error 4 in libtsutil.so.4.2.1[2b9cd44f5000+34000]
/var/log/messages-20150104:Dec 28 11:19:24 psp6cdatsec02 kernel: 
[1366713.531696] [ET_NET 28][6960]: segfault at 0 ip 00002b79171871d8 sp 
00002b791f8320b8 error 4 in libtsutil.so.4.2.1[2b7917162000+34000]
/var/log/messages-20150104:Dec 29 11:14:42 psp6cdatsec02 kernel: 
[1452862.786656] [ET_NET 8][23518]: segfault at 0 ip 00002b91bdc1e1d8 sp 
00002b91c4e080b8 error 4 in libtsutil.so.4.2.1[2b91bdbf9000+34000]
/var/log/messages-20150104:Dec 30 11:08:40 psp6cdatsec02 kernel: 
[1538932.282669] [ET_NET 27][40093]: segfault at 0 ip 00002aadf5eac1d8 sp 
00002aadfe41e0b8 error 4 in libtsutil.so.4.2.1[2aadf5e87000+34000]
/var/log/messages-20150104:Dec 31 11:03:58 psp6cdatsec02 kernel: 
[1625081.738033] [ET_NET 9][8107]: segfault at 0 ip 00002ae1a10e81d8 sp 
00002ae1a83fe0b8 error 4 in libtsutil.so.4.2.1[2ae1a10c3000+34000]
/var/log/messages-20150104:Jan  1 10:58:06 psp6cdatsec02 kernel: 
[1711161.406080] [ET_NET 2][26725]: segfault at 0 ip 00002b29e35861d8 sp 
00002b29ea21c0b8 error 4 in libtsutil.so.4.2.1[2b29e3561000+34000]
/var/log/messages-20150104:Jan  2 10:52:13 psp6cdatsec02 kernel: 
[1797240.486192] [ET_NET 2][43264]: segfault at 0 ip 00002ae99ba081d8 sp 
00002ae99e5ea0b8 error 4 in libtsutil.so.4.2.1[2ae99b9e3000+34000]
/var/log/messages-20150111:Jan  4 10:42:38 psp6cdatsec02 kernel: 
[1969528.172526] [ET_NET 8][11295]: segfault at 0 ip 00002b08ce7c71d8 sp 
00002b08d5a140b8 error 4 in libtsutil.so.4.2.1[2b08ce7a2000+34000]
/var/log/messages-20150111:Jan  5 10:36:36 psp6cdatsec02 kernel: 
[2055597.337456] [ET_NET 28][44084]: segfault at 0 ip 00002b6fe362b1d8 sp 
00002b6febc360b8 error 4 in libtsutil.so.4.2.1[2b6fe3606000+34000]
/var/log/messages-20150111:Jan  6 10:30:46 psp6cdatsec02 kernel: 
[2141679.225741] [ET_NET 2][12017]: segfault at 0 ip 00002b718a2f21d8 sp 
00002b7190f090b8 error 4 in libtsutil.so.4.2.1[2b718a2cd000+34000]
/var/log/messages-20150111:Jan  7 10:26:08 psp6cdatsec02 kernel: 
[2227832.753717] [ET_NET 11][28633]: segfault at 0 ip 00002af8a9ccb1d8 sp 
00002af8b120c0b8 error 4 in libtsutil.so.4.2.1[2af8a9ca6000+34000]
/var/log/messages-20150111:Jan  8 10:21:30 psp6cdatsec02 kernel: 
[2313986.684895] [ET_NET 12][45238]: segfault at 0 ip 00002afbf62901d8 sp 
00002afbfd9130b8 error 4 in libtsutil.so.4.2.1[2afbf626b000+34000]
/var/log/messages-20150111:Jan  9 10:16:53 psp6cdatsec02 kernel: 
[2400140.409556] [ET_NET 5][13212]: segfault at 0 ip 00002b3d03d0c1d8 sp 
00002b3d06bf10b8 error 4 in libtsutil.so.4.2.1[2b3d03ce7000+34000]
/var/log/messages-20150111:Jan 10 10:10:55 psp6cdatsec02 kernel: 
[2486214.533103] [ET_NET 26][29828]: segfault at 0 ip 00002b573e8bf1d8 sp 
00002b5746d270b8 error 4 in libtsutil.so.4.2.1[2b573e89a000+34000]
/var/log/messages-20150118:Jan 12 10:01:24 psp6cdatsec02 kernel: 
[2658506.193736] [ET_NET 14][46428]: segfault at 0 ip 00002abd733221d8 sp 
00002abd7ab250b8 error 4 in libtsutil.so.4.2.1[2abd732fd000+34000]
/var/log/messages-20150118:Jan 13 09:56:47 psp6cdatsec02 kernel: 
[2744660.662911] [ET_NET 12][30546]: segfault at 0 ip 00002b5b29cf21d8 sp 
00002b5b3130d0b8 error 4 in libtsutil.so.4.2.1[2b5b29ccd000+34000]
/var/log/messages-20150118:Jan 14 09:52:10 psp6cdatsec02 kernel: 
[2830815.298530] [ET_NET 11][47170]: segfault at 0 ip 00002aca5b76a1d8 sp 
00002aca62d330b8 error 4 in libtsutil.so.4.2.1[2aca5b745000+34000]
/var/log/messages-20150118:Jan 15 09:57:15 psp6cdatsec02 kernel: 
[2917552.218107] [ET_NET 14][46414]: segfault at 0 ip 00002b366fe3d1d8 sp 
00002b367362b0b8 error 4 in libtsutil.so.4.2.1[2b366fe18000+34000]
/var/log/messages-20150118:Jan 16 09:50:53 psp6cdatsec02 kernel: 
[3003601.658988] [ET_NET 14][46878]: segfault at 0 ip 00002b8f46b5f1d8 sp 
00002b8f4e41e0b8 error 4 in libtsutil.so.4.2.1[2b8f46b3a000+34000]
/var/log/messages-20150118:Jan 17 09:45:00 psp6cdatsec02 kernel: 
[3089680.501613] [ET_NET 31][15136]: segfault at 0 ip 00002b1e685d81d8 sp 
00002b1e70f090b8 error 4 in libtsutil.so.4.2.1[2b1e685b3000+34000]

> segfault in libtsutils
> ----------------------
>
>                 Key: TS-3304
>                 URL: https://issues.apache.org/jira/browse/TS-3304
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HostDB
>            Reporter: Steve Malenfant
>            Assignee: Leif Hedstrom
>             Fix For: 5.3.0
>
>
> Getting multiple segfaults per day on 4.2.1. 
> [4324544.324222] [ET_NET 23][10504]: segfault at 0 ip 00002acd66546168 sp 
> 00002acd71f190b8 error 4 in libtsutil.so.4.2.1[2acd66521000+34000]
> [4410696.820857] [ET_NET 19][22738]: segfault at 0 ip 00002af09f339168 sp 
> 00002af0aa9230b8 error 4 in libtsutil.so.4.2.1[2af09f314000+34000]
> [4497039.474253] [ET_NET 12][34872]: segfault at 0 ip 00002ad17e6a1168 sp 
> 00002ad1896100b8 error 4 in libtsutil.so.4.2.1[2ad17e67c000+34000]
> [4583372.073916] [ET_NET 3][46994]: segfault at 0 ip 00002aced4227168 sp 
> 00002aceda7d80b8 error 4 in libtsutil.so.4.2.1[2aced4202000+34000]
> [4756046.944373] [ET_NET 22][10799]: segfault at 0 ip 00002b1771f76168 sp 
> 00002b177d9130b8 error 4 in libtsutil.so.4.2.1[2b1771f51000+34000]
> Stack Trace :
> (gdb) bt
> #0  ink_inet_addr (s=<value optimized out>) at ink_inet.cc:107
> #1  0x00000000005e0df5 in is_dotted_form_hostname (mutex=0x1d32cb0, md5=..., 
> ignore_timeout=false) at P_HostDBProcessor.h:545
> #2  probe (mutex=0x1d32cb0, md5=..., ignore_timeout=false) at HostDB.cc:668
> #3  0x00000000005e2b34 in HostDBProcessor::getby (this=<value optimized out>, 
> cont=0x2b514cc749d0, hostname=0x0, len=<value optimized out>, 
> ip=0x2b50e8f092b0, aforce_dns=false, host_res_style=HOST_RES_NONE, 
> dns_lookup_timeout=0)
>     at HostDB.cc:772
> #4  0x0000000000517f2c in getbyaddr_re (this=0x2b514cc749d0) at 
> ../../iocore/hostdb/I_HostDBProcessor.h:417
> #5  HttpSM::do_hostdb_reverse_lookup (this=0x2b514cc749d0) at HttpSM.cc:3968
> #6  0x000000000052f028 in HttpSM::set_next_state (this=0x2b514cc749d0) at 
> HttpSM.cc:6932
> #7  0x0000000000518242 in HttpSM::do_hostdb_lookup (this=0x2b514cc749d0) at 
> HttpSM.cc:3950
> #8  0x000000000052f44a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
> HttpSM.cc:6925
> #9  0x00000000005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
> HttpSM.cc:1559
> #10 0x000000000052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
> HttpSM.cc:6825
> #11 0x000000000052ea8a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
> HttpSM.cc:7224
> #12 0x00000000005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
> HttpSM.cc:1559
> #13 0x000000000052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
> HttpSM.cc:6825
> #14 0x00000000005284fa in HttpSM::handle_api_return (this=0x2b514cc749d0) at 
> HttpSM.cc:1559
> #15 0x000000000052ea9a in HttpSM::set_next_state (this=0x2b514cc749d0) at 
> HttpSM.cc:6825
> #16 0x000000000052fef6 in HttpSM::state_read_client_request_header 
> (this=0x2b514cc749d0, event=100, data=<value optimized out>) at HttpSM.cc:821
> #17 0x000000000052a5b8 in HttpSM::main_handler (this=0x2b514cc749d0, 
> event=100, data=0x2b514802ca08) at HttpSM.cc:2539
> #18 0x000000000068793b in handleEvent (event=<value optimized out>, 
> vc=0x2b514802c900) at ../../iocore/eventsystem/I_Continuation.h:146
> #19 read_signal_and_update (event=<value optimized out>, vc=0x2b514802c900) 
> at UnixNetVConnection.cc:138
> #20 0x0000000000689ec4 in read_from_net (nh=0x2b50e2e17c10, 
> vc=0x2b514802c900, thread=<value optimized out>) at UnixNetVConnection.cc:320
> #21 0x000000000067fb12 in NetHandler::mainNetEvent (this=0x2b50e2e17c10, 
> event=<value optimized out>, e=<value optimized out>) at UnixNet.cc:384
> #22 0x00000000006ac8cf in handleEvent (this=0x2b50e2e14010, e=0x1a9ef30, 
> calling_code=5) at I_Continuation.h:146
> #23 EThread::process_event (this=0x2b50e2e14010, e=0x1a9ef30, calling_code=5) 
> at UnixEThread.cc:145
> #24 0x00000000006ad273 in EThread::execute (this=0x2b50e2e14010) at 
> UnixEThread.cc:269
> #25 0x00000000006abc2a in spawn_thread_internal (a=0x198f820) at Thread.cc:88
> #26 0x00002b50e026b9d1 in start_thread () from /lib64/libpthread.so.0
> #27 0x000000381b2e8b6d in clone () from /lib64/libc.so.6
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to