rejetto forum

"addresses ever connected" store in hfs.ini

yhm_7 · 9 · 6105

0 Members and 1 Guest are viewing this topic.

Offline yhm_7

  • Occasional poster
  • *
    • Posts: 55
    • View Profile
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.


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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?


Offline yhm_7

  • Occasional poster
  • *
    • Posts: 55
    • View Profile
  :)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.
« Last Edit: August 21, 2007, 10:21:10 PM by yhm_7 »


Offline yhm_7

  • Occasional poster
  • *
    • Posts: 55
    • View Profile
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.

« Last Edit: September 26, 2007, 06:30:59 PM by yhm_7 »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
you didn't describe a problem, but a situation. what's the problem?


Offline Foggy

  • Tireless poster
  • ****
    • Posts: 806
    • View Profile
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?



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
One of the quickest ways to break something is to fix it when it ain't broken.