I can not claim if this is idiomatic or not, but the attached patch allows Andrew Pollock to run for me with dash.
Past about 10 concurrent Xvfbs I get several messages along the lines of:
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":658.0"
after 102 requests (90 known processed) with 0 events remaining.
But they do not appear to indicate a problem; a script to take 100 screenshots of xclock in separate Xvfbs produced 100 valid screenshots despite several messages like the one above.
I can not claim if this is idiomatic or not, but the attached patch allows Andrew Pollock to run for me with dash.
Past about 10 concurrent Xvfbs I get several messages along the lines of:
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":658.0"
after 102 requests (90 known processed) with 0 events remaining.
But they do not appear to indicate a problem; a script to take 100 screenshots of xclock in separate Xvfbs produced 100 valid screenshots despite several messages like the one above.