[
https://issues.apache.org/jira/browse/COUCHDB-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15522617#comment-15522617
]
Adam Spiers commented on COUCHDB-1917:
--------------------------------------
Apologies! I misread the "ambiguous redirect" error and thought it was coming
from the line containing {{1>&-}} (which BTW makes no sense without preceding
it with {{exec}}), but in fact the problem is that I copied my fix into this
bug incorrectly; it should actually read
{code}
exec 1>/var/log/couchdb/daemon-stdout.log
exec 2>/var/log/couchdb/daemon-stderr.log
{code}
instead of these, which have a superfluous {{&}}:
{code}
exec 1>&/var/log/couchdb/daemon-stdout.log
exec 2>&/var/log/couchdb/daemon-stderr.log
{code}
You can see the real fix we used here:
https://build.opensuse.org/package/view_file/server:database/couchdb/couchdb-1.6.1-fix-restart.patch?rev=bd081d78379f6ef4ccf2ce96b0bf5aee
> Killed silently after "heart-beat time-out"
> -------------------------------------------
>
> Key: COUCHDB-1917
> URL: https://issues.apache.org/jira/browse/COUCHDB-1917
> Project: CouchDB
> Issue Type: Bug
> Reporter: Nathan Vander Wilt
>
> Recently CouchDB has been prone to random quiet deaths. There is nothing in
> the stdout or .log files, only in stderr is a mention made of "no activity
> for N seconds" followed by "Killed".
> ```
> heart_beat_kill_pid = 32575
> heart_beat_timeout = 11
> heart: Sat Oct 5 02:59:16 2013: heart-beat time-out, no activity for 12
> seconds
> Killed
> heart: Sat Oct 5 02:59:18 2013: Executed "/home/ubuntu/bc2/build/bin/couchdb
> -k" -> 256. Terminating.
> heart_beat_kill_pid = 13781
> heart_beat_timeout = 11
> heart: Tue Oct 22 19:50:40 2013: heart-beat time-out, no activity for 15
> seconds
> Killed
> heart: Tue Oct 22 19:51:11 2013: Executed "/home/ubuntu/bc2/build/bin/couchdb
> -k" -> 256. Terminating.
> heart_beat_kill_pid = 15292
> heart_beat_timeout = 11
> heart: Tue Oct 29 12:33:17 2013: heart-beat time-out, no activity for 14
> seconds
> Killed
> heart: Tue Oct 29 12:33:18 2013: Executed "/home/ubuntu/bc2/build/bin/couchdb
> -k" -> 256. Terminating.
> heart_beat_kill_pid = 29158
> heart_beat_timeout = 11
> heart: Tue Oct 29 19:51:27 2013: heart-beat time-out, no activity for 18
> seconds
> Killed
> heart: Tue Oct 29 19:51:31 2013: Executed "/home/ubuntu/bc2/build/bin/couchdb
> -k" -> 256. Terminating.
> ```
> I'm not the only one who's seen this, e.g.
> http://mail-archives.apache.org/mod_mbox/couchdb-user/201309.mbox/%[email protected]%3E
> My particular configuration is:
> Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-41-virtual x86_64)
> Erlang R16B01
> CouchDB 1.4.0
> [build-couchdb at 8ddd81c22179667c77146b2ec96d543fb95c804]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)