Automysqlbackup: WARNING: Turning off multicore support, since pigz isn’t there.
support WARNING there Off
2023-09-14 08:57:54 时间
在使用Automysqlbackup备份MySQL时,有时候你会在邮件里面看见"WARNING: Turning off multicore support, since pigz isnt there."这样的告警信息,为什么会出现这个告警信息呢?
错误原因:
Automysqlbackup 在备份MySQL数据库时会去压缩dump文件。而且支持多处理器。它默认使用pigz进行压缩处理。也就是说默认是开启Multicore Support。pigz 是一个 gzip 的并行实现版本,使用多线程来进行压缩以充分利用多处理器和多核系统。它将压缩任务分成 128kb 大小的块并分配给多个线程并行处理。pig默认用当前逻辑cpu个数来并发压缩,无法检测个数的话,则并发8个线程。
如果你的服务器上没有安装pigz或者配置有错误,那么就会出现上面告警错误信息。
解决方案:
方案1:在配置文件 myserver.conf(一般为/etc/automysqlbackup/myserver.conf)里将参数CONFIG_multicore设为false
方案2:去pigz的官方网址http://zlib.net/pigz/ 下载最新的pigz安装包,在http://pkgs.repoforge.org/pigz/上也提供pigz的安装包,不过似乎没有最新安装包。
安装了pigz后, 还必须修改配置文件中下面参数。否则在邮件中依然会看到这个错误信息。具体参考下面代码
CONFIG_multicore=yes
# Choose Compression type. (gzip or bzip2)
CONFIG_mysql_dump_compression=gzip
潇湘隐者 网名潇湘隐者/潇湘剑客、英文名Kerry,兴趣广泛,广泛涉猎,个性随意,不善言辞。执意做一名会写代码的DBA,混迹于IT行业
Towards A Fault-Tolerant Speaker Verification System: A Regularization Approach To Reduce The Condition Number 立即下载
相关文章
- 支持向量机与支持向量回归(support vector machine and support vector regression)
- 【错误记录】FFmpeg 推流报错 ( FLV does not support sample rate 8000, choose from (44100, 22050, 11025) )「建议收藏」
- Implementing a message sound notification effect in an online customer support live chat system - go
- 【错误记录】AS 编译报错 ( Android Support plugin 版本太高 | 升级 Android Studio 到最新版本 )
- 视图DBA_GOLDENGATE_SUPPORT_MODE引起的集成模式OGG不同步问题排查过程(耗时3天,真费时。。。)
- ORA-24335: cannot support more than 1000 columns ORACLE 报错 故障修复 远程处理
- ORA-26575: remote database does not support replication parallel propagation ORACLE 报错 故障修复 远程处理
- ORA-30351: query rewrite does not currently support this expression ORACLE 报错 故障修复 远程处理
- ORA-31488: cannot support change set string in this configuration ORACLE 报错 故障修复 远程处理
- MySQL Error number: MY-010354; Symbol: ER_AUDIT_PLUGIN_DOES_NOT_SUPPORT_AUDIT_AUTH_EVENTS; SQLSTATE: HY000 报错 故障修复 远程处理
- ORA-12669: Shared server: outbound protocol does not support proxies ORACLE 报错 故障修复 远程处理
- ORA-14146: Old CONNECT BY does not support partitioned tables ORACLE 报错 故障修复 远程处理
- ORA-16308: specified table has extended data type support ORACLE 报错 故障修复 远程处理
- ORA-19155: FOCH0004: collation does not support collation units ORACLE 报错 故障修复 远程处理
- 域渗透——Security Support Provider