Archives Dec. 5, 2013

os.write() can hang, apparently

Wound up spending the whole afternoon tracking down an "only happens in production" bug where a sub-process would just hang, but only when big chunks of data were involved. Seems that os.write() was trying to write more than the target pipe could handle, so was winding up blocking. To tired to actually confirm that tonight, but ...

Continue reading

Previous day

Dec. 1, 2013

Next day

Dec. 13, 2013