Out of curiosity, have you tried catching any and all errors as opposed to expecting to see an error message logged upon the system dying?
While searching for possible causes, I did come across this similar post <https://groups.google.com/forum/#!msg/clojure/xlbjGGk8qsY/m1fbElGT3PsJ> from a few years ago... not sure if it will help, but it may. On Friday, March 3, 2017 at 10:57:20 AM UTC-5, JokkeB wrote: > > I have an application which I run with "lein run". The main looks > something like this > > (defn -main [] > (log/info "start") > (log/info "channel returned" (async/<!! (start-server (socket-server 9121 > ) (websocket-server 9122)))) > (log/info "quit")) > > start-server returns a channel created with async/reduce which shouldn't > ever produce a value. I see the "start" logged, the application runs for a > day or two (not sure if the time is always the same) and then it closes > without any errors or without logging "channel returned" or "quit". > > If there is an error in my code and the program quits I should see the > "quit" message. If there is a memory leak or something I would assume I'd > get an error message. Has anyone experienced anything similar? > > Could the reason be running it with lein (I haven't tried a jar)? If so, > why? > > -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.