Project

General

Profile

Actions

Bug #2121

closed

nfd-status-http-server subprocesses hang with data size over 65536

Added by John DeHart over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Urgent
Category:
Tools
Target version:
Start date:
11/03/2014
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

nfd-status-http-server.py spawns subprocesses of 'nfd-status -x' to gather
nfd status information. If the size of the data returned from such an
nfd-status is over 65536 the subprocess hangs. I believe this is
a limitation in the subprocess.PIPE mechanism.

There is some discussion of this issue here:
http://thraxil.org/users/anders/posts/2008/03/13/Subprocess-Hanging-PIPE-is-your-enemy/

This is a rather serious problem as of our Testbed nodes are now limited
in the number of links they can have. For example when I tried to add the WASEDA
node I wanted to add a link from WASEDA to ARIZONA but was unable to because
the ARIZONA node would eventually hang with all the stuck subprocesses caused
by the testbed status page trying to monitor its status.

Actions

Also available in: Atom PDF