• Resolved wordlove112

    (@wordlove112)


    I’m sorry that I cannot speak English.

    (## Back ground ##)
    I have a very big site.
    It is 80GB Data Base and about 45,000,000 images.

    I installed the LScache plugin on that site.
    But When I click on the dashboard, I get the following error.

    [Request Timeout]
    [This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase ‘Connection Timeout’.]

    It takes a long time to get the image group, so an error occurs.
    (I have about 9,000,000 images group)

    (## Question ##)
    I don’t use the image optimization.
    So I want to stop getting image groups forever.

    Please tell me how to do it.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try this, but handle with care!! This single line prevents script timeout and disables PHP process abort. If you want to cancel any script execution you need to have access to command line interface (console). If you don’t have it, don’t use this code!!

    Add code below to your .htaccess. It only works with LiteSpeed web server.

    SetEnvIf Request_URI "^\/wp-admin\/" noabort noconntimeout

    Thread Starter wordlove112

    (@wordlove112)

    Thank you for the reply.

    The code you wrote is to prevent timeouts.
    [SetEnvIf Request_URI “^\/wp-admin\/” noabort noconntimeout]

    but, I don’t want to prevent timeouts.
    I want to stop getting image groups forever.

    (*1 Becouse, I don’t use the image optimization.)
    (*2 Becouse, my site will continue to grow and the number of images will exceed 100,000,000. So even if I prevent the timeout, it will take a long time to load)

    If you disable “Auto Request Cron” and “Auto Pull Cron” in “Image Optimization Settings” you should get what you want.

    Thread Starter wordlove112

    (@wordlove112)

    Thank you for the reply.

    I have already finished disable “Auto Request Cron” and “Auto Pull Cron” in “Image Optimization Settings”.

    However, the number displayed in the “Image Information frame” is 9,000,000 images.
    So, Dashboard timeouts haven’t improved.

    I want to stop getting image groups forever.

    Plugin Support Hai Zheng?

    (@hailite)

    Thanks for the case. We can update the realtime calculation to a manual calculation if the group is a huge number.

    Ignoring timeout isn’t a solution.

    Ignoring timeout isn’t a solution.

    Why not? Cache Plugin has no function to reset the task for cron job and that’s why the reported issue happens again and again as far the task has not been finished. Maybe a feature for upcoming versions or part for rebuilded “New LSCWP” Release?

    Thread Starter wordlove112

    (@wordlove112)

    Thank you for the reply.

    ****
    We can update the realtime calculation to a manual calculation if the group is a huge number.
    *****

    –> thank you.
    please tell me how do a manual calculation (for the huge group).

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘LScache Dashboard Request Timeout ( Large number of images and Huge DB)’ is closed to new replies.