Bug#883087: consolation: very slow restart

2018-01-20 Thread Yuri D'Elia
On Sat, Dec 30 2017, Bill Allombert wrote: > I have uploaded consolation_0.0.6~pre1 with the --no-daemon option. > Could you write a patch to fix debian/init.d ? > I could do it but then I am not in a good position to test the result. Sorry for the delay. Attaching: consolation.path: diff for

Bug#883087: consolation: very slow restart

2017-12-31 Thread Bill Allombert
On Sat, Dec 30, 2017 at 12:12:20PM +0100, Bill Allombert wrote: > On Fri, Dec 29, 2017 at 10:44:10PM +0100, Yuri D'Elia wrote: > > On Fri, Dec 29 2017, Bill Allombert wrote: > > >> It would be nice to have a non-forking mode though. > > > > > > So you would like a command line option that prevent

Bug#883087: consolation: very slow restart

2017-12-30 Thread Bill Allombert
On Fri, Dec 29, 2017 at 10:44:10PM +0100, Yuri D'Elia wrote: > On Fri, Dec 29 2017, Bill Allombert wrote: > >> It would be nice to have a non-forking mode though. > > > > So you would like a command line option that prevent forking ? > > What should be the name ? --no-daemon ? > > I've seen and

Bug#883087: consolation: very slow restart

2017-12-29 Thread Yuri D'Elia
On Fri, Dec 29 2017, Bill Allombert wrote: >> It would be nice to have a non-forking mode though. > > So you would like a command line option that prevent forking ? > What should be the name ? --no-daemon ? I've seen and like "-f" for "foreground" personally, but --no-daemon is just as good: your

Bug#883087: consolation: very slow restart

2017-12-29 Thread Bill Allombert
On Wed, Dec 27, 2017 at 01:43:29PM +0100, Yuri D'Elia wrote: > Package: consolation > Version: 0.0.5-1 > Followup-For: Bug #883087 > > I noticed my system took too long to shutdown and tracked it down to > consolation (which is awesome btw!). > > As mentioned by Jakub, consolation forks without

Bug#883087: consolation: very slow restart

2017-12-27 Thread Yuri D'Elia
Package: consolation Version: 0.0.5-1 Followup-For: Bug #883087 I noticed my system took too long to shutdown and tracked it down to consolation (which is awesome btw!). As mentioned by Jakub, consolation forks without writing a pid file, so start-stop-daemon just timeouts. I wrote a simple

Bug#883087: consolation: very slow restart

2017-11-29 Thread Jakub Wilk
* Bill Allombert , 2017-11-29, 17:43: # time /etc/init.d/consolation stop real0m30.028s user0m0.336s sys 0m1.100s Does consolation works correctly otherwise ? Yes. I took a look at the init script, and it does this: start-stop-daemon --stop --quiet

Bug#883087: consolation: very slow restart

2017-11-29 Thread Bill Allombert
On Wed, Nov 29, 2017 at 04:09:32PM +0100, Jakub Wilk wrote: > * Bill Allombert , 2017-11-29, 16:03: > >What happens if you do > >time /etc/init.d/consolation stop > >time /etc/init.d/consolation start > > # time /etc/init.d/consolation stop > > real 0m30.028s > user

Bug#883087: consolation: very slow restart

2017-11-29 Thread Bill Allombert
On Wed, Nov 29, 2017 at 03:48:17PM +0100, Jakub Wilk wrote: > Package: consolation > Version: 0.0.5-1 > > It takes over 30 seconds to restart consolation: > ># time /etc/init.d/consolation restart >[ ok ] Restarting consolation: consolation. What happens if you do time

Bug#883087: consolation: very slow restart

2017-11-29 Thread Jakub Wilk
* Bill Allombert , 2017-11-29, 16:03: What happens if you do time /etc/init.d/consolation stop time /etc/init.d/consolation start # time /etc/init.d/consolation stop real0m30.028s user0m0.336s sys 0m1.100s # time /etc/init.d/consolation start real

Bug#883087: consolation: very slow restart

2017-11-29 Thread Jakub Wilk
Package: consolation Version: 0.0.5-1 It takes over 30 seconds to restart consolation: # time /etc/init.d/consolation restart [ ok ] Restarting consolation: consolation. real0m30.054s user0m0.290s sys 0m0.942s -- System Information: Architecture: i386 Versions of