On Jan 16, 2012, at 8:31 AM, Peter Cock wrote: > On Mon, Jan 16, 2012 at 1:20 PM, graham etherington (TSL) > <[email protected]> wrote: >> Hi Nate, >> We are getting quite large discrepancies between 'Size on disk' and >> 'Usage' numbers, so I've run the scripts/set_user_disk_usage.py script. >> When I run it, some of the 'old usage' numbers are negative numbers, e.g. >> User1 old usage: -226417886261, new usage: 139894688577 >> User2 old usage: 263698720473, new usage: 68974834617 >> User3 old usage: 397108490587, new usage: 406950046043 >> User4 old usage: -57441684074, new usage: 7536071906 >> >> This seems a little strange (how can a user have a 'minus' usage?). Is >> there an explanation for this? > > Negative numbers here are probably a sign of integer overflow > (something too large for a signed 32 bit integer would be my > guess).
Possible, although I would guess that set_user_disk_usage.py was never run after the disk accounting was added (harmless, since it can be run at any time). Users who already had a bunch of data then started at '0', deleted a bunch of data, and end up with negative usage. --nate > > Peter ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
