Setup: OLS 1.7.17, PHP 5.6 and MariaDB 10.4. Server has 6 cores CPU with 16GB RAM, running on SSD disk array.
(Yes, I know PHP and MariaDB are old, but customer's code is not ready for newer versions)
The situation:
1. Slowness:
- it's happening randomly, almost everyday. Each time it's only around 1-2 minutes, then fast again. When it's happening, the server load is low, around 1, has plenty of RAM.
2. Data error:
- also happening randomly. Only this returns:
Because both happens randomly, and even I tried to check log realtime when it's happening, or comparing the timestamp, I could not find out any reason yet.
It's not because of OLS, it's happening with Apache too. But Apache is too slow, that's why we moved to OLS. Besides, somehow, with OLS, the above data error happens more frequently.
Is there any way to debug?
Thank you.
(Yes, I know PHP and MariaDB are old, but customer's code is not ready for newer versions)
The situation:
1. Slowness:
- it's happening randomly, almost everyday. Each time it's only around 1-2 minutes, then fast again. When it's happening, the server load is low, around 1, has plenty of RAM.
2. Data error:
- also happening randomly. Only this returns:
Code:
gzdecode(): data erroron line $config = gzdecode( $config );
It's not because of OLS, it's happening with Apache too. But Apache is too slow, that's why we moved to OLS. Besides, somehow, with OLS, the above data error happens more frequently.
Is there any way to debug?
Thank you.