I installed OJS from GitHub main branch today. Unfortunately, the TTFB is quite high (~6s). I’ve one journal with 200 articles indexed.
Some details of my configuration are given below. I would appreciate any advice on where to start debugging.
OJS version 22.214.171.124
Server version: Apache/2.4.37
PHP version 8.0.13 (with PHP-FPM)
# Process manager configuration in /etc/php-fpm.d/www.conf
pm.max_children = 300
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 20
pm.max_requests = 2000
OJS 3.4.0 isn’t released yet, and we have some major commits to merge before it’s ready – in the meantime it’s unsupported and unstable; I would recommend working with the
stable-3_3_0 branch on Github or the released
However, if you’re still wanting to work with OJS
main for development reasons:
- Is this just for the first hit to the page during e.g. installation? If so, there are some new compilation/caching processes that could be making this slow.
- Can you double-check that the
cache directory is writable by OJS?
Public Knowledge Project Team