stalwartlabs / mail-server

Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP)
https://stalw.art
5.07k stars 206 forks source link

[bug]: stalwart-mail consume 100% cpu and hanging #702

Closed ngocnha closed 2 months ago

ngocnha commented 2 months ago

What happened?

Stalwart-mail consume 100% cpu and hang

How can we reproduce the problem?

The application hangs a few seconds after starting. Exactly when did the error "Failed to fetch http://data.phishtank.com/data/online-valid.csv" occur?

Version

v0.9.x

What database are you using?

None

What blob storage are you using?

None

Where is your directory located?

None

What operating system are you using?

Linux

Relevant log output

2024-08-21T01:00:53Z WARN Sieve runtime error (sieve.runtime-error) listenerId = "smtp", localPort = 25, remoteIp = 147.185.242.9, remotePort = 47324, id = "spam-trap", details = Unknown store, details = Sieve runtime error
2024-08-21T01:00:54Z INFO Spam list updated (spam.list-updated) url = "https://openphish.com/feed.txt", total = 500
2024-08-21T01:00:54Z WARN Sieve runtime error (sieve.runtime-error) listenerId = "smtp", localPort = 25, remoteIp = 147.185.242.9, remotePort = 47324, code = 429, url = "http://data.phishtank.com/data/online-valid.csv", details = Failed to fetch remote list, details = Sieve runtime error

Code of Conduct

ngocnha commented 2 months ago

Perhaps it's because I misconfigured something in server.http.url. The fact that it gets stuck at the event "Failed to fetch " is probably just a coincidence that happened multiple times.