[Xapian-tickets] [Xapian] #546: xapian-replicate reads from a socket without using timeouts
Xapian
nobody at xapian.org
Thu May 19 13:58:27 BST 2011
#546: xapian-replicate reads from a socket without using timeouts
--------------------+-------------------------------------------------------
Reporter: nkvoll | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Other | Version:
Severity: normal | Keywords:
Blockedby: | Platform: All
Blocking: |
--------------------+-------------------------------------------------------
Comment(by nkvoll):
As per rboultons request, I tried setting the end_time in
apply_changeset_from_conn to RealTime::now() + 1.0, and 1.0, both of which
had no effect.
(In order to see if the timeout worked, I started the replication, then
told iptables to block the incoming data:
{{{
iptables -I INPUT -m tcp -p tcp -j DROP --dport [port-number-from-lsof-i]
}}}
after which strace and gdb showed the process in a similar state. Opening
the port in iptables again did not change the replication client state,
which continued being stuck in the read.
--
Ticket URL: <http://trac.xapian.org/ticket/546#comment:1>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list