Author Topic: Disable Logging of "Address Ever Connected"??  (Read 5106 times)

0 Members and 1 Guest are viewing this topic.

Offline SoKoOLz

  • Experienced poster
  • ***
  • Posts: 33
    • View Profile
Disable Logging of "Address Ever Connected"??
« on: February 29, 2008, 09:57:49 AM »
Hi all,

I know this function is really useful. However, I need to disable this function.
I'm running my antivirus update server and there are so many peers connected to it everyday.

Eventually, my hfs.ini file grew to 2MB and it is very very slow when starting the program.
I need to manual edit the hfs.ini file and remove all the IPs, and after that everything is seems to be ok again?

Is there any other way to disable this option?

I've tried seaching and wiki page already.

Thanks

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12778
  • Country: it
    • View Profile
Re: Disable Logging of "Address Ever Connected"??
« Reply #1 on: February 29, 2008, 10:19:15 AM »
no way.
but i will fix this soon by moving the data to another file.
and if this won't be enough, i'll let you disable the saving of the addresses.

are you using 2.2 or 2.3 ?

Offline SoKoOLz

  • Experienced poster
  • ***
  • Posts: 33
    • View Profile
Re: Disable Logging of "Address Ever Connected"??
« Reply #2 on: February 29, 2008, 10:31:39 AM »
็Hi, Rejetto ^^

If you can give me the option to let me disable this function, this would be very helpful.
I've noticed that it uses Half of my CPU when it saves more IPs to the file. (50% @ 1.5MB of .ini file)

I'm using the latest beta version:
2.3 Build 180

Thank you very much Rejetto

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12778
  • Country: it
    • View Profile
Re: Disable Logging of "Address Ever Connected"??
« Reply #3 on: February 29, 2008, 10:34:25 AM »
the problem is at start time, at quit time, or both?

Offline SoKoOLz

  • Experienced poster
  • ***
  • Posts: 33
    • View Profile
Re: Disable Logging of "Address Ever Connected"??
« Reply #4 on: February 29, 2008, 10:38:24 AM »
the problem is at start time, at quit time, or both?

Sorry, that I didnt make it clear in my first post.

This hapenns [@startup time] and when ppls are starting to connect to server [on run].

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12778
  • Country: it
    • View Profile
Re: Disable Logging of "Address Ever Connected"??
« Reply #5 on: February 29, 2008, 10:41:21 AM »
EVEN when people connect? :o

Offline SoKoOLz

  • Experienced poster
  • ***
  • Posts: 33
    • View Profile
Re: Disable Logging of "Address Ever Connected"??
« Reply #6 on: February 29, 2008, 10:47:18 AM »
EVEN when people connect? :o

YES, that is right. I'm sure it's the problem with the junk of IP address in one big file.
It's not the way HFS writes to the file.

This will only happens when I have more than 1.5MB of my .ini file.

It works fine with the normal .ini file size (14k)
« Last Edit: February 29, 2008, 10:49:05 AM by SoKoOLz »

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12778
  • Country: it
    • View Profile
Re: Disable Logging of "Address Ever Connected"??
« Reply #7 on: March 04, 2008, 09:05:29 PM »
next beta addresses this problem.
Let me know if the problem solved totally, partially or by no means.

Offline SoKoOLz

  • Experienced poster
  • ***
  • Posts: 33
    • View Profile
Re: Disable Logging of "Address Ever Connected"??
« Reply #8 on: March 04, 2008, 09:58:20 PM »
next beta addresses this problem.
Let me know if the problem solved totally, partially or by no means.

Roger that sir!

Offline SoKoOLz

  • Experienced poster
  • ***
  • Posts: 33
    • View Profile
Re: Disable Logging of "Address Ever Connected"??
« Reply #9 on: March 06, 2008, 07:39:29 PM »
Ok, After I have tested the fixed hfs version (build 182).

Everything works perfectly, I don't need to come and reset those addresses anymore. (Now I got 7000+ addresses ever connected logged! WOW). No crashing no Lagging. Everything loads smoothly form the start till exiting of the program.

BTW: I have one more issue about updating HFS version (via auto update), Do I  need to post a new thread on this or not?
I've been having this flash DOS prompt error when updating.. where it wants to replace the old version with the new one it gives out "...hfs.exe, 'Access is denied'". I think you need to use some command like "taskkill /F /IM hfs.exe". So that it kills the porcess completely allowing the access to replace (delete) the old HFS version.

Thanks very much Rejetto, You rocks!


Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12778
  • Country: it
    • View Profile
Re: Disable Logging of "Address Ever Connected"??
« Reply #10 on: March 06, 2008, 07:41:47 PM »
yes please, open a new topic, and provide a screenshot if you can

and i'm very happy it is working so smoothly! :)