摘要:
volatile ~~~ include include volatile int total{ 0 }; void func(int) { for (int i = 0; i include include std::atomic_int total{ 0 }; // 或 std::atomic 阅读全文
摘要:
问题分析 MySQL进程打开文件句柄过多,无法再打开新的文件句柄 问题确认 ~~~ // 系统单个进程最大文件句柄数量查看 ulimit n // 查看某个个进程使用的文件句柄数量 lsof p ${PID} | wc l // 查看MySQL的table_open_cache参数 show var 阅读全文