Skip to content
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

recieved 4294962489-bytes data exceeding the limit 1048560 bytes #158

Closed
yinhm opened this issue Apr 10, 2015 · 6 comments
Closed

recieved 4294962489-bytes data exceeding the limit 1048560 bytes #158

yinhm opened this issue Apr 10, 2015 · 6 comments

Comments

@yinhm
Copy link

yinhm commented Apr 10, 2015

I have seen a lot of this exceeding limit error after rev 4320b5b:

2015/04/10 14:35:47 transport: http2Server connection error: desc = "recieved 4294958892-bytes data exceeding the limit 1048560 bytes"

Server and client are running at the same grpc-go version. This happens when I have 1020 clients consume jobs, then streaming updates to server, request speed is about 1001000/s.

What version of Go are you using (go version)?
go version go1.4.2 linux/amd64

What operating system and processor architecture are you using?

Linux instance-1 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

@dsymonds
Copy link
Contributor

That number is -8404, overflowed into a uint32. It sounds like some maths went wrong somewhere along the line in the grpc-go code.

@yinhm
Copy link
Author

yinhm commented Apr 11, 2015

@dsymonds Sounds logic.

There is no way client send that much data. Also, the counted bytes are random, eg:

2015/04/10 14:39:05 transport: http2Server connection error: desc = "recieved 4294959553-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:08 transport: http2Server connection error: desc = "recieved 4294955938-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:09 transport: http2Server connection error: desc = "recieved 4294963741-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:10 transport: http2Server connection error: desc = "recieved 4294964600-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:15 transport: http2Server connection error: desc = "recieved 4294962664-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:25 transport: http2Server connection error: desc = "recieved 4294957419-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:28 transport: http2Server connection error: desc = "recieved 4294959790-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:28 transport: http2Server connection error: desc = "recieved 4294960371-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:31 transport: http2Server connection error: desc = "recieved 4294958567-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:33 transport: http2Server connection error: desc = "recieved 4294965801-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:35 transport: http2Server connection error: desc = "recieved 4294966930-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:38 transport: http2Server connection error: desc = "recieved 4294959610-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:44 transport: http2Server connection error: desc = "recieved 4294962618-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:52 transport: http2Server connection error: desc = "recieved 4294960581-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:54 transport: http2Server connection error: desc = "recieved 4294962832-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:39:59 transport: http2Server connection error: desc = "recieved 4294966675-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:40:04 transport: http2Server connection error: desc = "recieved 4294966801-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:40:08 transport: http2Server connection error: desc = "recieved 4294965389-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:40:20 transport: http2Server connection error: desc = "recieved 4294952903-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:40:29 transport: http2Server connection error: desc = "recieved 4294956834-bytes data exceeding the limit 1048560 bytes"
2015/04/10 14:40:32 transport: http2Server connection error: desc = "recieved 4294960782-bytes data exceeding the limit 1048560 bytes"

@iamqizhao
Copy link
Contributor

is there a way I can reproduce this?

@iamqizhao
Copy link
Contributor

This could be fixed by #160 already. Can you sync the repo and retry? Let me know if it still sustains. In meanwhile, I will add a new end2end test case to mimic your use case next week.

@yinhm
Copy link
Author

yinhm commented Apr 12, 2015

@iamqizhao Sorry, I may not be able to reproduce this. I encountered this issue when archiving our feed at friendfeed, https://github.com/yinhm/friendfeed

Since friendfeed was closed, I have no longer be able to reproduce. So sad.

@iamqizhao
Copy link
Contributor

This should be fixed by #162. I reproduced the error you got with the existing test cases.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants