Automysqlbackup:WARNING:Turning off multicore support, since Pigz isn ' t there.

Source: Internet
Author: User

When using Automysqlbackup to back up MySQL, sometimes you'll see "warning:turning off multicore support, since Pigz" in the mail. This alarm message, why this alarm message?

cause of error:

Automysqlbackup will compress the dump file when backing up the MySQL database. and multi-processor support. It is compressed with Pigz by default. This means that multicore support is turned on by default. Pigz is a parallel implementation version of Gzip that uses multithreading to compress to take advantage of multiprocessor and multicore systems. It divides the compression task into chunks of 128kb size and is assigned to multiple threads for parallel processing. Pig by default with the current number of logical CPUs to compress, can not detect the number of words, then the concurrent 8 threads.

If you do not have Pigz installed on your server or if there is an error in the configuration, the above warning error message will appear.

Solution:

Scenario 1: Set the parameter Config_multicore to false in configuration file myserver.conf (typically/etc/automysqlbackup/myserver.conf)

option 2: go to Pigz's official website http://zlib.net/pigz/Download the latest PIGZ installation package, and also provide PIGZ installation package on http://pkgs.repoforge.org/pigz/. However, there seems to be no latest installation package.

After you install PIGZ, you must also modify the following parameters in the configuration file. Otherwise, you will still see this error message in the message. Refer to the following code for details

Config_multicore= ' yes '

# Choose Compression type. (gzip or bzip2)

config_mysql_dump_compression= ' gzip '

Automysqlbackup:WARNING:Turning off multicore support, since Pigz isn ' t there.

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.