-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjusted frame length exceeds 1300000000 #4244
Comments
@dnickless so quick question - are you messages genuinely pretty large? If you enable |
Hi @Aaronontheweb , this is Daniel - we met in Zurich in December. You should know our system pretty well. ;) Messages are not really large (not small but not insane)... Problems generally appear to mainly happen during some kind of stress situation (e.g. machine low on RAM --> swapping --> perf. degradation) from what I can tell. |
Well well! Hi Daniel! The other possibility is that you could be getting nicked by this bug: #3879 That's caused by a problem with how we use DotNetty reference counting and I'm going to fix it by simply not pooling bytes in that particular area, since it seems to be rather error-prone (we can't tell what DotNetty is doing with referencing counting internally all that easily.) But I would recommend turning that setting on and see if you get warnings about large message sizes. I'll add another comment to here once #4212 gets merged on how to add compression to outbound and inbound messages just in case you're not already doing that. |
1300000000 bytes does seem a bit absurd (I'm confident Akka.Remote would time out trying to receive and deserialize an object that large) so I'm leaning towards the DotNetty headers being framed incorrectly. |
@Aaronontheweb I've read your answer:
I set
I see that the reason is in incorrect config value: So I checked the docs (https://getakka.net/articles/configuration/akka.remote.html) and it tells that:
So in my view it looks like your suggestion to set it to If I'm wrong please correct me what I did wrong :) |
We encounter errors in production using Akka.NET v1.3.15 and DotNetty v0.6.0 running on Windows.
I was hoping those issues would be gone after #3327 but it would appear like they are not. Any ideas?
The text was updated successfully, but these errors were encountered: