**Website very slow **
Hello pkp team,
I installed a new server Debian 12 with php 8.1 and mariadb 10.11.3 and apache webserver
I upgraded OJS from 3.3.0.8 to 3.3.0.15 under windows 10 then moved the site to debian.
Everything is ok except loading time of journals’s home pages and article pages, also administration page, it takes some time to load.
here is my apache errors log :
[Mon Sep 04 16:37:34.818704 2023] [php:notice] [pid 21399] [client 66.249.66.163:55814] ojs2: 404 Not Found
[Mon Sep 04 16:41:39.555684 2023] [php:notice] [pid 21409] [client 52.167.144.182:29641] ojs2: 404 Not Found
[Mon Sep 04 16:41:44.668095 2023] [php:notice] [pid 21418] [client 52.167.144.182:21318] ojs2: 404 Not Found
[Mon Sep 04 16:54:13.128406 2023] [php:notice] [pid 21601] [client 52.167.144.16:4479] ojs2: 404 Not Found
[Mon Sep 04 16:54:41.632495 2023] [php:notice] [pid 21634] [client 52.167.144.16:4433] ojs2: 404 Not Found
[Mon Sep 04 16:56:28.108158 2023] [php:notice] [pid 21635] [client 66.249.66.163:38214] ojs2: 404 Not Found
[Mon Sep 04 16:58:56.928765 2023] [php:notice] [pid 21601] [client 54.36.149.63:35219] ojs2: 404 Not Found
[Mon Sep 04 17:02:14.535350 2023] [php:notice] [pid 21647] [client 52.167.144.22:9160] ojs2: 404 Not Found
[Mon Sep 04 17:03:36.314741 2023] [php:notice] [pid 21641] [client 66.249.66.165:50016] ojs2: 404 Not Found
[Mon Sep 04 17:07:29.970135 2023] [php:notice] [pid 21586] [client 40.77.167.177:2133] ojs2: 404 Not Found
[Mon Sep 04 17:08:59.636994 2023] [php:notice] [pid 21601] [client 66.249.66.164:37005] ojs2: 404 Not Found
The “ojs2: 404 Not Found” error mostly or always is from bots and crawlers.
You can hit F12 on your web browser and reload your homepage and you can check what is loading the most time and figure out what might be the problem.
I suggest to use shift+F5 to refresh the page, holding shift deleted every data you have saved from the web in your browser, so you can see all the requests.
Hi @jhrs
Thank you for the reply,
I already watched the loading details in the chrome developpement tool,
The only bots and crawlers are “google analytics” and “google tag manager”
but still that doesn’t explain all this slowness, and only the journal homepage and the article page are slow to load, the rest of pages like the “about the journal” page (http://revue.umc.edu.dz/index.php/h/about)
are fast …the error.log file shows a lot of (ojs 2: 404 not found)…
Thanks anyway, I will continue my monitoring to find out the problem source…
I will tell you if I find anything
Hello @marc
All the tables are on innodb with utf8mb4 collation
I dont think this is the problem…
I tried many things but never found why the journal homepage is so slow …
Pingdom tells me there is a wait time (TTFB) of 7 to 8 secondes in the first request before the server replies…
Now the question is : what is the first request when we call a journal home page (after SSL and DNS) ?
In our journal, it´s take many seconds all the articles! Not in all the pages (About, rules, etc.). But if you want to see the current or archive, it´s very slow
I am seeing that this query has not progressed over time, no one has asked about it again and I don’t see any solutions to it. Has anyone else had this problem and been able to solve it?
I think this is an error message from the ojs core application and it does not affect any part of the platform, a message that has not been updated in the version 3.
It is everywhere in the log file but nothing serious…