/srv/irclogs.ubuntu.com/2013/11/15/#upstart.txt

=== Md_ is now known as Md
adrien_owwhi, is there a tool that can give me a pretty graph of when a service starts, stops, ... ?15:04
adrien_owwI'm doing boot-speed optimization on a fairly big system and bootchart shows I have two big bottlenecks which are almost certainly due to service delays (like "sleep 30"...)15:04
adrien_owwbut I can't tell which ones15:05
adrien_owwotherwise I'll write my own :) 15:07
jodhadrien_oww: not currently - the best option atm is to create a job that calls 'upstart-monitor --no-gui' as that will log all events (including job starts/stops) along with high-res timestamps. Then just munge the output using gnuplot/blah.15:19
jodhadrien_oww: you could just write your own script though since upstart-monitor is simply listening for the EventEmitted D-Bus signals.15:21
adrien_owwok, thanks :) 15:38
joelteon"start mysql" is producing no output for me and exiting 0. it also doesn't start mysql15:38
Curly060Hi! I am using upstart to run nginx as webserver. This works fine until I want to use nginx's possibility to update the binary on the fly. This is done by sending a signal to nginx. In that case nginx spawns a 2nd process and phases out the old one. It also updates the PID file. However, upstart is now confused after this. status shows, that nginx stll runs, but it shows no pid. stop says, the job was stopped, but nginx still ru17:33
Curly060ns. start claims everyting is ok, except it shows no pid. reload says "unknown instance".17:33
Curly060using the old start-stop-daemon functionality the whole procedure is not a problem. But my guess is that upstart works entirely different, monitoring the provess directly and the above procedure "steals" the process which upstart monitors. maybe upstart even tries to relaunch the process, but fails, because nginx is running still.17:35
Curly060So is there any way to use upstart and the described change-binary-on-the-fly method with upstart?17:35
tty-1hi21:05
tty-1anyone online? :)21:05

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!