--* You received this message because you are subscribed to the Google Groups "Capistrano" group.* To post to this group, send email to capis...@googlegroups.com* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
Wow five minutes? That's insane.
> That's the best I can think of; debugging-wise, I'd be tempted to open
> another ssh session on the hosts that are playing up, and see what's
> happening, watch the list of logged in users, see if Cap is logging out,
> watch the sshd log for HUPs, and watch the process tree, and see what's
> going on with your assets.
>
Well I looked at the log file and it really seems like the
pre-compilation done. That's the confusing thing for me. When I
compare the log output from my asset compilation and the servers it
looks the same but somehow the asset:precompile is not finished yet.
--
If the server is Linux-based, `strace` is great for figuring out
what's going on with a "stuck" process.
$ strace -e file rake assets:precompile
... runs `rake assets:precompile`, printing out any time a file is
opened or checked
$ strace -e file,network,process rake assets:precompile
... the same as above, but also printing network process and subcommands run
$ strace -e file,process -f rake assets:precompile
... the -f parameter follows forks -- in case it's not `rake` but a
subshell that you're interested in
$ strace -p 1234
... connect to pid 1234 and start tracing
Solaris has `truss`, which provides similar capabilities but it uses
different parameters.
I hope that gives you a clue to what's going on!
--
Rob Hunter (@rjhunter)
Just Some Guy, ThoughtWorks
--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/7299ee36-d442-46d3-8ce8-1dfa3c253a62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.