You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ multipass suspend graceful-cobia
$ time multipass suspend graceful-cobia
real 0m30.041s
user 0m0.024s
sys 0m0.016s
An attached gdb shows the following stack:
#0 0x00007f481c10874d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007f481689538c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f481689549c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f481cf393ff in QEventDispatcherGlib::processEvents (this=0x272b010, flags=...)
at kernel/qeventdispatcher_glib.cpp:422
#4 0x00007f481cee3c3a in QEventLoop::exec (this=0x7ffe4c63a9f0, flags=...)
at kernel/qeventloop.cpp:214
#5 0x00000000009e638c in multipass::Daemon::suspend(grpc::ServerContext*, multipass::SuspendRequest const*, grpc::ServerWriter<multipass::SuspendReply>*) ()
[...]
The thread serving the request waits here until timeout. Ideally it would reply back ASAP after realizing the instance was already suspended.
The text was updated successfully, but these errors were encountered:
ricab
changed the title
Daemon hangs for 30s when suspending an suspended instance
Daemon hangs for 30s when suspending a suspended instance
Jan 15, 2019
561: Fix daemon hangs when suspending a suspended instance. r=townsend2010 a=smokfyz
Fix#559 and also hangs when suspending a stopped instance.
Co-authored-by: Ivan Sharapenkov <[email protected]>
Perhaps a minor issue, but:
An attached gdb shows the following stack:
The thread serving the request waits here until timeout. Ideally it would reply back ASAP after realizing the instance was already suspended.
The text was updated successfully, but these errors were encountered: