rejetto forum

2.0 coming...

rejetto · 1151 · 1155961

0 Members and 5 Guests are viewing this topic.

Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "maverick"
Quote from: "Rafi"
So what is limits->"max # of connections/downloads" ?
You are confusing connections and individual IP addresses.
I don't think I'm confused ... May be you have to explain again what YOU want.  
HFS/HTTP term connection is the only object HFS can refer to. As I understand it - IPs are making   connections and shortly after - those are disconnected.
If I put "Max connections" to 60 , and "Max connections per IP " to 20 , and some timeout, you can have a *minimum* of 3 surfing . Maximum is unknown... depends on the timeout and your HFS file tree size.
I did check it and you get "Server busy, retry later" message when they exceed this.

More important - is that you can control total # of concurrent DLs & per IP.

I think you cannot do more then that in HTTP. or - I don't understand what you wanted in the first place ...  ;)

BTW - you can easily check it with two anonymous proxy services. I used: http://www.guardster.com & http://anonymouse.ws


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
Quote from: "Rafi"
I don't think I'm confused ... May be you have to explain again what YOU want.  
I explained that very clearly in my posts above in this thread.  Re-read them.

maverick
maverick


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "maverick"
Quote from: "Rafi"
I don't think I'm confused ... May be you have to explain again what YOU want.  
I explained that very clearly in my posts above in this thread.  Re-read them.

maverick
Well, I did read it.  I thing we'll wait to rejetto to tell you the same thing.
Quote
"I have been averaging at least 8-10 different IP's on at the same time downloading.That results in slow download KB/s for them and really ties up the server until these downloads complete and they finally leave. I have even limited the max downloads per IP to 1 at a time, but that makes no difference"
add: Menu->limits->Max downloads   = 4-5

@rejetto: May be an extra speedlimit option PER download will help too.


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
.
Well I just finished reading through a whole bunch of posts looking for this subject.  Finally found it and here is a reply from rejetto (which I missed)....

Quote
If I want only 5 people (5 different IP addresses) access to my server at one time, how do I set that limit?
Quote from: "rejetto"
you can't, currently. there's no such feature. but it sounds interesting.

http://www.rejetto.com/forum/viewtopic.php?t=2180&highlight=&sid=b88a820497feb1b3d226da59ad1a7147

Hopefully it hasn't been forgotten but in the todo list.

maverick
maverick


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "maverick"
.

Hopefully it hasn't been forgotten but in the todo list.

maverick

It cannot easily be done, since there is no "session"/logout in HTTP...


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
Quote from: "Rafi"
It cannot easily be done, since there is no "session"/logout in HTTP...
There is a lot of information about this on the net.  I just did a search and here is just one of many examples I found...

Quote
Allow HTTP Users to Log Out!

