If you run your process in screen/tmux it will be attached to active
TTY, it will not receive HUP signal.
Also if there would be important (any?) output from process you will see
it in tmux/screen.
So either nohup it or run it in session that doesn't terminate after you
exit.
HTH,
Hubert.
larry google groups wrote:
I would be happy to run it in screen but I don't understand what the
advantage is. I can redirect the output to a log, without using
screen, and I can automate restarts with something like Puppet or
Supervisor. What do I need screen for?
On Tuesday, October 23, 2012 7:37:03 AM UTC-4, Hubert Iwaniuk wrote:
Not sure if that is a case but could your run your software in
some long running shell like tmux or screen.
You redirected all standard file descriptors, so it should not be
a problem, but it is worth a try.
HTH,
Hubert.
AtKaaZ wrote:
You could save the std out and err to some .log and can inspect
it later, I'd expect you'd see some exceptions if any were thrown.
who-is-logged-in-1.0.1-standalone.jar 40000 </dev/null
>stdouterr.log &
On Tue, Oct 23, 2012 at 12:12 AM, Michael Klishin
<michael....@gmail.com <javascript:>> wrote:
2012/10/23 larry google groups <lawrenc...@gmail.com
<javascript:>>
If memory is not the problem, what other problems should
I look for?
Unhandled exceptions, although in the case of a Web app,
Jetty and similar should cover last
resort exception handling that will prevent main JVM thread
from terminating.
--
MK
http://github.com/michaelklishin
<http://github.com/michaelklishin>
http://twitter.com/michaelklishin
<http://twitter.com/michaelklishin>
--
You received this message because you are subscribed to the
Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
<javascript:>
Note that posts from new members are moderated - please be
patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com <javascript:>
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
<http://groups.google.com/group/clojure?hl=en>
--
I may be wrong or incomplete.
Please express any corrections / additions,
they are encouraged and appreciated.
At least one entity is bound to be transformed if you do ;)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
<javascript:>
Note that posts from new members are moderated - please be
patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com <javascript:>
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
<http://groups.google.com/group/clojure?hl=en>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient
with your first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en