Performance extremely slow

Created on 11 April 2022, about 3 years ago
Updated 21 June 2023, almost 2 years ago

Problem/Motivation

I am using a cloudfoundry environment of my client. The problem is that the loading of images (and styles) is extremely slow. As in 1 minute waiting time. That is when I load a page with 1 image. When i am on a page with a lot of small images (thumbs) the image's don't even load. In the end there is a connection timeout forced by the webserver.

When I test the configuration is does work. When i upload files it also works.

When I use a client, e.g. 'cyberduck' on my macbook and i connect to the same storage with the same credentials, the images can be downloaded pretty quickly.

Anyone has a hunch where I can start to find the cause of this?

Steps to reproduce

Installed this module, configured all the parameters in the config file. Tried to play around with some parameters (disable ssl verification, cache credentials, etc) but did not work out. Issue remains the same.


// S3 File storage config
$config['s3fs.settings']['use_customhost'] = true;
$config['s3fs.settings']['use_path_style_endpoint'] = true;
$config['s3fs.settings']['bucket'] = 'bucket-id';
$config['s3fs.settings']['hostname'] = 'https://internal.s3.storage:8082';
$config['s3fs.settings']['region'] = 'amsterdam';

$config['s3fs.settings']['public_folder'] = 'public';
$config['s3fs.settings']['private_folder'] = 'private';

πŸ’¬ Support request
Status

Closed: cannot reproduce

Version

3.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Marceldeb

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    @Ambient.Impact

    Were you able to test with Guzzle 7 to see if that cleared up the errors?

  • πŸ‡¨πŸ‡¦Canada ambient.impact Toronto

    @cmlara I haven't had time to do so just yet but I'm thinking of trying to create a reduced case by deploying a basic Drupal site to DigitalOcean App Platform with S3FS installed to see if I can reproduce the problem and log there. If I can't, I can try to log on our complex site again. Will get back to you when I've had time to do that. Thanks for all your awesome work on this and other stuff, by the way.

  • Status changed to Closed: cannot reproduce almost 2 years ago
  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    With no reproducible data for an issue provided I'm going to close this issue out as cannot reproduce.

    ✨ Add peformance reporting sub-module Active is a feature-request that might allow for making performance validation easier in the future.

  • πŸ‡¨πŸ‡¦Canada ambient.impact Toronto

    @cmlara I wanted to say thanks for all the help here! Drupal core 10.1 with the new aggregation system, setting an assets path to the local file system, and with uninstalling AdvAgg (as core now does what we needed it for) have essentially fixed this problem for us.

Production build 0.71.5 2024