For the problem that wp-autopost cannot be collected continuously, here is a solution,

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.