Supervisor / supervisor

Supervisor process control system for Unix (supervisord)
http://supervisord.org
Other
8.45k stars 1.24k forks source link

Can't quit fg (foreground) mode on some occasions #236

Open adampetrovic opened 11 years ago

adampetrovic commented 11 years ago

After using fg , a prompt indicates Ctrl+C will exit foreground mode, but pressing ctrl+c does nothing on most occasions. It appears to be time-dependent, as I can usually Ctrl+C out of the fg mode immediately after entering, but if I leave it running for a little while, nothing happens on Ctrl+C. I can confirm this happens on multiple machines, all of which are Ubuntu Server 12.04. See below:

supervisor> fg graph-consumer:consumer-1
 consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:48:42,463 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:48:46,163 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:48:57,891 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:49:08,472 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:49:13,182 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:49:20,360 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:49:22,956 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
Exiting foreground
supervisor> fg graph-consumer:consumer-1
 consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:48:57,891 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:49:08,472 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:49:13,182 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:49:20,360 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:49:22,956 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:49:29,657 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (0 secs)
2013-05-10 02:49:39,012 - GraphAPIConsumer - INFO - Successfully consumed 'project.bid' message. Executing CallbackHandler.bid (1 secs)

^C^C^C
ryross commented 10 years ago

This happens to me as well.

mnaberez commented 10 years ago

327 has strace output for this issue.

pbassut commented 9 years ago

+1 It does exit after 50 seconds, though.

fentensoft commented 6 years ago

Any solution on this issue? It stayed open for almost 5 years.

ihipop commented 6 years ago

any update on this issue ?

ghost commented 4 years ago

yeah ^

StoneMoe commented 4 years ago

Welcome to 2020 :) I use Ctrl-Z as a workaround