Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: jaychristopher spendbitcoins.com on May 26, 2012, 07:52:43 AM



Title: Crashing very often
Post by: jaychristopher spendbitcoins.com on May 26, 2012, 07:52:43 AM
I have bitcoind running on my ubuntu web host and it crashes every half hour or so. I'm not sure what is causing it but I just found an error that shows in SSH when it occurs:

*****************
EXCEPTION: N5boost21thread_resourc_errorR
boost::thread_resource_error
bitcoin in ThreadRPCServer()

terminate called after throwing an instance of 'boost::thread_resource_error'
 what():   boost:thread_resource_error                /path/to/bitcoind


Any ideas why this would happen?


Title: Re: Crashing very often
Post by: jaychristopher spendbitcoins.com on May 26, 2012, 07:56:16 AM
I just noticed also that the CPU is at 92% on the bitcoind process


Title: Re: Crashing very often
Post by: Pieter Wuille on May 26, 2012, 09:05:55 AM
Which version of the source, and what kind of RPC commands are you sending?


Title: Re: Crashing very often
Post by: jaychristopher spendbitcoins.com on May 26, 2012, 05:27:01 PM
I didn't write that name, the site admin changed it as per request and typo'd..

its 0.6.2 and mostly getting addresses, sending coins to an address and getting the balance.


Title: Re: Crashing very often
Post by: jaychristopher spendbitcoins.com on May 26, 2012, 07:14:23 PM
All commands I use:

getaccountaddress
getbalance
sendtoaddress
listrecievedbyaddress


Title: Re: Crashing very often
Post by: jaychristopher spendbitcoins.com on May 26, 2012, 09:11:01 PM
It looks like I fixed it. I had a cron job looking up all of the 0 confirmation orders every minute, and it just taxed the system too hard.
Thanks


Title: Re: Crashing very often
Post by: fffeee on June 10, 2012, 06:09:28 PM
I have the same problem.. are there other with this? What could also cause this error?


Title: Re: Crashing very often
Post by: Nachtwind on June 10, 2012, 06:45:47 PM
i suppose both of you run on low end VPS. Had the same issue on Virtualminer at that time.
Try to trim MaxConnection and - all Linux guys, please turn head away - try to run Bitcoind as root.. if it doesnt crash anymore you will most likely need to increase ram sometime.


Title: Re: Crashing very often
Post by: Jeremy West spendbitcoins.com on June 12, 2012, 09:15:57 PM
I didn't write that name, the site admin changed it as per request and typo'd..

Just confirming, jaychristopher is indeed on the spendbitcoins team. :)