• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

How much server memory is needed for Chevereto?

dr_brown

Chevereto Member
After switching to Google Cloud when mass uploading pictures in the logs I get

AH01215: mmap() failed: [12] Cannot allocate memory, referer:

1024 MB installed on the server
 
After switching to Google Cloud when mass uploading pictures in the logs I get

AH01215: mmap() failed: [12] Cannot allocate memory, referer:

1024 MB installed on the server

About how much pictures we are talking about?
For such a small RAM you need at least >4GB swap, depending on the quantity & size of the files.
 
100 pcs per 1 upload, image 3.5 - 4.5 mb

1592507492568.png

if you set a memory limit of 1024 MB I get an internal server error and the error that I cited in the logs above
 
hmm that's roughly 500MB, shouldn't be a issues.

Could you more specific with your setup?

How much free memory do you have normally?
Whats your memory limit for php?
 
sorry could not edit my post in time...

You can't set the same amount of your memory for php only. that is the reason for the error.
Also hitting the limit of php with one upload. Better Upload in 2 Parts, with such a small amount of RAM.
 
As long you don't give php all your memory (1024MB), you're fine.

You can try with 512MB, but I would not use more than 3 Upload Slots, just play around till you hit the golden spot, with php memory_limit and Upload threads.
 
I have 3 Gigs of RAM which is overkill. I very, very, rarely ever use over 1 gig of RAM at any given time. I'm hosting in the millions of images.

I have 15,533,125 requests to my server each day.
 
Last edited:
Back
Top