Comment 1 for bug 1917157

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I can reproduce this. I quickly instrumented run-this-one to see why it takes time. The pgrep took 5.4ms, so avoiding the pgrep won't help. The lsof call took 1376ms, so that's where most of the delay is. There's also a "sleep 0.5" in there. The sleep together with the lsof account for most of the time.

Suggestions welcome.

I'm marking Importance: Low since I can't imagine a use case where this would cause a real practical impact to Ubuntu users. If you're affected more severely, please explain your use case.