Ever wanted to have your authenticated users log out from their current session without having to close all browser windows (which doesn't *really* close the HTTP user session anyways)?

Of course you have! So here's the how-to:

Domino allows for you to kill a user's HTTP session by simply appending "/?logout" in a URL after the database in accordance to the following scheme:

http://server/path/database.nsf/?logout

(*NOTE - Session Authentication needs to be enabled for this to work properly)

Now you could hardcode this... but that's sloppy design.
Easiest this to do would be to create a Computed Text string (highlight and mark as pass-thru HTML) with the following:

db := @ReplaceSubstring( @Subset( @DbName; -1); "\\"; "/");
url := "<a href=\"/" + db + "/?logout\">Log Off " + @Name([CN];@UserName) + "!</a>";
@if(@UserName="Anomymous";""; URL)

This will show a log off link for your authenticated users (a logout for anonymous would just be plain silly) as well as keeps the logout dynamic:

Not only displaying the user's common name for "personalization" but also keeping the pathing totally relative... so you don't have to recode!

http://www.dominoguru.com/dominoguru/home.nsf/0/cc75d65176b75b2085256c7e0015af31?OpenDocument
So it can be done.  

Also...
A similar feature to the current connection inactivity timeout feature in HFS limits might be used --> called IP inactivity timeout (or something like that) which would be used to kill an inactive IP therefore allowing a new IP into the server until the max chosen IP limit is reached. Rejetto would know more if this is workable.

maverick
maverick


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "maverick"
Rejetto would know more if this is workable.
Sounds feasible. Good luck rejetto ...


Anonymous

  • Guest
I can't download the files named with Chinese characters shared by HFS2.0 beta23 like "记事本.mp3", but I can upload them. I hope it
can be fixed. An old version does not have this problem, but I
already deleted it, and forgeted the version. :(


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "Anonymous"
I can't download the files named with Chinese characters shared by HFS2.0 beta23 like "记事本.mp3", but I can upload them. I hope it
can be fixed. An old version does not have this problem, but I
already deleted it, and forgeted the version. :(
Maybe: menu->url-encoding->encode_non-acsii_characters


Anonymous

  • Guest
Quote from: "Rafi"
Quote from: "Anonymous"
I can't download the files named with Chinese characters shared by HFS2.0 beta23 like "记事本.mp3", but I can upload them. I hope it
can be fixed. An old version does not have this problem, but I
already deleted it, and forgeted the version. :(
Maybe: menu->url-encoding->encode_non-acsii_characters

It works now, Thank you!


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
Rejetto,

Just thought I would let you know that my server has been really busy the last few days - running HFS 2.0 beta 23 - and not one processQ error or any other error.  The processQ errors I recently reported were with beta 22.  Maybe this bug has been fixed with beta 23.  Good work.  Looks like a v2.0 FINAL is getting close. :D

maverick
maverick


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Quote from: "maverick"
Rejetto,

Just thought I would let you know that my server has been really busy the last few days - running HFS 2.0 beta 23 - and not one processQ error or any other error.  The processQ errors I recently reported were with beta 22.  Maybe this bug has been fixed with beta 23.

No, unfortunately it has not. Read my post from Sat Apr 02, 2005 5:19 am (ATM on page 29), I got ProcessQ error with beta23 as well.

MarkV
http://worldipv6launch.org - The world is different now.


Anonymous

  • Guest
here is the exception log:

############# ERROR ON: 2005/4/17 PM 11:40:44
E:\HFS\HFS.EXE
參數錯誤。

HFS 2.0 beta23
----------------------------------------------------------------
Stack list, generated 2005/4/17 PM 11:40:44
[0042C363]{HFS.EXE     } Graphics.GDIError + $77
[004043EA]{HFS.EXE     } System.@HandleFinally + $2A
[0042C39B]{HFS.EXE     } Graphics.GDICheck + $7
[0042F7D3]{HFS.EXE     } Graphics.CopyBitmap + $117
[004043EA]{HFS.EXE     } System.@HandleFinally + $2A
[0040217B]{HFS.EXE     } System.TryHarder + $BB
[004024A8]{HFS.EXE     } System.SysFreeMem + $164
[004027A1]{HFS.EXE     } System.@FreeMem + $5
[00403BEC]{HFS.EXE     } System.TObject.FreeInstance + $C
[00403FE2]{HFS.EXE     } System.@ClassDestroy + $2
[0042F55E]{HFS.EXE     } Graphics.TBitmapImage.Destroy + $52
[00403C34]{HFS.EXE     } System.TObject.Free + $8
[00430BA5]{HFS.EXE     } Graphics.TBitmap.NewImage + $E1
[00430187]{HFS.EXE     } Graphics.TBitmap.CopyImage + $63
[004313FC]{HFS.EXE     } Graphics.TBitmap.SetHeight + $3C
[004F7499]{HFS.EXE     } main.TmainFrm.refreshGraphBox (Line 5127, "main.pas"
+ 4) + $D
[004F257A]{HFS.EXE     } main.recalculateGraph (Line 3884, "main.pas" + 14) + $9
[004F26EB]{HFS.EXE     } main.TmainFrm.timerEvent (Line 3935, "main.pas" + 11)
+ $2
[004043EA]{HFS.EXE     } System.@HandleFinally + $2A
[004C6B2C]{HFS.EXE     } HSlib.ThttpSrv.timerEvent (Line 612, "HSlib.pas" + 16) +
$1
[0044308F]{HFS.EXE     } ExtCtrls.TTimer.Timer + $F
[00442F73]{HFS.EXE     } ExtCtrls.TTimer.WndProc + $2B
[00428AA8]{HFS.EXE     } Classes.StdWndProc (Line 10565, "classes.pas" + 8) +
$0
[00455873]{HFS.EXE     } Forms.TApplication.ProcessMessage + $83
[004558AA]{HFS.EXE     } Forms.TApplication.HandleMessage + $A
[00455ACA]{HFS.EXE     } Forms.TApplication.Run + $96
[004FD648]{HFS.EXE     } hfs.hfs (Line 58, "C:\code\mine\hfs\hfs.dpr" + 14) + $2
----------------------------------------------------------------
System   : Windows ME , Version: 4.90, Build: 45A0BB8, " "
Processor: Intel, Pentium III, 890 MHz MMX
Display  : 1280x1024 pixels, 16 bpp
----------------------------------------------------------------
----------------------------------------------------------------
Product Versions

hfs.exe: Build: 0 2005/4/2 AM 03:37:48


==remarks==
the line after "E:\HFS\HFS.EXE" is in traditional chinese
(I am in Hong Kong)
it means "wrong parameters" in English.


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
.
I think there will come a time that we have to realize not all errors will get fixed.  There's a good possibility that some of the errors reported may be system specific or resulted from something that was done in the background that shouldn't have been while the server was busy.

The same errors don't appear to be happening over and over again.   In my case, over the last year or more, I can only think of 2 times I had an error popup (both of which I reported) and my server is used every day.  I would say that's pretty good performance for a excellent small free program like HFS.

maverick
.
maverick


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
I would say, it's stable enough to go final, rejetto.  :) You will never get it 100% stable. There are many commercial programs crashing frequently... :roll:

MarkV
http://worldipv6launch.org - The world is different now.