Project

General

Profile

Actions

Bug #33770

closed

Discovery generates too many notifications

Added by Guilherme M. Schroeder about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

In an enviroment with about 300 hosts in "Discovered hosts" and ~100 users, Foreman creates too many notifications in the database (this is 5 days):

foreman=# select count(*) from notification_recipients;
count
----------
10258704
(1 row)

There's a cron job that runs every Sunday to clean that but I think it's not enough.

And because it's so large, when creating a new VM, a delete query can take more than 2 minutes, making hammer/foreman time out.

Actions

Also available in: Atom PDF