[proxy_fcgi:error] [pid 2904948:tid 2904991] (70007)The timeout specified has expired: [remote 103.214.234.85:14611] AH01075: Error dispatching request to : (polling)

SYSTEM INFORMATION
OS type and version AlmaLinux 9.4
Webmin version 2.111
Virtualmin version 7.10.0
Webserver version Apache version 2.4.57
Related packages PHP verision 8.1

I am getting the following error while my programmer is running a code that zips 225 pdf files which has a 6 GB of size. The server I use is a 12 core 64Gb memory server.

I tried increasing the max_execution_time and request_terminate_timeout variables to 4000. They are correctly reflected on the php info page.

But the error still persists. What can be done to correct this.

[proxy_fcgi:error] [pid 2904948:tid 2904991] (70007)The timeout specified has expired: [remote ] AH01075: Error dispatching request to : (polling)