bsc icon indicating copy to clipboard operation
bsc copied to clipboard

Limited rpc response size

Open joleeee opened this issue 2 years ago • 2 comments

System information

I'm on a fork based on commit v1.1.10 (2f2b98abb26a3833d76daf1a9a1a660e517b1459), which has a new rpc method

Issue

It freezes when i make a request that would return data > 16MiB. I cannot find where this limit is defined, searched for 16777216, etc, in source, to no avail.

Could this be made into a cli flag, or could i be pointed to where this limit is defined?

I'm reporting this here and not upstream as I do not know if this is a bsc-geth specific thing.

joleeee avatar May 17 '22 18:05 joleeee

Hi @joleeee , May I know which rpc method you use? and I can do some tests.

j75689 avatar May 19 '22 02:05 j75689

Maybe you can simply use dlv to attach to your process, and then:

goroutines -t

You may find out where it got stuck.

On Wed, May 18, 2022 at 2:31 AM jole @.***> wrote:

System information

I'm on a fork based on commit v1.1.10 ( 2f2b98abb26a3833d76daf1a9a1a660e517b1459), which has a new rpc method Issue

It freezes when i make a request that would return data > 16MiB. I cannot find where this limit is defined, searched for 16777216, etc, in source, to no avail.

Could this be made into a cli flag, or could i be pointed to where this limit is defined?

I'm reporting this here and not upstream as I do not know if this is a bsc-geth specific thing.

— Reply to this email directly, view it on GitHub https://github.com/bnb-chain/bsc/issues/914, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTXTCMTL3GK6KGNJYYKALDVKPQZBANCNFSM5WF2O5KA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

wellttllew avatar May 19 '22 02:05 wellttllew