Welcome Guest ( Log In | Register )

39 Pages V « < 5 6 7 8 9 > »   
Reply to this topicStart new topic
> Hentai@Home 1.6 Stable, Not the kind for horsies

 
post May 15 2020, 09:29
Post #121
uareader



Critter
*********
Group: Catgirl Camarilla
Posts: 5,592
Joined: 1-September 14
Level 500 (Ponyslayer)


Saw this in H@H log recently:
QUOTE
2020-05-13T05:08:27Z [WARN] CacheHandler: Encountered exception java.nio.file.FileAlreadyExistsException: E:\Hath_log\proxyfile_13974196519642105571 -> cache\6a\00\6a00a6ceefa27eeb5e59becf802199a5ce75459e-182104-1280-914-jpg when moving file E:\Hath_log\proxyfile_13974196519642105571
"File already exist" exception appearance is the kind of thing that should be easy to fix, and preventing it from happening should provide a little better performance, and take out several lines from the log (there's an entire (and useless in this case) exception hierarchy above the quoted message)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 15 2020, 13:00
Post #122
Tenboro

Admin




QUOTE(uareader @ May 15 2020, 09:29) *

Saw this in H@H log recently:"File already exist" exception appearance is the kind of thing that should be easy to fix, and preventing it from happening should provide a little better performance, and take out several lines from the log (there's an entire (and useless in this case) exception hierarchy above the quoted message)


This happens if different people request the same non-cached file at almost the same time, and should not cause any issues. You can't really prevent this type of race condition from happening every once in a while unless you explicitly synchronize on a lock, which would hurt performance every time it doesn't happen, which is almost always.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 11 2020, 06:13
Post #123
yeller



Casual Poster
***
Group: Gold Star Club
Posts: 177
Joined: 10-August 09
Level 169 (Lord)


Having weird issues with some of my H@H clients where it fails to get the image from the source server and gives timeout errors severely dropping my quality. Yet, I can immediately grab the ondemand image just fine with lynx from the same exact server without issue.

I can't fathom what the issue would be unless it was a problem with the H@H client itself.

Edit:
Jun 11 00:19:44 localhost java[19473]: 2020-06-11T04:19:44Z [WARN] Request host did not send Content-Length, aborting transfer. (sun.net.www.protocol.http.HttpURLConnection

I was able to grab the url in the error message from the same server this error was on immediately after seeing it with lynx though.

This post has been edited by yeller: Jun 11 2020, 07:01
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 11 2020, 08:25
Post #124
Tenboro

Admin




QUOTE(yeller @ Jun 11 2020, 06:13) *

Jun 11 00:19:44 localhost java[19473]: 2020-06-11T04:19:44Z [WARN] Request host did not send Content-Length, aborting transfer. (sun.net.www.protocol.http.HttpURLConnection

I was able to grab the url in the error message from the same server this error was on immediately after seeing it with lynx though.


Could be a transient network issue, or possibly be transparently reverse-proxied in some way that drops the content-length header. I don't know about Lynx, but wget allows you to dump the headers with --server-response so you can try using that to check the latter.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 11 2020, 11:44
Post #125
yeller



Casual Poster
***
Group: Gold Star Club
Posts: 177
Joined: 10-August 09
Level 169 (Lord)


QUOTE(Tenboro @ Jun 11 2020, 02:25) *

Could be a transient network issue, or possibly be transparently reverse-proxied in some way that drops the content-length header. I don't know about Lynx, but wget allows you to dump the headers with --server-response so you can try using that to check the latter.


I think I found the particular server I'm getting packet loss to, I'm not getting it to any of the others I've pinged for hours on end.

Although it's hard to tell for sure because ICMP ping is blocked to that particular server, but if I use hping to do "tcp pings" to port 80 it loses like 30%. Then again I don't know if this is normal and some sort of anti DoS measure.

It's also the server I'm seeing the timeouts to.

Edit: Seems this problem got magically fixed after moaning about it to the right people.

This post has been edited by yeller: Jun 13 2020, 10:02
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2020, 12:35
Post #126
LordH3lix



Lurker
Group: Recruits
Posts: 9
Joined: 15-January 19


Was I supposed to get a client ID or something? I filled out the application and got "accepted" but I don't know what to put in that prompt when it first opens up.
EDIT: I was dumb. Nevermind.

This post has been edited by LordH3lix: Jun 24 2020, 12:37
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 1 2020, 22:17
Post #127
Dreanor1



Lurker
Group: Lurkers
Posts: 2
Joined: 30-January 19


Nice.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2020, 06:40
Post #128
yeller



Casual Poster
***
Group: Gold Star Club
Posts: 177
Joined: 10-August 09
Level 169 (Lord)


I have a feature request for 1.6.1. Make the client just exit if it can't find 10+ files in cache suddenly.

Bad things happen if network storage disappears.

Seems to go in line with the auto exiting of the client if there is no disk space.

Edit: Never mind. I'm dumb. It's the improper shutdown that's really the problem.

This post has been edited by yeller: Jul 3 2020, 06:51
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 6 2020, 17:53
Post #129
pipixia0112



Lurker
Group: Lurkers
Posts: 1
Joined: 22-May 20


It's good to see a robust solution.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 9 2020, 22:34
Post #130
uareader



Critter
*********
Group: Catgirl Camarilla
Posts: 5,592
Joined: 1-September 14
Level 500 (Ponyslayer)


QUOTE
2020-07-09T10:05:03Z [info] {******/**.**.***.**} Code=301 Bytes=0 GET /favicon.ico HTTP/1.1
2020-07-09T10:05:03Z [info] {******/**.**.***.**} Code=301 Bytes=0 Finished processing request in 0,00 seconds
(I hid with * things that may identify an user, not the important part anyway)
I find that a bit disturbing.
I understand it may be meaningful within the log_out file, but I wish it wasn't displayed in the log of the GUI (that already hide lots of things of the log file).
Just my thought though.Not a big matter.

This post has been edited by uareader: Jul 9 2020, 22:35
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 12 2020, 16:49
Post #131
浅爱酱



Lurker
Group: Recruits
Posts: 5
Joined: 1-April 17
Level 15 (Novice)


improved release sounds great, updating
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 17 2020, 16:56
Post #132
truyenchuth



Lurker
Group: Lurkers
Posts: 3
Joined: 14-July 20


thanks for the hard work like always
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 12 2020, 12:37
Post #133
Tenboro

Admin




1.6.1 was released. This is not a required update, but adds some reliability improvements and checks to ensure correct operation.

- A sanity check for certificate expiry has been added. If a client does not successfully refresh the certificate for whatever reason, it will now shut down gracefully 24 hours before the certificate actually expires instead of failing silently.

- If the system time is off by more than 24 hours, a warning advising you to correct it will now be printed regularly. Failure to do so might make the certificate check trigger prematurely or fail to trigger at all.

- During proxy requests, when a file is requested but not found in cache, the backend will now provide an alternative source link in addition to the primary one. If the client is unable to connect to the primary source, it will automatically fall back to the secondary one.

- H@H now makes a best-effort attempt to include filesystem overhead for slack space in its cache size calculations. By default this calculation assumes a filesystem block size of 4kB which is by far the most common, adding an estimated overhead of 2 GB per 1 million files - roughly 0.5% for your average H@H cache.

Note that if your cache was at ~100%, this means it will be slighly over and prune this amount from the cache at the next startup. If you already left some extra space, you can increase the H@H cache by this amount BEFORE starting up to compensate. If you abort startup after seeing the pruning message, it will have to rescan the cache at next startup.

This does not reduce the amount of static ranges you can store at a given setting; it just adds 2kB (or blocksize/2) average overhead per file for the internal resource tracking.

You can specify a different blocksize with --filesystem-blocksize=xxx or turn this off by using --filesystem-blocksize=0


To update an existing client: shut it down, download Hentai@Home 1.6.1, extract the archive, copy the jar files over the existing ones, then restart the client.

The full source code for H@H is available and licensed under the GNU General Public License v3, and can be downloaded here. Building it from source only requires OpenJDK 8 or newer.

For information on how to join Hentai@Home, check out The Hentai@Home Project FAQ.

Other download options can be found at the usual place.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 12 2020, 20:51
Post #134
Spamfeind



Newcomer
**
Group: Members
Posts: 52
Joined: 15-November 09
Level 329 (Godslayer)


QUOTE(Tenboro @ Aug 12 2020, 12:37) *

1.6.1 was released. This is not a required update, but adds some reliability improvements and checks to ensure correct operation.

Nice. I have already installed it and will test it if everything runs stable.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 13 2020, 10:22
Post #135
rlatnwls1811



Casual Poster
***
Group: Members
Posts: 165
Joined: 4-July 16
Level 257 (Godslayer)


thanks for the hard work like always
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 13 2020, 11:44
Post #136
KitsuneAbby



Curse God of the Hentai Shrine
**********
Group: Catgirl Camarilla
Posts: 7,571
Joined: 12-July 14
Level 500 (Ponyslayer)


QUOTE(Tenboro @ Aug 12 2020, 10:37) *
- During proxy requests, when a file is requested but not found in cache, the backend will now provide an alternative source link in addition to the primary one. If the client is unable to connect to the primary source, it will automatically fall back to the secondary one.

You have no idea how much of a savior that will be for us. I'll really update my clients ASAP.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 14 2020, 09:40
Post #137
systemxd



Lurker
Group: Lurkers
Posts: 1
Joined: 10-August 20


Wish I could get more performance out of my node. I have 10gbps + hardware raid array + datacenter premium bandwidth (IMG:[invalid] style_emoticons/default/sad.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 16 2020, 01:10
Post #138
cklodar



Amagase Natsuki ❤
****
Group: Gold Star Club
Posts: 367
Joined: 18-August 15
Level 458 (Godslayer)


QUOTE(Tenboro @ Aug 12 2020, 06:37) *

- H@H now makes a best-effort attempt to include filesystem overhead for slack space in its cache size calculations. By default this calculation assumes a filesystem block size of 4kB which is by far the most common, adding an estimated overhead of 2 GB per 1 million files - roughly 0.5% for your average H@H cache.


Thank you for implementing the filesystem overhead calculations! After pruning my server has freed up more than 2 GiB of space - working exactly as intended!

Here's a link to the relevant discussion, in case anyone is wondering what this new feature is about.

This post has been edited by cklodar: Aug 16 2020, 01:20
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 20 2020, 16:29
Post #139
Resulution



Lurker
Group: Recruits
Posts: 5
Joined: 16-June 17


QUOTE(bmgmhbmg @ Jan 4 2020, 13:13) *

Is it possible to support IPv6 in the future?
(My English was bad,translate with google)

Probably yes
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 20 2020, 16:40
Post #140
rpg95145



Lurker
Group: Recruits
Posts: 6
Joined: 28-July 16


Thanks for update (IMG:[invalid] style_emoticons/default/biggrin.gif)!!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


39 Pages V « < 5 6 7 8 9 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 4th April 2025 - 10:27