Comment to 'Albums module causing my site/NGINX to freeze'
  • I have a new update on this issue. I checked the sys_transcoder.log. There are dozens of repeating errors using two errors:

    Dec 17 01:16:32 [20] /image_transcoder.php?o=bx_albums_browse&h=9&dpx=1&t=1734397923 [bx_albums_browse] ERROR: applyFilter_Resize failed for file (/var/www/example_site_usr/data/www/example.site/tmp/picture1.jpg): Unsupported image type text/html. GD driver is only able to decode JPG, PNG, GIF, BMP or WebP files.
    Dec 17 01:24:08 [3] /image_transcoder.php?o=bx_albums_big&h=8&dpx=1&t=1734398346 [bx_albums_big] ERROR: storeFileLocally_Storage failed, getting file from URL(https://example.site/s/bx_albums_files/gn4s3wmfrj5d5jttkf4qdcxtdnzu74Tg.jpg) failed
    

    I am going to check the size limits in the php.ini files.

    • My post_max_size was 8MB. I changed it to 75MB. The upload_max_filesize was 2MB. I changed it to 25MB. This helped to load the images faster. But I am still not able to correctly create a new album.

      • I checked the php-fpm log. It reports the following, so I'm going to take action on this:

        [18-Dec-2024 00:13:32] NOTICE: fpm is running, pid 36133
        [18-Dec-2024 00:13:32] NOTICE: ready to handle connections
        [18-Dec-2024 00:13:32] NOTICE: systemd monitor interval set to 10000ms
        [18-Dec-2024 00:15:08] WARNING: [pool example.site] server reached pm.max_children setting (2), consider raising it
        [18-Dec-2024 00:36:31] NOTICE: Terminating ...
        [18-Dec-2024 00:36:31] NOTICE: exiting, bye-bye!
        [18-Dec-2024 00:36:31] NOTICE: [pool example.site] pm.start_servers is not set. It's been set to 1.
        
        • I accessed my PHP-FPM settings in FASTPANEL and changed the max_children to 50. I then restarted server services and cleared the site cache. This solved the issue of the Albums module freezing my site.