[ruby-core:89161] Re: [Ruby trunk Bug#15130] open-uri hangs on cygwin

From: Eric Wong <normalperson@...>
Date: 2018-09-25 09:29:08 UTC
List: ruby-core #89161
[email protected] wrote:
> When I run this, I get all the expected output, as follows:
> ```
> Before sleeping
> After sleeping, before method call
> Before sleeping in method
> After sleeping in method
> ```
> but this script, rather than stopping after that (2 seconds overall), just hangs (for minutes), until I use Ctrl-C.

If you don't hit Ctrl-C, what is the CPU usage of that script?
(from top(1) or similar tools)

Also, that would be a good time to attach "strace -f -p <PID>"
and see what is going on.  Thanks

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next