For the problem that wp-autopost cannot be collected continuously, here is a solution,
I often collect one page and two pages to stop.
The complete solution is as follows:
-
The setting of max_execution_time = 0 in php. ini takes effect only for PHP itself.
The parameter to be modified in php-fpm mode is the request_terminate_timeout = 0 in the php-fpm.conf (the configuration file in ubuntu is/etc/php5/fpm/pool. d/www. conf)
The safe_mode configuration has been canceled in PHP5.4 and does not need to be configured.
Next, if no error 502 is reported, the error 504 is reported. If you continue to search for online support, no relevant information is found, but the nginx container may be faulty. In fact, the error 504 is mainly caused by nginx timeout. You can modify the configuration file.
-
Edit/etc/nginx. conf and add the following code in the http segment. If you have these settings, change the corresponding value.
...
Http {
...
Fastcgi_connect_timeout 1800;
Fastcgi_send_timeout 1800;
Fastcgi_read_timeout 1800;
Fastcgi_buffer_size 1024 k;
Fastcgi_buffers 32 1024 k;
Fastcgi_busy_buffers_size 2048 k;
Fastcgi_temp_file_write_size 2048 k;
...
This solves the problem of error reporting. It takes 2 hours to manually update 20 pages, * 25 articles = 500 articles, in the form of batch collection sources.
Http://www.tudouluo.com/figure fighting-born for professional fighting