rejetto / hfs2

web based file server
https://rejetto.com/hfs
GNU General Public License v3.0
601 stars 131 forks source link

Sometimes the service does not respond. #26

Open Gao996 opened 2 years ago

Gao996 commented 2 years ago

Sometimes the service does not respond. After a lot of files are transferred, the web page and other requests are not accepted, and the software functions are displayed normally. At this time, the service needs to be restarted to continue running. Here is a timer, 10 second interval, whether Will affect performance.

procedure TmainFrm.TimerTestTimer(Sender: TObject);
begin
if(not srv.active) then
  begin
  add2log('not active');
  if assigned(srv) then srv.stop();
  srv.port := port;
  srv.start(listenOn);
  end
else
  begin
  add2log('active');
  end;
end;
Gao996 commented 2 years ago

Thank you, there is no problem with the current number of about one hundred. What is the maximum number of connections for http access.

rejetto commented 2 years ago

there's no limit set, the problem you experienced is like a bug but the number probably varies over different computers.

The thing you programmed in delphi could probably be achieved very easily with an "event script".

itisbean commented 1 year ago

Hi, I met the same issue, have you solved it?