Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    What is the RAM usage for this?

    OmekaS
    4
    6
    353
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scooke
      scooke last edited by

      Can someone share the RAM usage for OmekaS running in it's own container, versus running it in a LAMP container, please?

      A life lived in fear is a life half-lived

      jeau 1 Reply Last reply Reply Quote 0
      • jeau
        jeau App Dev @scooke last edited by

        @scooke said in What is the RAM usage for this?:

        Can someone share the RAM usage for OmekaS running in it's own container, versus running it in a LAMP container, please?

        I didn't watch that and I have no more Omeka installation on LAMP 😉

        I increased the RAM default requirement to 50OMB because there may be some batch jobs or graphics processing, for example with the IIIF modules. Some modules also require packages that are not necessarily provided with the LAMP app (but I didn't check)

        imc67 1 Reply Last reply Reply Quote 2
        • imc67
          imc67 translator @jeau last edited by

          @jeau @scooke I have it in a test LAMP app with its default 256MB and now it’s indeed 500MB. I guess it’s good.

          However if you check within the app Systeminformation it says:

          Memory Limit 128M
          POST Size Limit 64M
          File Upload Limit 64M

          The memory limit is only 128MB?
          With only 64MB upload you can’t upload a video if needed, maybe it could be increased to 1GB?

          BTW @jeau you did a very good job with presenting and building this app!!

          jeau 1 Reply Last reply Reply Quote 2
          • jeau
            jeau App Dev @imc67 last edited by

            @imc67 these values are defined (by Omeka app Dockerfile) in /etc/php/7.4/apache2/php.iniand refer to mod_php sessions for Apache.

            ; Maximum amount of memory a script may consume (128MB)
            ; http://php.net/memory-limit
            memory_limit = 128M
            
            ; Maximum size of POST data that PHP will accept.
            ; Its value may be 0 to disable the limit. It is ignored if POST data reading
            ; is disabled through enable_post_data_reading.
            ; http://php.net/post-max-size
            post_max_size = 64M
            
            ; Maximum allowed size for uploaded files.
            ; http://php.net/upload-max-filesize
            upload_max_filesize = 64M
            

            To upload large files, Omeka users prefer to use the FileSideload module.

            girish 1 Reply Last reply Reply Quote 2
            • imc67
              imc67 translator last edited by

              @jeau said in What is the RAM usage for this?:

              To upload large files, Omeka users prefer to use the FileSideload module.

              O, ok, that’s a good learning, thanks!

              1 Reply Last reply Reply Quote 3
              • girish
                girish Staff @jeau last edited by girish

                @jeau For the PHP apps, we follow the customizable php.ini pattern. Line 26-29 basically. This way people can tweak those values as needed. One important thing to remember when packaging this way is that the app's WORKDIR has to be set to /app/code and not /app/data because apache behaves differently when it is started in a directory which has php.ini in it!

                1 Reply Last reply Reply Quote 3
                • First post
                  Last post
                Powered by NodeBB