Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: bitcoinex on April 27, 2011, 05:51:00 PM



Title: bitcoind was shut down without any messages
Post by: bitcoinex on April 27, 2011, 05:51:00 PM
Hi!

Second time in 2 months my bitcoind was switched off without core dump or any messages.

Please recommend a way to find this bug?

"version" : 32002


Title: Re: bitcoind was shut down without any messages
Post by: nelisky on April 27, 2011, 05:54:39 PM
you mention no core dump, can you check
Code:
ulimit -c
before running bitcoind and on the same shell you are about to run it on?

I've found this was happening to me when using ssl, in a completely unpredictable way,  but the core was dumped on exit.


Title: Re: bitcoind was shut down without any messages
Post by: bitcoinex on April 27, 2011, 06:12:25 PM
you mention no core dump, can you check
Code:
ulimit -c
before running bitcoind and on the same shell you are about to run it on?

I've found this was happening to me when using ssl, in a completely unpredictable way,  but the core was dumped on exit.

$ ulimit -c
unlimited

I am use this settings for save my core dumps:

Code:
$ cat /etc/security/limits.d/coredump.conf 
* - core unlimited
$ cat /etc/sysctl.d/coredump_pattern.conf
kernel.core_pattern = /var/tmp/core_dumps/core.%e.%t.%u.%g.%p