Hey there, I'm running the server on Windows.
Noticed each time the platform rebuilds cache after a cache clear, it takes very long time (tens of minutes, sometimes forever, occasionally results in error). And during the waiting, according to the task manager it seems php-cgi is utilizing almost 0% of the CPU resources and incuring no disk operation for the most time. It is just a small experimental instance with a few posts and no more than 3 users, so it's not a result of too large forum data size I suppose...
Is there anything I can do aboout this?
p.s. I've tried, not helpful:
- Giving the php-cgi task higher priority.
- Deactivating some non-critical ext-s.
I also tried opening more fcgi instances on multiple ports, then assigning these endpoints to the server config (using the upstream feature). I'm doing this because I was told on Windows systems, php-cgi task doesn't spawn children, with the env "PHP_FCGI_CHILDREN" being ignored. This really speeded up the forum by answering concurrent requests, but actually making the re-cache slower. I also get errors when refreshing admin page, attempting to rebuild cache:
Fatal error: Maximum execution time of 300 seconds exceeded in C:\portable\root\bbs\vendor\symfony\http-foundation\Session\Storage\Proxy\SessionHandlerProxy.php on line 62
Warning: session_write_close(): Cannot call session save handler in a recursive manner in Unknown on line 0
Warning: session_write_close(): Failed to write session data using user defined save handler. (session.save_path: C:\temp) in Unknown on line 0