You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a nsqd instance is configured to publish statsd metrics without memory stats (defaults to true) and there are no topics on the instance, the length of the buffer at flush interval will be zero, resulting in a divide by zero error.
Workaround by publishing memory stats, or creating a topic.
The text was updated successfully, but these errors were encountered:
mreiferson
changed the title
NSQd with statsd, no mem stats, no topics, panics divide by zero
nsqd: panic when statsd enabled and memstats disabled with no topics
Feb 11, 2023
https://github.com/nsqio/nsq/blob/master/internal/writers/spread_writer.go#L32
If a nsqd instance is configured to publish statsd metrics without memory stats (defaults to true) and there are no topics on the instance, the length of the buffer at flush interval will be zero, resulting in a divide by zero error.
Workaround by publishing memory stats, or creating a topic.
The text was updated successfully, but these errors were encountered: