rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: surikat on December 21, 2018, 03:42:23 PM

Title: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on December 21, 2018, 03:42:23 PM
Sometimes the program is buggy. I can't even open the program from a minimized ! This happens when I often use browsers, open instant messengers and much more .. The program just stops working. What could be the reason ? After restarting the PC, everything is fine. Maybe it's time to reinstall the operating system? I use the latest version of 2.3 m build 300
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: bmartino1 on December 22, 2018, 08:55:16 PM
Sounds like a resource management problem on your end. Hfs required a lot of ram. Instant messenger is also high resource intensive. It not a surprise to see hfs slow down based on what your doing along side hfs...
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on December 22, 2018, 10:58:56 PM
Have one RAM card in 4 GB. Busy like no more than 50%.
I will try to install another card 4 GB in two threads.
I think 8 GB is the ceiling! I'm not playing games.
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: bmartino1 on December 23, 2018, 08:37:17 PM
1-2 gb to get the windows open off the ground.
1-2 gb for hfs alone(this doesn't include multiple connections from 4+ PC, general lan use.

chrome can take 512mb-2gb ram
Instant messenger at Mon is 640-1gb
All dependant on what your doing and how your PC handles the resources. I've seen hfs with my max bandwith and a totlat of 100+ connection hot 8 gb. That just a baseline.

The point I'm making is your running a literal server, serves require resource, when you take from that resouce they don't act right.

A Mon for your PC these day should be 8gb (as most software developer and antivirus/office application no longer care about the min or max resource. And I can almost guarantee if you were to run all the app you'd run out of the resources.

You can cheat for speed with the page file(use your hd for ram)...
https://www.google.com/amp/s/www.online-tech-tips.com/computer-tips/simple-ways-to-increase-your-computers-performace-configuring-the-paging-file/amp/

But physical ram is better. Also if your hitting 50% anything your PC at it maximum load, anything else and things starting fighting for resource.
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: danny on January 01, 2019, 09:14:30 PM
Sometimes the program is buggy. I can't even open the program from a minimized ! This happens when I often use browsers, open instant messengers and much more .. The program just stops working. What could be the reason ? After restarting the PC, everything is fine. Maybe it's time to reinstall the operating system? I use the latest version of 2.3 m build 300
Windows as server:
You can try ccleaner, blackbird, tinywall and msconfig.  There are probably a few unnecessary items starting up along with your computer.  Also, if windows 10 is used as a server, you might want to de-populate Scheduled Tasks (defrag and disk health are good, but a hundred Microsoft-Drek© items don't need to run frequently).  Regain ownership of your own computer, then it can succeed as a server.

HFS things that you can try:
https://drive.google.com/open?id=12GRINYSKe8H-VZtpsbvJkabvdTrB48F3  The pre-release, aka HFS 299-1/2
https://rejetto.com/forum/index.php?topic=12055.0 A highly efficient retro template, consumes less resources.

Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: rejetto on January 06, 2019, 12:37:28 PM
Sometimes the program is buggy. I can't even open the program from a minimized ! This happens when I often use browsers, open instant messengers and much more .. The program just stops working. What could be the reason ? After restarting the PC, everything is fine. Maybe it's time to reinstall the operating system? I use the latest version of 2.3 m build 300

1. how often does it happen?
2. what if you just kill the program (task manager) instead of rebooting your pc?
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on January 16, 2019, 07:18:00 PM
1) Not very often. When I use the Yandex browser and open a couple of tabs and plus Facebook.
2) The program is not killed and not close it is not possible.  With the help of the task manager, I have not killed yet. Next time try this way.
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on January 19, 2019, 06:30:02 PM
Windows as server:
You can try ccleaner, blackbird, tinywall and msconfig.  There are probably a few unnecessary items starting up along with your computer.  Also, if windows 10 is used as a server, you might want to de-populate Scheduled Tasks (defrag and disk health are good, but a hundred Microsoft-Drek© items don't need to run frequently).  Regain ownership of your own computer, then it can succeed as a server.

HFS things that you can try:
https://drive.google.com/open?id=12GRINYSKe8H-VZtpsbvJkabvdTrB48F3  The pre-release, aka HFS 299-1/2
https://rejetto.com/forum/index.php?topic=12055.0 A highly efficient retro template, consumes less resources.

Yes, I use Windows 10 as a server. What does it mean to de-populate Scheduled Tasks? How to do it?
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: bmartino1 on January 19, 2019, 11:46:22 PM
CCleaner
https://filehippo.com/download_ccleaner/

Under tools schedule task, disable any unnecessary task(would does 10 almost all...
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: LeoNeeson on January 21, 2019, 08:12:01 AM
Yes, I use Windows 10 as a server. What does it mean to de-populate Scheduled Tasks? How to do it?
Perhaps you could check THIS (https://virtualfeller.com/2015/11/16/windows-10-optimization-part-3-scheduled-tasks/) list, that gives you an description for every task found on Windows 10, and help you decide turning off some unneeded scheduled tasks. Also this video could help you (I haven't viewed): Disable scheduled tasks on Windows 10 (https://www.youtube.com/watch?v=SI_P5-RVPeM).

But before anything, you should start following THIS (https://www.askvg.com/guide-best-privacy-settings-for-windows-10/) guide (or any of this (https://4sysops.com/wiki/windows-10-privacy-settings/) or this (https://github.com/adolfintel/Windows10-Privacy) another more extensive guides), since disabling Telemetry (https://en.wikipedia.org/wiki/Telemetry#Software) and other Data Collection (https://en.wikipedia.org/wiki/Data_mining) (included on Windows 10), will speed up your Windows performance and it will free up your memory RAM.

This (https://github.com/10se1ucgo/DisableWinTracking) or this (https://github.com/kronflux/MTRT) utility could also help you (you have a list of similar utilities here (https://www.ghacks.net/2015/08/14/comparison-of-windows-10-privacy-tools/)).

Report back if any of this has help you to make Windows faster, and less buggy. ;)
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on January 30, 2019, 05:51:30 PM

I have disabled all telemetry and data collection as well. A couple of days was kind of normal. The memory was freed by 5-6%.

Today I just used the browser Firefox and surfing on the site Aliexpress and did nothing else. HFS has stopped working!

With previous versions, this has never happened before..!
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: bmartino1 on February 01, 2019, 08:42:33 PM
What anto virus r u running?

Defualt template (no chages or adpatations?)

What firewall...???

Again I have no issues with the current stable build. This still seems to be a resource error.(potentially a bad old ised me or stick.

I would required the event viewer log file to diagnose this further.
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on February 12, 2019, 02:22:16 AM

Protection against viruses and threats from windows only. And I turned it off. And the default template is unchanged.

Apparently, the problem was in some kind of virus ..

Since a week ago I clean the PC with the help of  Dr.Web CureIt and while is OK.
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: danny on June 27, 2019, 03:57:23 PM
...I've seen hfs with my max bandwith and a totlat of 100+ connection hot 8 gb...
I have a theory that enforcing a fair proportion of connections vs bandwidth can prevent the excessive memory consumption.   http://rejetto.com/forum/index.php?topic=13160.msg1064692#msg1064692  Connections limit prevents stacking up an unfeasibly large todo list. 

This: 
Speed limit = more lag, or
Connections limit = less lag
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on July 30, 2019, 04:32:50 PM
 I have settings :

Speed Limit for Single address : 2500 KB/s

Max Simultaneous  downloads for single address : 4

HFS works in minimize to tray..  Still, the program sometimes crashes by itself for no apparent reason.

Is it possible to restart the program remotely? When there is no access to the PC.
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: danny on July 30, 2019, 07:42:18 PM
...Speed Limit...crashes...
Options:
Remove the speed limit.
and
There's a different option (tested only slightly): 
in hfs.events file
[+download]
{.set speed limit for connection | 625.}

That should, probably, prevent one thing from getting stuck behind another; and, 4 downloads * 625 is perhaps your 2500. 

Alternatively, put speed limit in a different box: https://www.linksysinfo.org/index.php?forums/tomato-firmware.33/  You can add the five rule auto qos, and then speed is adaptive. 
...Is it possible to restart the program remotely?...
Options:
hfs.events file
[at 4:00]
{.stop server.}
[at 4:01]
{.start server.}

Alternatively, https://www.tightvnc.com/ although, long un~spel1abla password, and do change the default VNC port number, to something less inviting, such as, an  Unassigned  port from this list: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on July 30, 2019, 11:24:19 PM
Options:
Remove the speed limit.
and
There's a different option (tested only slightly): 
in hfs.events file
[+download]
{.set speed limit for connection | 625.}

I can not remove the speed limit because attacks were sometimes with ip, which download with high speed. I created the file and pasted it  [+download]
{.set speed limit for connection | 625.}.
But it does not work for me.

Options:
hfs.events file
[at 4:00]
{.stop server.}
[at 4:01]
{.start server.}

I meant to close the program completely and re-open it .. Remotely. This is the only way to get rid of the freeze program.
Probably to use the timeviewer sometimes !?  :o

Or put the second RAM 4 GB increasing to 8 GB and in two threads. Will this help?
Or does it not depend on memory?  Freezing of the program occurs arbitrarily when I do not use the PC!!!
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: danny on July 31, 2019, 04:14:17 AM
... I created the file and pasted it 
[+download]
{.set speed limit for connection | 625.}
The  hfs.events  file goes in the same folder as hfs.exe--from the keyboard, you can do Alt+F6

Also set downloads per ip to 3
Also set connections per ip to 4
And, turn off speed limit; turn off speed limit per ip, because speed limit is vulnerable to download manager attack. 

Other things to try. 
HFS 2.3k https://drive.google.com/open?id=1TVfCfxygKXShEIZT9cnumO_jX_9Ssefy
And you can try the basic or mp versions of the throwback template.

If none of this suits, you can use TightVNC or other popular remote control software.
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: bmartino1 on July 31, 2019, 06:27:00 PM
I can not remove the speed limit because attacks were sometimes with ip, which download with high speed. I created the file and pasted it  [+download]
{.set speed limit for connection | 625.}.
But it does not work for me.

I meant to close the program completely and re-open it .. Remotely. This is the only way to get rid of the freeze program.
Probably to use the timeviewer sometimes !?  :o

Or put the second RAM 4 GB increasing to 8 GB and in two threads. Will this help?
Or does it not depend on memory?  Freezing of the program occurs arbitrarily when I do not use the PC!!!

you have to setup a Windows schedule taks that would run dailu at etc time

taskkill hfs.exe

a batch file to close then open it

https://www.thewindowsclub.com/force-close-a-program-which-task-manager-cannot-terminate/amp
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on July 31, 2019, 08:42:55 PM
The  hfs.events  file goes in the same folder as hfs.exe--from the keyboard, you can do Alt+F6
Also set downloads per ip to 3
Also set connections per ip to 4
And, turn off speed limit; turn off speed limit per ip. 

Why do you insist on turning off the speed limits? The speed limit can lead to such errors? And what is the difference between downloads per ip and connections per ip?

because speed limit is vulnerable to download manager attack
The attack was carried out using browsers, not the download manager.. In my case...

Thanks advance and Best regards!
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: Rapid on August 07, 2019, 07:37:54 AM
Sometimes the program is buggy. I can't even open the program from a minimized ! ...
In my build I'm getting error in tfile.getParent
Because (node.data.node <> node) - and looks like getparent going in loop.
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: danny on August 08, 2019, 01:14:08 PM
Except for gigabit connections, No hung requests with:
HFS 2.4rc2:  http://www.rejetto.com/hfsfiles/hfs24rc2.exe
HFS 2.3K:  https://drive.google.com/open?id=1TVfCfxygKXShEIZT9cnumO_jX_9Ssefy

However, HFS 2.3M gets absolutely knackered during concurrency testing.  Just choose a different version. 
Title: A Plug-in, Hardware fix
Post by: danny on September 08, 2019, 04:48:55 PM
If you have a gigabit connection to the server or some way to do more speed than HFS was built for... and get stuck

Here's a funny way to patch: 
https://www.ebay.com/itm/273793001390?
Get this 150m + 5dbi usb antenna.  It can be set to either 72 or 150
You may need to adjust usb port power management and/or wifi power management (to off)
Give it a fixed ip address, make HFS use that, and adjust your router forwarding likewise. 

Using a not-so-fast adapter seems like a really transparent way to patch the problem.
Alternative is a "NetLimiter" type of windows bandwidth management software.

*The item pictured should do it.  Alternatives include:
USB to Ethernet adapter properties set to 10/half (used just for HFS)
ALFA RT3070L based 150M adapters are maximum range but not excessively fast.
A very Smart-Switch with qos % and/or more speed settings
Tomato Router (hfs rule and class, adjust max% for hfs class)
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on October 07, 2019, 11:38:57 PM
Except for gigabit connections, No hung requests with:
HFS 2.4rc2

   Is this a beta testing version?
What does it mean, with the exception of gigabit connections, there are no hanging requests? I have a gigabit connection, and this can cause hfs to freeze? Cable connection, without a router.
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: danny on October 13, 2019, 09:31:23 AM
Is this a beta testing version?
HFS2.4 is currently in beta.  It has had much testing.
What does it mean, with the exception of gigabit connections, there are no hanging requests? I have a gigabit connection, and this can cause hfs to freeze?
Yes, gigabit connection makes HFS freeze--More requests/traffic than HFS can handle, queue up like inflating a balloon, until Pop!

Fix:  Either adding a slower secondary interface to the server (just for HFS), Or you can use Netlimiter software

Netlimiter:  https://www.netlimiter.com/ can set speed for hfs
Cable connection, without a router.
If connecting more than one computer works; then, you have a router, and the location of your router is inside of the cable modem (a modem-router combo).
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on October 18, 2019, 10:56:56 PM
I don’t quite understand how to create this?

Quote
Either adding a slower secondary interface to the server (just for HFS)

I do not want to use another netlimiter program as a crutch! :o

Why does this freeze occur once a day or once every two days? It is very strange? Can increase RAM from 4 gigabytes to 8 GB? Two slots RAM in two threads. Maybe this will help? It is strange that with version K I did not notice this.
If reboot PC more often, hfs freezes more often. Now using version 2.4 rc2