Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gallery so slow it is unusable and unnecessarily scales images down #796

Open
euphi opened this issue Sep 23, 2018 · 1 comment
Open

Gallery so slow it is unusable and unnecessarily scales images down #796

euphi opened this issue Sep 23, 2018 · 1 comment

Comments

@euphi
Copy link

euphi commented Sep 23, 2018

The gallery is so slow that it is impossible to use.

I have the problem with two different installations:

  • owncloud 10 und "cubietruck" (arm)
  • owncloud 9 on hosted server (I'm not admin for this installation, so I don't know the details).

Steps to reproduce

  1. Upload some images to a directory
  2. Open the directory in File browser
  3. Click on a image to show it
  4. Click on forward or backward icons

Expected behavior

  • The images shall be shown within 1 seconds.
  • It shall be deliverd in original size, if the original size is reasonably small enough (e.g. < 2MB)

Actual behavior

  • It takes > 20sec for each image to be shown.
  • The images are scaled down to a resolution smaller my screen resolution (4k).

--> I search for performance issues with gallery, but they are all related to thumbnail generation.

However, I'm not interested in the thumbnails, but in the original images.

So, even if the background thumbnail generation causes the extrem slowness of image delivery, this is an major design flaw in the gallery app: The content delivery must have a higher priority than background tasks!

In my cases the images are already scaled down to 4k resolution (file size ~700kB), but the gallery scales them even smaller. THis is not only a waste of CPU ressources, but also looks bad on 4k screens.

Server configuration

"ARMBIAN 5.38 stable Debian GNU/Linux 8 (jessie) 4.14.18-sunxi"

  • PHP 5.6.38-0+deb8u1

cloud server: ownCloud
cloud version: 10.0.9 and 9.something

Updated from an older installation or fresh install:

  • Updated

List of activated apps:

  • default installation

The content of config/config.php:

Config report
{                                                                                                                                                                                                                                                                            
    "system": {                                                                                                                                                                                                                                                               
        "instanceid": "oc08cc1f674a",                                                                                                                                                                                                                                         
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                      
        "secret": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                            
        "datadirectory": "\/var\/www\/owncloud\/data",                                                                                                                                                                                                                        
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",",                                                                                                                                                                                                                    
        "asset-pipeline.enabled": true,                                                                                                                                                                                                                                       
        "trusted_domains": [                                                                                                                                                                                                                                                  
           ***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                                              
            "192.168.0.220",                                                                                                                                                                                                                                                  
            "localhost"                                                                                                                                                                                                                                                       
        ],                                                                                                                                                                                                                                                                    
        "dbtype": "mysql",                                                                                                                                                                                                                                                    
        "version": "10.0.9.5",                                                                                                                                                                                                                                                
        "dbname": "owncloud",                                                                                                                                                                                                                                                 
        "dbhost": "localhost",                                                                                                                                                                                                                                                
        "dbtableprefix": "oc_",                                                                                                                                                                                                                                               
        "dbuser": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                            
        "dbpassword": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                        
        "installed": true,                                                                                                                                                                                                                                                    
        "theme": "",                                                                                                                                                                                                                                                          
        "maintenance": false,                                                                                                                                                                                                                                                 
        "memcache.local": "\\OC\\Memcache\\APCu",                                                                                                                                                                                                                             
        "forcessl": true,                                                                                                                                                                                                                                                     
        "loglevel": 2,                                                                                                                                                                                                                                                        
        "trashbin_retention_obligation": "auto",                                                                                                                                                                                                                              
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
        "mail_smtpmode": "php",                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
        "mail_domain": "***REMOVED SENSITIVE VALUE***"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
    }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
}    

Are you using external storage, if yes which one: local folder, smb share, sftp, etc.

  • no

Are you using encryption: yes/no

  • no file encryption
  • SSL (ngingx)

Are you using custom gallery.cnf config files: yes/no

  • no

Web server error log

  • no errors when accessing files

Cloud log

  • no errors when accessing files

Client configuration

  • all clients affected

Browser log

  • n/a
@DeepDiver1975
Copy link
Member

We will deliver y new gallery implementation in the scope of phoenix owncloud/web#249

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants