Compared to some things I've seen, Mantis timeout issues are relatively minor.
Our material/maintenance management system at work, recently, had an issue where it was issuing database queries of around 1GB every time I did a specific thing. That specific thing being the core of my job...
Surprisingly enough, things got far far far faster once they fixed that one!