Hey guys, any progress on the CPU usage of rudder ...
# support
w
Hey guys, any progress on the CPU usage of rudder server for a small site with 2M events / month?
b
@wooden-notebook-24208 FYI, working on responding to this
✅ 1
w
Thank you!
c
@wooden-notebook-24208 We could reproduce this but haven't picked it up for fixing yet. We will prioritize this and push it in our next release (2 weeks).
✅ 1
b
@wooden-notebook-24208 following up on this - it is released. you can set the following envs:
Copy code
RSERVER_PROCESSOR_FIXED_LOOP_SLEEP_IN_MS
RSERVER_ROUTER_FIXED_LOOP_SLEEP_IN_MS
Ex: To set the sleep to 3 seconds, they can do the following
RSERVER_PROCESSOR_FIXED_LOOP_SLEEP_IN_MS=3000
RSERVER_ROUTER_FIXED_LOOP_SLEEP_IN_MS=3000
note that however much sleep you set, that much delay is added in delivery of events (6 seconds in the above example). for most of the use cases, adding a few seconds delay should be fine. the max delay we would recommend would be 6 seconds, the average is 3
w
Thank you @busy-monkey-10873, config added and docker updated and restarted. Will let you know how it goes.
b
great
w
There are many processes opened. Is that normal?
c
This is not normal. Seems like a configuration bug to me. Docker compose should be starting only one rudder-server process. @wooden-notebook-24208