This sort of seemed to work in staging (although there is some issue
with staging koji).
So, lets try it in production. It will make all the boostrap repo regens
a little slower, but it should get epel8 back working hopefully for now.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
lets try setting the opt to download filelists for the bootstrap chroot.
This is needed for epel8 because the deps for dnf need to resolve
/usr/libexec/platform-python and cannot due to f40 dnf not downloading
filelists by default anymore.
This will affect all bootstrap chroot creation, but it seems the
simpilest solution without changes in koji.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
Mailman has huge memory spikes after migration, those are caused by visiting
`/archives/search` URL. This is probably because of the search index still being
regenerated.
This patch will disable the search from both web UI and as a HTTP URL endpoint.
Fixes https://pagure.io/fedora-infrastructure/issue/12043
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
The fedora messaging plugin needs to have MemoryDenyWriteExecute=no
The default is yes, and it causes it to not work at all.
We should probibly investigate and fix this if we can so we can enable
this protection someday.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
To be able to enable timer it needs to have WantedBy in [Install] section. Let's
add a hyperkitty.target to that section.
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is setting both mailman and hyperkitty to devmode and doesn't allow
them to sent mails anywhere.
I tested that from web UI and using `mail` command on the machine.
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
The configuration does the right thing now, but add the warning
nonetheless, so subsequent changes are less likely to be breaking.
Signed-off-by: Nils Philippsen <nils@redhat.com>
Set django to have 4 workers and have a retry longer than the timeout.
Disable local memcached and use the memcached01 instance.
Enabled debug logging on gunicorn to see what it's doing.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
These are passed to str.format() which confusingly doesn’t expect quotes
around dictionary keys and adds them to the looked up key string,
yay!
Related: #183
Signed-off-by: Nils Philippsen <nils@redhat.com>
EBS expects to receive notifications for task state changes as well as
the start of repo regeneration. Otherwise, it has to fall back to
polling, which is much slower (and what it has been doing for some time
now).
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Looked at logs of servers being hit by the 'non-responsive' bots and
the following were hit heavily every day multiple times a day:
100006 nagios.fedoraproject.org-access.log
102150 koschei.fedoraproject.org-access.log
162296 lists.fedoraproject.org-access.log
495776 fedoraproject.org-access.log
850471 dl.fedoraproject.org-access.log
Added bloks to dl.fedoraproject to try and lower its hit rate. Others
need review from people who know their internals more.
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
I went through the last couple of logs afer the first round of 'turn
off the spiders' went out. I looked at the areas which the /robots.txt
disregard and then looked for the bots which ignored it and still
looked up stuff in 'accounts'. This may cut down CPU spikes as these
are looking at dynamic data which can 'blow' things up.
It might be good to add similar tooling to pagure and src since they
seem to be hit a lot in the logs also.
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
Previously these regexes only matched a single digit for EPEL paths.
This changes them to match multiple digits, and also to optionally match
a minor version.