-
-
Save nkvoll/4925a7eaeece552ccff5 to your computer and use it in GitHub Desktop.
xapian-replicate hanging on read on a tcp socket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ps aux | grep xapian | |
user 1074 0.1 0.3 26532 2112 ? S May16 4:54 xapian-replicate -v -h [...] | |
# strace -p 1074 | |
Process 1074 attached - interrupt to quit | |
read(3, | |
... | |
# gdb --pid 1074 | |
GNU gdb (GDB) 7.2-ubuntu | |
Attaching to process 1074 | |
Reading symbols from /usr/local/bin/xapian-replicate...done. | |
Reading symbols from /usr/local/lib/libxapian.so.22...done. | |
Loaded symbols for /usr/local/lib/libxapian.so.22 | |
0x00007f04914db710 in read () from /lib/libc.so.6 | |
(gdb) bt | |
#0 0x00007f04914db710 in read () from /lib/libc.so.6 | |
#1 0x00007f04924b8135 in read (this=0x15472f0, min_len=61, end_time=<value optimized out>) at /usr/include/bits/unistd.h:45 | |
#2 RemoteConnection::read_at_least (this=0x15472f0, min_len=61, end_time=<value optimized out>) at net/remoteconnection.cc:130 | |
#3 0x00007f04924b9b7c in RemoteConnection::get_message_chunk (this=0x3, result=..., at_least=140735456284160, end_time=0) at net/remoteconnection.cc:572 | |
#4 0x00007f0492419c4e in ChertDatabaseReplicator::process_changeset_chunk_blocks (this=<value optimized out>, tablename=<value optimized out>, buf=..., conn=..., end_time=<value optimized out>, changes_fd=-1) at backends/chert/chert_databasereplicator.cc:205 | |
#5 0x00007f049241af60 in ChertDatabaseReplicator::apply_changeset_from_conn (this=<value optimized out>, conn=..., end_time=<value optimized out>, valid=<value optimized out>) at backends/chert/chert_databasereplicator.cc:353 | |
#6 0x00007f04923b6596 in Xapian::DatabaseReplica::Internal::apply_next_changeset (this=0x1543f50, info=0x7fff86e12790, reader_close_time=30) at api/replication.cc:583 | |
#7 0x00007f04923b6d7b in Xapian::DatabaseReplica::apply_next_changeset (this=<value optimized out>, info=0x7fff86e10e00, reader_close_time=4096) at api/replication.cc:280 | |
#8 0x00007f04924c2e43 in ReplicateTcpClient::update_from_master (this=<value optimized out>, path=<value optimized out>, masterdb=..., info=..., reader_close_time=<value optimized out>) at net/replicatetcpclient.cc:60 | |
#9 0x0000000000401a93 in main (argc=<value optimized out>, argv=0x7fff86e12b08) at bin/xapian-replicate.cc:146 | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment