rejetto forum
May 24, 2012, 09:29:59 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: "addresses ever connected" store in hfs.ini  (Read 2481 times)
0 Members and 1 Guest are viewing this topic.
yhm_7
Experienced poster
***
Offline Offline

Posts: 55



View Profile
« on: August 21, 2007, 05: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.
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #1 on: August 21, 2007, 05:56:06 AM »

I assume you get ALOT of hits on your HFS Tongue 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 Tongue but if this is the case, an external text file might be best.
Logged

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #2 on: August 21, 2007, 06:00:52 AM »

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?
Logged
yhm_7
Experienced poster
***
Offline Offline

Posts: 55



View Profile
« Reply #3 on: August 21, 2007, 10:55:56 AM »

  :)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, 05:21:10 PM by yhm_7 » Logged
yhm_7
Experienced poster
***
Offline Offline

Posts: 55



View Profile
« Reply #4 on: September 26, 2007, 01:18:44 PM »

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, 01:30:59 PM by yhm_7 » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #5 on: September 27, 2007, 06:46:44 AM »

you didn't describe a problem, but a situation. what's the problem?
Logged
rejetto forum
« Reply #5 on: September 27, 2007, 06:46:44 AM »

Do you like this software? Consider even $2
 Logged
Foggy
Insane poster
*****
Offline Offline

Australia Australia

Posts: 806


View Profile
« Reply #6 on: September 27, 2007, 08:32:43 AM »

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?
Logged
yhm_7
Experienced poster
***
Offline Offline

Posts: 55



View Profile
« Reply #7 on: September 27, 2007, 08:36:55 AM »

Not a problem,just a suggestion.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #8 on: September 27, 2007, 09:01:16 AM »

One of the quickest ways to break something is to fix it when it ain't broken.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 23, 2012, 06:03:01 PM
anything