HM4.10: Folder/File size reports incorrect size

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
jrweiss
Posts: 39
Joined: Sat Mar 01, 2003 6:00 pm
Contact:

HM4.10: Folder/File size reports incorrect size

Post by jrweiss »

Hi,

Host Monitor: 4.10
Agent: Remote Agent on Exchange Server (Windows 2000 SP3)
OS: Windwos XP Prof. SP1
Test: Folder/File Size
Folder/File Parameter: E:\E2k-DB\MDBDATA\priv1.*

Problem: The above test reports since a couple of days a constant value of 16384 MB. This happened after the two files that the test monitors (priv1.edb and priv1.stm) grew bigger than 16384 MB. There actual size is currently 16731 MB !

Guess this is a bug in HM 4.10?

Thanx and Regards.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Cannot find any error and cannot create 17Gb file because do not have 17Gb free space on any partition :-(
Could you start test program (available at www.ks-soft.net/download/dirtest.exe) using command line like "dirtest.exe E:\E2k-DB\MDBDATA\priv1.* >testresult.txt" and send result (testresult.txt) back to us (support@ks-soft.net)?
If it will not help, we will move data to another system and free some disk space.

Regards
Alex
jrweiss
Posts: 39
Joined: Sat Mar 01, 2003 6:00 pm
Contact:

Results from dirtest.exe

Post by jrweiss »

File : priv1.edb
Size : 16065634304
LowSize : 3180732416
HighSize: 3

File : priv1.stm
Size : 1478500352
LowSize : 1478500352
HighSize: 0
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

>Problem: The above test reports since a couple of days a constant value of 16384 MB

How its possible?? HostMonitor does not use 'Mb' units when size of the folder greater than 9 Gb. HostMonitor uses 'Gb' units and displays '16 Gb'. 16731 MB == 16.3392 Gb, HostMonitor rounds it to 16. Everything correct.
Or probably you see this number not in HostMonitor's main window? Where do you see 16731?

Regards
Alex
jrweiss
Posts: 39
Joined: Sat Mar 01, 2003 6:00 pm
Contact:

Post by jrweiss »

>How its possible?? HostMonitor does not use 'Mb' units when size of the >folder greater than 9 Gb. HostMonitor uses 'Gb' units and displays '16 >Gb'. 16731 MB == 16.3392 Gb, HostMonitor rounds it to 16. Everything >correct.
>Or probably you see this number not in HostMonitor's main window? >Where do you see 16731?

That is correct. HM reports GB units (16 actually) but I store the results in a SQL database and there arrives only 16384. I guess that comes from the rounding operation. The 16731 I got from the file system not from HM.

It is actually a pitty that it reports in GB since the roundingcreates a problem when you monitor Exchange Standard Edition which has a storage limit of 16 GB. May be you can add an option in the test that one can choose the reporting unit?

Thanks for all your help. HM is a great product and your support is fantastic.

Regards, J.
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

Your problem is the following: When Exchange starts, it locks all access to the database files, including the OS (well not all, but most of it). When Exchange expands the database, this will be done correctly. However, the OS wil stil report the size of the database as it was *before* the expansion.

The OS wil report the correct size after Exchange has been stopped and started.

The microsoft solution for this problem??: Measure the 'free' disk space :(
jrweiss
Posts: 39
Joined: Sat Mar 01, 2003 6:00 pm
Contact:

Post by jrweiss »

Sorry, Marcus, but I believe that you not understand!
I do NOT have a problem measuring the correct size of the Exchange files from within the OS. The problem lies with HM. It reports in GB and rounds, instead of reporting in MB.

Anyway, thanks for your comments.
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

But the above still stands. You wil not see the database grow when it actually does!
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ok, in new version (I hope will be available on Monday) implemented new "undocumented" option: SizeUnitThreshold.
You will be able to change threshould for units (Kb->Mb->Gb). E.g. default value for this parameter 9, it means HostMonitor changes unit to Mb when size > 9Mb, changes size to Gb when size > 9Gb, etc.
If you add line "SizeUnitThreshold=99" into" [Misc]" section of "hostmon.ini" file and restart HostMonitor, monitor will change units after 99 Mb, 99 Gb, etc. So, you will see '16731 Mb' instead of '16 Gb'.

Regards
Alex

PS Please, next time describe where do you see wrong value/counter/message, we spent whole day looking in wrong place :roll:
Post Reply