public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* mysql/patchwork overload
@ 2023-12-26  5:28 Mark Wielaard
  2023-12-27 19:44 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2023-12-26  5:28 UTC (permalink / raw)
  To: overseers; +Cc: patchwork-admin

Hi,

I haven't done a full analyzis yet, but from aprox 03:53 to 04:33 UTC
mysqld was completely overloaded taking 20+ cores are 100%. At the
same time patchwork was sending 1000+ emails to the patchwork admins
about being unable to access mysql. So I assume this was a spider/bot
attack on patchwork. But it also took out bugzilla.

For now all I did was stop patchwork, restart mysql and then started
patchwork again. This seems to have resolved the issue for now.

I also added one specific ip address 47.76.35.19 (Alibaba Cloud) to
the block.include list that did about ~20.000 requests to patchwork
around that time.

The same ip address was blocked earlier (December 8th) because it was
doing a great amount of bugzilla buglist queries. In the Christmas
spirit it was unblocked a few days ago. But I cannot say I am feeling
the Christmas spirit right now.

It might just have been lots of requests, but an analysis of which
specific queries cause mysqld to use up so much cpu time would be
helpful.

Merry Christmas,

Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-27 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-26  5:28 mysql/patchwork overload Mark Wielaard
2023-12-27 19:44 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).