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: 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: 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: 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: 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: 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: 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
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on January 05, 2020, 03:51:46 PM
I think that the problem isn't in scope for a template. 

But, just in case...

Here's a development version that didn't make it.  It would be interesting if this stopped your freezes.

I Disabled the speed limit for single ip. And generally turn off the speed limit.

Set only Maximum simultaneous downloads for single address: 2

The program has stopped freezing!  Hallelujah!!!  This all happens to cause a speed limit.  Now everything is clear!

I will not have to limit the speed otherwise it will freeze.
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on January 06, 2020, 07:53:25 AM
Upload at gigabit speed, simultaneous with downloads, can stop it. 
That problem is different because UI is responsive at the console but clients can't connect until server is restarted. 

We don't have a watchdog feature yet, so. . .

Attached is hfs.events file with caching and 4 am reboot. 
Then each morning it can restart hfs and be ready again. 

New problem:  Not all versions of HFS work with [at 4:05] timer in events file.
You can check the log to see if it starts at 4:06 am.

My Version of HFS 2.4rc2
Here it is necessary not only to stop and start the server, but to completely close it and open it again. This is only using the Windows Task Scheduler.
I just don’t want to bother with this. The speed limit is simply disabled. And OK!
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: rejetto on January 29, 2020, 03:54:05 PM
I will not have to limit the speed otherwise it will freeze.

so, can you tell me what are the conditions that cause the problem?
is gigabit a necessary condition?
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: surikat on February 19, 2020, 06:37:21 AM
so, can you tell me what are the conditions that cause the problem?
is gigabit a necessary condition?

I know only one thing, when I disabled the speed limit for single address
and the problem of freezing disappeared.
Set only the max simultaneous downloads from single address in the value: 2
Title: Re: Sometimes the program is buggy ver. 2.3m build 300
Post by: danny on February 20, 2020, 10:01:26 PM
You can try the WatchCat https://rejetto.com/forum/index.php?topic=12055.msg1065322#msg1065322
It is the keep-alive feature that many routers and servers have.