public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
* I/O timeout in nncp-daemon
@ 2021-01-21 23:55 John Goerzen
  2021-01-23  9:28 ` Sergey Matveev
  0 siblings, 1 reply; 6+ messages in thread
From: John Goerzen @ 2021-01-21 23:55 UTC (permalink / raw)
  To: nncp-devel

Hi,

I've had a bit of a recurring problem.  Lines like this from 
nncp-daemon:

Jan 21 17:44:31 nncp nncp-daemon[867]: E 
2021-01-21T23:44:31.001040425Z [sp-xmit err="write tcp [elided]: 
i/o timeout" nice="255"...

The conditions that cause this tend to be:

1) The remote nncp-caller just received a 4GB packet and is now 
checking it, and nncp-daemon still has a bunch more packets for it

2) The remote nncp-call just started up and it waiting for a drive 
to spin up (apparently it makes the TCP connection before it does 
whatever it is that makes the drive spin up)

3) Basically situations where nncp-call(er) are a bit slow for 
some reason

This timeout is much lower than any of the deadlines set in the 
configuration file, and appears to be a few seconds.

What I don't know is if this could happen in nncp-call(er) as 
well; in my case, the nncp-call(er) machine has its spool on a USB 
HDD and the nncp-daemon is on a raidz2 array with fast drives.

I looked, unsuccessfully, for this in the source code.

Would it be possible to make this configurable, or larger?

Thanks!

- John

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-28 15:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 23:55 I/O timeout in nncp-daemon John Goerzen
2021-01-23  9:28 ` Sergey Matveev
2021-01-27 22:48   ` John Goerzen
2021-01-28  7:40     ` Sergey Matveev
2021-01-28 15:03       ` John Goerzen
2021-01-28 15:25         ` Sergey Matveev