google-code-export / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
0 stars 0 forks source link

Very large disk stores result in negative capacity output in mgr:storedir #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When adding in 11x 16gig and 11x 160gig storedirs, the total size (1936gig) 
results in the correct 
"capacity" calculation in mgr:storedir.

When adding in 11 x 32gig and 11 x 160gig storedirs, the total size (2112gig) 
results in this:

Maximum Swap Size      : 2214592512 KB
Current Store Swap Size: 1827004692 KB
Current Capacity       : -87% used, -18% free

This may be cosmetic or may be bad news. Please investigate and fix.

Original issue reported on code.google.com by adrian.c...@gmail.com on 8 Jul 2009 at 8:07

GoogleCodeExporter commented 9 years ago
It is at least cosmetic for the current capacity calculation, but I'm curious 
now how many places use percent() on 
> 32 bit integers..

Original comment by adrian.c...@gmail.com on 8 Jul 2009 at 10:33

GoogleCodeExporter commented 9 years ago
Looks like its all just for statistics. I've committed a fix to LUSCA_HEAD.

Original comment by adrian.c...@gmail.com on 9 Jul 2009 at 1:44

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by adrian.c...@gmail.com on 16 Jul 2009 at 2:12