Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sensu backend does not provide api port 8080 anymore #4201

Closed
runningman84 opened this issue Feb 5, 2021 · 7 comments
Closed

sensu backend does not provide api port 8080 anymore #4201

runningman84 opened this issue Feb 5, 2021 · 7 comments

Comments

@runningman84
Copy link

Expected Behavior

The sensu backend should run fine for days...

Current Behavior

After a few days of operation, the sensu backend does not expose the api on port 8080 anymore. The logs look like this:
https://pastebin.com/FjQ6Psc2

Possible Solution

Steps to Reproduce (for bugs)

  1. setup sensu in k8s
  2. connect external etcd store
  3. publish a lot of events

Context

We have an existing sensu classic env with a lot of clients and we try to migrate them to sensu go oss.

Your Environment

  • Sensu version used (sensuctl, sensu-backend, and/or sensu-agent): 6.2.5
  • Installation method (packages, binaries, docker etc.): docker in k8s aws eks
  • Operating System and version (e.g. Ubuntu 14.04): amazon linux ami for eks
@sensu-discourse
Copy link

This issue has been mentioned on Sensu Community. There might be relevant details there:

https://discourse.sensu.io/t/sensu-classic-vs-sensu-go-scalability/2438/1

@portertech
Copy link
Contributor

It seems etcd was overwhelmed with the load put onto the cluster, putting the cluster into an unrecoverable crash-loop. The postgres store is a feature designed to address the scaling issues around etcd, perhaps spin up a postgres instance and try to reproduce the issue once again?

@runningman84
Copy link
Author

Does the oss version support postgres datastore at all? The etcd cluster running in k8s did not throw any error.

I do not think that the sensu-go free version with the 100 entity limit would suffer from any problem...

@portertech
Copy link
Contributor

An OSS build does not contain the Postgres store.

@acrawly
Copy link

acrawly commented Sep 27, 2021

An OSS build does not contain the Postgres store.

We tried scaling etcd to 7 nodes (using the embedded etcd install) and this issue still persisted with 12k events / 600 entities.

@echlebek
Copy link
Contributor

echlebek commented Feb 9, 2022

We recently found and fixed an issue where Sensu was crashing and deadlocking on its way there. That issue has now been patched, so overloaded Sensu instances should crash properly instead of deadlocking.

@echlebek echlebek closed this as completed Feb 9, 2022
@echlebek
Copy link
Contributor

echlebek commented Feb 9, 2022

For context, here is the papertrail #4461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants