Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#40822 - Arch Linux forum server crash reproducible
Attached to Project:
Arch Linux
Opened by David Couzelis (drcouzelis) - Thursday, 12 June 2014, 18:28 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 15 August 2021, 21:13 GMT
Opened by David Couzelis (drcouzelis) - Thursday, 12 June 2014, 18:28 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 15 August 2021, 21:13 GMT
|
DetailsDescription:
I can bring down the Arch Linux forum server. I discovered this accidentally. :( Additional info: The forums went down this morning. I had no idea why. I figured it was just some random problem with the server. I then saw posts from other people about having trouble accessing the forums: https://bbs.archlinux.org/viewtopic.php?id=182751 https://bbs.archlinux.org/viewtopic.php?id=172901 So then I thought, "Hmmm... The forum went down just as I did something I rarely do on it. Maybe... I caused it?" After a few hours and the forum coming back online I decided to do a little test by doing the same thing that I did previously. Aaaaand BOOM! Down went the forums again. :( :( Steps to reproduce: Go the search page. With the default search options selected, do a search for this term (without quotes): "*rxvt*" The forum is now inaccessible. It came back after about 10 minutes. (To anyone reading this report, please don't do this. Seriously. I don't want the forums to go down any more. I need them.) I hope there is a way to disable the ability to do searches like this or something. |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Sunday, 15 August 2021, 21:13 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed/worked around in archbbs commit 2cc50bea33fc.
Sunday, 15 August 2021, 21:13 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed/worked around in archbbs commit 2cc50bea33fc.
Also, we know that the search is terrible. It's not us, it's FluxBB.
Query_time: 243.218009 Lock_time: 0.000305 Rows_sent: 17672 Rows_examined: 130164753 Rows_affected: 0
1) A quick fix would be to remove any '*'. ATM it seems the code replaces every * with a % which is insane. I deployed this fix for now which disables any complex search queries.
2) The real solution would be to use something like Elasticsearch as we approach a huge amount of postings in our forums which FluxBB simply cannot handle. Funny enough I am currently evaluating Elastic search for archlinux.de.
For now I'd say we could live with this; at least till people complain.
[1] https://github.com/llaumgui/fluxsphinx
I'd assume building a search service separate from Fluxbb might be a valid idea.