5.0 RC slow image loading and freezes (PHP 7.4 fpm)
Upgraded 2 nodes using PostgreSQL to 5.0 RC1 and it went well.
On the bigger node (100 000 photo table records in zot6 convert) noticed site going gradually slower, especially loading of images and icons delayed, until finally not responding with 504 Gateway timeout.
The load of the server in freeze situation is 0.4 so it is not in overloading server resources.
Unfortunately, cannot find any detail where is the problem, restarting the environment helps to bring it back immediately but in some time it gets stuck again.
Takes 20 - 30 secs waiting to load channel photos and all user icons - not only channel view, Photos app, Contacts app... so i guess problem is in loading the images from DB.
Postgre 12/PHP 7.4 - environment identical as it was for 4.6