• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Problem with image uploading

Version
4.1.4
PHP version
8.1.2-1ubuntu2.21
Database driver
MySQL
Database version
8.0.41-0ubuntu0.22.04.1
Web browser
Chrome and Firefox

korosa

Chevereto Member
Please help me solve the problem. Images and videos take a very long time to process when uploading to the site. The upload to S3 itself is fast, but the "processing" takes a long time — around 20 seconds per image or video. As a result, uploading a folder with around 100 files takes a lot of time.

It's important to note that the upload directly to the server is fast. What could be the issue? I’ve tried different S3 services, and the problem doesn’t seem to be related to that.

33fps upload

GIF 15.04.2025 23-31-31.gif
 
Processing doesn't take that long, check if you have a proxy without a cap on post body max size.

When using a proxy (for example nginx) you may configure a body max size which when unlimited cause the connection to keep waiting for several seconds.
 
Processing doesn't take that long, check if you have a proxy without a cap on post body max size.

When using a proxy (for example nginx) you may configure a body max size which when unlimited cause the connection to keep waiting for several seconds.
Thank you for your response. However, I'm using Apache, so this probably isn't suitable for me. Could you suggest any other options? Thx
 
around 20 seconds per image or video
In that context the most expensive CPU call is the hashing function on the uploaded file, which up to 4.2.5 uses md5 (and it does it twice). There's an RFC for upgrading to xxh64, which will be merged in 4.3.0.

md5 hashing is only a concern for files of certain size (64 MB up?), for small files it should be instant. You should also check the network responses.

You could try using xrDebug to determine where it goes slow.

PHP:
// <actual code>
xr(__LINE__);
// <actual code>

By adding xr(__LINE__) you will get the line in the debugger plus its time, by doing this you can label the code at different parts and determine how long does it take to get there by simply running Chevereto.
 
Back
Top