https://questdb.io logo
Title
f

Franco Almonacid

03/07/2023, 5:38 PM
Hi guys! is there a way to restart the HTTP server?
a

Alex Pelagenko

03/07/2023, 6:19 PM
you can restart questdb
f

Franco Almonacid

03/07/2023, 6:28 PM
That's what we did, but it would be even better to be able to restart the HTTP server to prevent any loss of real-time data ingestion
we insert data using ILP which was working well, we only had problems with the web console
a

Andrey Pechkurov

03/07/2023, 7:02 PM
Why do you need to restart HTTP server only? We'd like to understand the problem better before suggesting something
f

Franco Almonacid

03/07/2023, 7:22 PM
We were debugging an issue. We have this config
QDB_HTTP_WORKER_COUNT=2
QDB_HTTP_WORKER_AFFINITY=5,6
Those 2 CPU were 100% in use all the time, and the web console stopped responding while the queries that we ran via psql and the ILP inserts were working just fine.
We ran queries using the web console, and although they all finished successfully, the two workers continued to run at 100% for some reason
a

Andrey Pechkurov

03/08/2023, 6:47 AM
That's weird. They should start sleeping after a few millis if there is nothing to do.