Comment 11 for bug 530541

Revision history for this message
Roman Yepishev (rye) wrote :

Hello,

In case you still experience this issue, could you please check what does the following command return for you?

$ wc -l /etc/hosts

The more lines/items this file has, the slower is startup. I expect that there are other factors that might slow couchdb startup, though.

Regarding duanedesign:
For some reason reading /etc/hosts took a lot of time. It reads and parses every line, thus it takes more time. We could increase the timeout for starting up couchdb, BUT the couchdb gets killed by its own heartbeat system:
 heart_beat_kill_pid = 4549
 heart_beat_timeout = 11
 heart: Wed Mar 24 17:31:07 2010: heart-beat time-out.
 Killed
heart: Wed Mar 24 17:31:08 2010: Executed "/usr/bin/couchdb -k". Terminating.

Now we have two questions, why it worked earlier - duanedesign started having the issue after upgrade to Lucid and 2 - how we can ask heartbeat to stop killing busy couchdbs.