rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: yhm_7 on August 21, 2007, 10:49:29 AM
-
After hfs running about one week,The amount of "addresses ever connected" will be very large,maybe more than 2000.
This make hfs.ini too fat. I Think that the ip addresses stored at a single txt file will be fine.
-
I assume you get ALOT of hits on your HFS :P i have 398 addresses ever connected... Its a good point...By fat, how fat do you mean? i think a few megabytes is ok for the list... if it ever gets that large :P but if this is the case, an external text file might be best.
-
i must admin i didn't consider this fact that much. but i will do now.
the list should be 50kb for few thousands addresses.
can you explain better why is this a problem? is it slowing slowing HFS down at start?
-
:)Up till now,I havn't thought this is a problem.
I just think that the use of hfs.ini is store the config. The function to store ip addresses isn't suitable for ini file.
So I want those ip addresses to store in a single file.
Or add a option to disable this fountion(show,count,store ip address).
Sometimes I needn't it because PC has few memory, cpu and I prefer to have a lite hfs.
-
file hits is store in .vfs
virture file system is not often changed. Generally hfs just read it at startup.
file hits just like a log, it changed frequently as user's http request.
I think they are two kinds things. one is still and one is frequently changed.one is important and one is temporary.
And if adding many html page with picture, sizeof file hits will become big,because that's not only a number of hits,it include file path.
Mayby 100 pages with 300 pics,they will make 400 lines in .VFS.
So I still Suggest adding a option to disable file hits,or separate vfs and file hits into two files.
-
you didn't describe a problem, but a situation. what's the problem?
-
I understand what you mean but I do not see any problem with that because after all the .vfs file is intended to store information about the Virtual File System.
If you are unhappy with it taking up too much space in the vfs then maybe once a week you clear the file hits?
-
Not a problem,just a suggestion.
-
One of the quickest ways to break something is to fix it when it ain't broken.