Skip to content

CPU spike #1564

@Devika7733

Description

@Devika7733

Describe the bug

Hi Team,

I am experiencing a CPU spike when loading Gatus on Kubernetes with Postgres as the backend. I have added the following config:

storage:
path: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_SERVER}:5432/${POSTGRES_DB}?sslmode=require
type: postgres
caching: true
maximum-number-of-results: 180000
maximum-number-of-events: 200

DB config is: Burstable, B1ms, 1 vCores, 2 GiB RAM, 64 GiB storage

However, I am still seeing a spike after 5–6 hours. I am using version v5.35.0. I have nearly 524 endpoints for monitoring.

What do you see?

Spike in CPU usage even after giving maximum-number-of-results and maximum-number-of-events values. Cpu is getting increased after 4-5 hours then continue so for a long period.

Image

What do you expect to see?

No response

List the steps that must be taken to reproduce this issue

No response

Version

v0.35.0

Additional information

Application is deployed on k8 and Using azure DB with config : Burstable, B1ms, 1 vCores, 2 GiB RAM, 64 GiB storage

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions