Getting timeout error...

#1
I turned off cloudflare and i am using ubuntu 20 and litespeed and wordpress, i increase all limits in php.ini and verified the changes also i tried to increase tuning services in litespeed and still i am getting error, when a plateform tried to create a product in my woocommerce store then error occurs "80sec read timeout", any suggestions? Please give me instructions.
 

LiteCache

Active Member
#4
Try to restart the PHP with `killall lsphp` command and see if it helps. If not work, please try adding rewrite to no abort by following https://docs.litespeedtech.com/lsws/cp/cpanel/long-run-script/#php-without-timeout
noabort and noconntimeout don't work in all cases. LSWS (and OLS?) has LSAPI_MAX_PROCESS_TIME Environment Variable.

In ProcessGroup mode, the LSAPI_MAX_PROCESS_TIME environment variable controls the maximum processing time allowed when processing a request (default 3600 seconds). If a child process cannot finish processing the request in the given time period, it will be killed by the parent process. This option can get rid of a dead or a runaway child process.
https://docs.litespeedtech.com/lsws...t-lsapi_max_process_time-environment-variable
 
Last edited:
#5
When a platefrom tries to create product in my woocommerce store then shows error: Create platform product failed [Read timed out, request duration: 40s]
, if i turn off cloudflare then shows: Create platform product failed [Read timed out, request duration: 80s].
please see the image: https://ibb.co/mGC7kd1
the out of stock products are the products which processed sometime and then shows the above error.
I already tried to max all the limits of php. Nothing worked
 

LiteCache

Active Member
#6
Create platform product failed [Read timed out, request duration: 40s]
This is not a PHP error, so there must be any other function (Plugin?) that controls it. This also means that changes to PHP configuration doesn't impact this error. For better error analysis, you should temporarily disable CF and enable WP debugging.
 
Top