• Resolved skytower1

    (@skytower1)


    I am using WordPress on an LNMP server. While I import CSV into woo-commerce, it always says server terminated the process.

    I have tried to add this on wp-config.php

    set_time_limit(600);
    /* That’s all, stop editing! Happy publishing. */
    Also the following below my WordPress .htaccess file

    # END WordPress
    php_value max_execution_time 600
    I then went to this folder to change PHP.ini file as below /usr/local/php/etc

    ; Note: This directive is hardcoded to 0 for the CLI SAPI
    max_execution_time = 600
    Then I restarted my VPS, it seems no change. This server is 4 core 8G memory.

    Would anyone give some tips on how to solve this timeout issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @skytower1

    While I import CSV into woo-commerce, it always says server terminated the process.

    Does the import run for a while before it terminates, or does it terminate within the first few seconds of starting it?

    Would anyone give some tips on how to solve this timeout issue?

    First, please try setting the records per iteration to 1 via the Import Settings: https://d.pr/i/Vakkd3.

    If that doesn’t help, instead of increasing random settings it would be best to log the actual error at the time of the termination – it should tell you exactly what you need to do. Your web host can help with this: https://gist.github.com/mbissett/d98d1acdf4b2ba11bc67d6f652d4497c.

    Let us know what you find.

    Plugin Author WP All Import

    (@wpallimport)

    @skytower1 I’m marking this as resolved since we have not heard back. Please respond here if you still have questions about this same issue. Anyone else, please open a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to increase wordpress site’s Timeouts setting on a LNMP server? ]’ is closed to new replies.