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


High cpu load while mounting shares via Webdav on macOS Finder - Apache2 missing mod_php



  • Hello Team,

    according to the Nextcloud docs Apache is required to include mod_php in order to be able to mount shares via Webdav on macOS without any flaws. Currently we suffer from the issue described in the docs. It leads to high cpu load and an unresponsive Finder.

    I just checked the our current installation which is Nextcloud 19.0.4. Calling apache2ctl -M inside the docker instance does not report mod_php. Is there any reason why it is not included?

    Kind regards


  • Staff

    I think @girish was already investigating on this front. Generally the current setup is not ideal in how php is executed. But I don't know the details and not sure if mod_php is the best solution. It is on our roadmap to fix that though.



  • Thank you, I see! At least mod_php is recommended in the official docs in order to avoid running into that issue. Alternatively they suggest to use Nginx 1.3.8+ instead of Apache as a webserver.


  • Staff

    @ctrl Cloudron package uses apache + mod_php. The high CPU load issue is probably because of something else.

    # apache2ctl -M             
    AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.24. Set the 'ServerName' directive globally to suppress this message
    Loaded Modules:
     core_module (static)
     ...
     php7_module (shared)
    ...
    

Log in to reply