码迷,mamicode.com
首页 >  
搜索关键字:errno strerror    ( 1034个结果)
关于Linux系统打开最大文件数量
今天做压力测试 客户端数据提到2000人,在这个过程中,遇到了分配socket失败的问题提示 errno:24 Too many open files查找资料后发现是Linux系统配置了打开文件的最大数量通过 ulimit -a 查看结果(这个是修改后的了 修改前 open files 1024) ...
分类:系统相关   时间:2017-08-21 15:50:50    阅读次数:229
线程绑定
#include<unistd.h>#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <string.h>#include<pthread.h>#include <sched.h> #include<iostream> u ...
分类:编程语言   时间:2017-08-21 00:22:03    阅读次数:192
线程同步API
头文件:<pthread.h> 编译记得加 -lpthread库 1:互斥锁(mutex) 数据类型:pthread_mutex_t 操作API: 2:读写锁 数据类型:pthread_rwlock_t 操作API: 注:读写锁适合使用在临界资源读频率远高于写频率的情况下。 当临界资源位于读锁定情况 ...
分类:编程语言   时间:2017-08-21 00:14:42    阅读次数:220
[linux]Error: failure: repodata/repomd.xml from fedora: [Errno 256] No more mirrors to try.
在使用fedora17 系统的yum源的时候出现了例如以下错误:Error: failure: repodata/repomd.xml from fedora: [Errno 256] No more mirrors to try.參照网上的做法: (一般yum有变更都须要这两个操作)yum cle ...
分类:系统相关   时间:2017-08-18 14:40:55    阅读次数:438
(24)Python实现递归生成或者删除一个文件目录及文件
import os,errno #基本工具类 #①递归生成输入的路径下面的文件夹或文件 #②递归删除输入的路径下面的文件夹及文件 ''' param : dirPath return : AuthorCreated by Wu Yongcong 2017-8-17 function:remove a ...
分类:编程语言   时间:2017-08-17 17:19:18    阅读次数:116
数据库迁移后报错提示MySQL Error:Can''t find file errno: 13 - Permission denied的解决方法
用户MYSQL数据库迁移后,遇到报错MySQL Error:Can't find file (errno: 13 - Permission denied)使用以下指令重新设置所有者和权限,依然不能解决。 [root@ ~]# chown 501:501 -R /www/server/data/com ...
分类:数据库   时间:2017-08-17 10:48:04    阅读次数:305
非阻塞socket调用connect, epoll和select检查连接情况示例
from http://www.cnblogs.com/yuxingfirst/archive/2013/03/08/2950281.html 我们知道,linux下socket编程有常见的几个系统调用: 对于服务器来说, 有socket(), bind(),listen(), accept(),r ...
分类:其他好文   时间:2017-08-16 21:59:36    阅读次数:195
ansible执行shell模块和command模块报错| FAILED | rc=127 >> /bin/sh: lsof: command not found和| rc=2 >> [Errno 2] No such file or directory
命令: ansible -i hosts_20 st -m shell -a 'service zabbix_agentd star' -K --become ansible -i hosts_20 st -m shell -a 'lsof -i:10050' -K --become 在shell模 ...
分类:系统相关   时间:2017-08-16 20:33:23    阅读次数:506
新建连接失败?
关于链接数据库报错: ERROR 1135 (HY000): Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible ...
分类:其他好文   时间:2017-08-15 21:05:04    阅读次数:250
thinkPHP3.2.3 框架
3.2.3开发文档https://pan.baidu.com/disk/home?errno=0&errmsg=Auth%20Login%20Sucess&&bduss=&ssnerror=0#list/vmode=list&path=%2Fsoftware%2Fphp%2Fphp_framewor ...
分类:Web程序   时间:2017-08-10 13:40:12    阅读次数:229
共1034条   上一页 1 ... 45 46 47 48 49 ... 104 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!