zheng-hao / ga-bitbot

Automatically exported from code.google.com/p/ga-bitbot
GNU General Public License v3.0
0 stars 0 forks source link

pickle file corruption (bcbookie records) #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run the ga-bitbot system
2. wait until OS failure (ubuntu 11.10)
3. corrupt pickle data gets written to disk 

- This issue is repeatable.

What is the expected output? What do you see instead?
I would expect the OS not to write bad data to disk.

After running the system for a few days the operating system reports the disk 
is full (it's not) and the pickle module will write invalid data to disk. This 
destroys all bcbookie records resulting in lost trade transaction data.

Need to implement an automated backup strategy to safeguard for this condition.

Original issue reported on code.google.com by brian.mo...@gmail.com on 15 Jan 2012 at 1:16

GoogleCodeExporter commented 8 years ago
Issue was OS related (Ubuntu). The .xsession-errors file grew over 30GB filling 
up the hard drive which caused write corruption failures in bcbookie.

.xsession-errors now redirected to /dev/null

Original comment by brian.mo...@gmail.com on 24 Jan 2012 at 11:49