• Hi,

    I’m having troubles with a wordpress site with Woocomerce and don’t know if i’m missing something coz i’ve modified all but no results.

    The site is in “Coming Soon” mode (no visits) and already has “Resource Limit Is Reached”. I know, it’s so bad. ^^

    I’m on a Shared hosting, and in the cPanel everytime i did a Backup (UpdraftPlus) or like right now, an optimization of images (imagify)… i got:

    Physical Memory Usage: 1,014.64 MB / 1 GB (99.09%)
    Entry Processes 38 / 40 (95%)

    And the f***amous “Resource Limit Is Reached” for a lot of minutes, last time was for 2 days after a failed backup (won’t stop, still working on the background (/cach/db..).

    On my wp-config:

    define( ‘WP_MEMORY_LIMIT’, ’64M’ ); (was 1G)
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ ); (was 1G)
    set_time_limit(30);

    On my php.ini:

    allow_url_fopen = On
    allow_url_include = On
    display_errors = On
    enable_dl = Off
    file_uploads = On
    max_execution_time = 90
    max_input_time = 1000
    max_input_vars = 1000
    memory_limit = 64M (was 1G)
    upload_max_filesize = 1000M
    post_max_size = 2000M
    session.gc_maxlifetime = 1440
    session.save_path = “/var/cpanel/php/sessions/ea-php72”
    zlib.output_compression = Off

    On my user.ini:

    [PHP]
    display_errors = On
    max_execution_time = 90
    max_input_time = 1000
    max_input_vars = 1000
    memory_limit = 64M (was 1G)
    upload_max_filesize = 1000M
    post_max_size = 2000M
    session.gc_maxlifetime = 1440
    session.save_path = “/var/cpanel/php/sessions/ea-php72”
    zlib.output_compression = Off

    On my .htaccess:

    <IfModule php7_module>
    php_flag display_errors On
    php_value max_execution_time 90
    php_value max_input_time 1000
    php_value max_input_vars 1000
    php_value memory_limit 64M (was 1G)
    php_value upload_max_filesize 1000M
    php_value post_max_size 2000M
    php_value session.gc_maxlifetime 1440
    php_value session.save_path “/var/cpanel/php/sessions/ea-php72”
    php_flag zlib.output_compression Off
    </IfModule>

    It’s a Config problem or a bad hosting? Any idea?

    I’m using W3 Cache + Cloudfalre, but no way. It seems that there is process that still working somewhere, don’t know where, and don’t know how to stop them.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Resource Limit Is Reached’ is closed to new replies.