Hi, my forum (PhpBB 3.3.8, PHP Version 7.1.33) a few years ago was moved from a dedicated server to a VPS which significantly improved its performance (the forum currently has more than 28,000 members).
However, in exchange for an increase in performance I had to learn to use the DirectAdmin control panel (which I hate) and, above all, I live with a serious cache management problem. I'll explain better.
Clearing the cache from the ACP is a fairly harmless thing that never caused me problems when the forum was on the other server but now when I do it the forum no longer works (HTTP error 500). To get it working again I need to go into the DirectAdmin control panel and restart the PHP services. But the problem also recurs when I install/enable/disable an extension (and this bothers me much more). Sometimes it is not enough to restart the PHP services but I also have to delete the production folder inside the cache.
The systems engineers of my VPS (it is a managed service) tell me that this is inevitable. In fact, I'll write below what they responded to my tickets.
As for the cache, it's not a permissions issue. When you delete cache files manually, you remove "from under your nose" files that PHP expects to find but because they have been deleted the site crashes.
It is therefore inevitable that clearing the cache requires restarting PHP or that the cache IN MEMORY expires.
When I told them that this didn't happen on the "old" server, this is what they replied:
It didn't happen because PHP ran with an old method that was no longer in use, because it was slower and because it required much more memory.
In fact, it read the cache at each access while FPM keeps it in memory, reducing disk accesses and making sites much more responsive.
In short, according to them I have to live with these problems and I would really like to understand what the PhpBB community thinks.
Thank you.
However, in exchange for an increase in performance I had to learn to use the DirectAdmin control panel (which I hate) and, above all, I live with a serious cache management problem. I'll explain better.
Clearing the cache from the ACP is a fairly harmless thing that never caused me problems when the forum was on the other server but now when I do it the forum no longer works (HTTP error 500). To get it working again I need to go into the DirectAdmin control panel and restart the PHP services. But the problem also recurs when I install/enable/disable an extension (and this bothers me much more). Sometimes it is not enough to restart the PHP services but I also have to delete the production folder inside the cache.
The systems engineers of my VPS (it is a managed service) tell me that this is inevitable. In fact, I'll write below what they responded to my tickets.
As for the cache, it's not a permissions issue. When you delete cache files manually, you remove "from under your nose" files that PHP expects to find but because they have been deleted the site crashes.
It is therefore inevitable that clearing the cache requires restarting PHP or that the cache IN MEMORY expires.
When I told them that this didn't happen on the "old" server, this is what they replied:
It didn't happen because PHP ran with an old method that was no longer in use, because it was slower and because it required much more memory.
In fact, it read the cache at each access while FPM keeps it in memory, reducing disk accesses and making sites much more responsive.
In short, according to them I have to live with these problems and I would really like to understand what the PhpBB community thinks.
Thank you.
Statistics: Posted by Vastasia2018 — Fri Jan 26, 2024 2:07 pm