mysql 問題處理二則
1 解決 Mysql 錯誤日誌出現 "Error in accept: Too many open files"
open_files_limit=20000
[root@db-13 ~]# cat /etc/security/limits.conf
* soft nofile 131072
* hard nofile 131072
oracle soft nofile 131072
oracle hard nofile 131072
oracle soft nproc 131072
oracle hard nproc 131072
oracle soft core unlimited
oracle hard core unlimited
oracle soft memlock 70000000
oracle hard memlock 70000000
2 解決mysql由於SELINUX啟動失敗:
[root@db-71 ~]# cat /etc/issue
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
Kernel \r on an \m
1 iptables
chkconfig --list iptables
2 SELINUX=enforcing
[root@db-71 ~]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
[root@db-71 ~]# vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/758322/viewspace-707338/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- mysql問題處理兩則MySql
- MySQL OOM問題處理一則MySqlOOM
- ASMCMD處理問題一則ASM
- SQL最佳化 | MySQL問題處理案例分享三則MySql
- mysql的處理能力問題MySql
- Java處理正則匹配卡死(正則回溯問題)Java
- Mysql故障處理2則MySql
- 處理客戶小機問題[一則]
- MySQL:亂碼問題處理流程MySql
- mysql的處理能力問題(2)MySql
- 二、Git 問題彙總及處理Git
- js 處理四則運算失去精度問題JS
- 資料庫升級問題處理一則資料庫
- 處理Excel表格標題靈活技術二則Excel
- mysql常用語句及問題處理MySql
- 【問題處理】MySQL忘記root密碼的處理辦法MySql密碼
- mysql5.7安裝及問題處理MySql
- 資料清理的遺留問題處理(二)
- mysql中文字元的問題全面處理MySql字元
- MySQL自定義變數處理行號問題MySql變數
- 一次詭異的MySQL問題處理故事MySql
- mysql自動斷開連線的問題處理MySql
- 處理問題的方法
- perl中文處理問題
- 漢字處理問題?
- xml處理的問題XML
- 貨品問題處理
- [git] git問題處理Git
- MySQL問題處理——1040錯誤Too many connectionsMySql
- mysql 記憶體表The table 'pvlogs' is full問題處理MySql記憶體
- MySQL主從不同步問題分析與處理思路MySql
- Mysql安裝過程問題總結及處理方法MySql
- 【問題處理】使用者無法順利刪除問題處理一則-ORA-00604和ORA-00942錯誤
- golang json處理問題GolangJSON
- 併發問題處理方式
- RMAN處理split block問題BloC
- Oracle啟動問題處理Oracle
- Oracle壞塊問題處理Oracle