Support » Fixing WordPress » WordPress timeout probelm

Viewing 5 replies - 1 through 5 (of 5 total)
  • @mohdaljaraba

    There are several possibilities for this, and I’m only hypothesizing, it could be because

    1. One of the plugins on your site, or even theme, could be changing this parameter using the function ini_set('max_execution_time',30);
    2. You might be using PHP-FPM behind Nginx, in which case you will need to check for request_terminate_timeout in the PHP-FPM conf file and fastcgi_read_timeout in Nginx conf, both of which need to be set to 900

    @gagan0123 i deactivate all plugins and theme but still the same the 2nd step not really i can check it


    Out of curiosity, may I know why you need execution time of more than 30 seconds?

    If you’re trying to run some cron jobs, you can simply make use of PHP’s CLI to execute cron rather than using the URL based cron, so that CPU expensive cron jobs can finish without an issue as CLI does not have time limits(by default).

    when i start prebuild pages my site works very very hard and i thought the timeout is the problem but after i spoke with the hosting they answer that i have something using too many ram and cpu i had before 1gb ram and was working find but suddenly everything changed
    i install a plugin to show the memory usage and this is the results please have a look : this is on wordpress
    Memory: 44 of 512 MB (9%) | WP LIMIT: 256 MB | PHP 7.3.16 @64BitOS version 5.4
    and at the same moment this is on cpanle
    Physical Memory Usage
    1.81 GB / 2.2 GB (82.3%)
    its normal like this ? my cache plugin not working i have tired to rename Plugins folder to stop them to work and nothing memory usage the same i tried to change theme also the same i cleaned database files and optimise them and still the same.
    i cant find which the things which consume all these memory

    • This reply was modified 7 months, 2 weeks ago by mohdaljaraba.
    • This reply was modified 7 months, 2 weeks ago by mohdaljaraba.


    The easiest way to find out whats causing the issue is to profile one request using xdebug and analyze that, but its going to take a lot of setup first.

    In the meantime, you can simply install plugin named Query Monitor

    It will show you which PHP files are consuming time on your system the most, just go through its screenshots, and FAQs section and learn to use that plugin.

    Don’t forget to deactivate that plugin when done, because, it consumes CPU cycles and RAM as well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WordPress timeout probelm’ is closed to new replies.