StarRocks / starrocks

StarRocks, a Linux Foundation project, is a next-generation sub-second MPP OLAP database for full analytics scenarios, including multi-dimensional analytics, real-time analytics, and ad-hoc queries.
https://starrocks.io
Apache License 2.0
8.74k stars 1.75k forks source link

mem_limit for BE instructions are incorrect #29631

Closed alberttwong closed 7 months ago

alberttwong commented 1 year ago

mem_limit for BE instructions are incorrect at https://docs.starrocks.io/en-us/latest/administration/Configuration


Rishabh Kaushal Getting java.net.ConnectException: Connection refused (Connection refused) error for the backend when restarting docker container after increasing the mem_limit for BE processes. Any suggestions on how we can fix this? SR is using registry.starrocks.io/starrocks/allin1-ubuntu:latest image. Following is what I added in /data/deploy/starrocks/be/conf/be.conf mem_limit=50GB # manually added priority_networks = 127.0.0.1/32 logs: root@79a7ae6801ac:/data/deploy/starrocks/be/log# cat be.WARNING

W0821 18:04:22.918776 3325 task_worker_pool.cpp:631] Fail to report disk state to 127.0.0.1:9020, err=-1 W0821 18:04:23.918731 3328 utils.cpp:95] Fail to get master client from cache. host=127.0.0.1 port=9020 code=THRIFT_RPC_ERROR W0821 18:04:23.918746 3328 task_worker_pool.cpp:758] Fail to report resource_usage to 127.0.0.1:9020, err=-1 E0821 18:15:01.218724 570 starrocks_main.cpp:275] Failed to parse mem limit from '"50GB"'. E0821 18:15:02.712519 2939 starrocks_main.cpp:275] Failed to parse mem limit from '"50GB"' (edited) 4 replies

Allen Li 50G not "50G"

Rishabh Kaushal tried that too: E0821 18:40:10.611794 4215 starrocks_main.cpp:275] Failed to parse mem limit from '50GB'. E0821 18:40:14.140839 5860 starrocks_main.cpp:275] Failed to parse mem limit from '50GB'.

Allen Li 50G not 50GB have a try. I think it may be a optimization.

github-actions[bot] commented 7 months ago

We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!