James's BLOG
SELinux 影響 MySQL 連結
›
MySQL local 連 remote 時, 要關閉 SELinux 或設定才能連線
PHP upgrade always breaks session folder permissions
›
PHP 升級後都會自動改成 session owner 回原本設定, 網路建議是為 owner 另建子資料夾對應, 下次就不會被更動. user = nginx ; Set session path to a directory owned by process use...
MariaDB Max connect
›
參考 https://pjstrnad.com/mariadb-raise-number-of-connections/ The issue is that you can’t have more max_connections than open_files_l...
mysql binlog too large
›
檢查硬碟空間 df -h 檢查資料夾大小 du -sh /home/james/* MySQL log 太大 設定 /etc/my.cnf 只保留七天的 Log [mysqld] expire-logs-days=7 重啟 mysql systemc...
MariaDB max_connections, table_open_cache stuck
›
copy my-hugh.cnf to /etc/my.cnf.d/ editing /etc/sysctl.conf fs.file-max = 2459688 editing /etc/security/limits.conf mysql ...
GeoIP Update
›
系統 CentOS https://github.com/maxmind/geoipupdate 先到官方 git clone $ git clone https://github.com/maxmind/geoipupdate $ cd geoipupdate ...
‹
›
首頁
查看網路版