zoukankan      html  css  js  c++  java
  • mysqlslap: Error when connecting to server: 2001 Can't create UNIX socket (24) 解决方法

    在用mysqlslap对mysql进行压力测试遇到mysqlslap: Error when connecting to server: 2001 Can't create UNIX socket (24),现象如下图:

    解决方法一:

    由于linux上连接过多,所以增加linux上打开文件数,,前提不能超过系统的最大限制cat /proc/sys/fs/file-max

    [root@dbtest ~]# vim /etc/security/limits.conf  添加

    root  hard  nofile  20000
    root  soft   nofile  20000

     

    目前用这个方法还是没有用,正在继续查找原因

     。。。。。。

    ----待补充 ------
  • 相关阅读:
    《我与我的父辈》影评
    如何进行时间规划?
    内向者相关
    修己 0815
    loj 3102
    StringSequences
    解方程
    problem B
    uoj424 count
    fft相关的复习
  • 原文地址:https://www.cnblogs.com/ddbear/p/6929998.html
Copyright © 2011-2022 走看看