下载bin-DVD版的才有packet目录,方便搭建yum本地源。CentOS-6.7-x86_64-bin-DVD1.iso1,yum本地源[base]
name=base
baseurl=file:///mnt/
enabled=1
gpgcheck=02,换为外网源wgethttp://mirrors.163.com/.help/CentOS6-Base-163.repo
[root@localhost~]#cd/etc/yum.repos.d/
[..
分类:
其他好文 时间:
2016-01-17 21:49:07
阅读次数:
210
在sql 文件头部,写入这几个信息即可set global max_allowed_packet=100000000;set global net_buffer_length=100000;SET GLOBAL interactive_timeout=28800000;SET GLOBAL wa.....
分类:
其他好文 时间:
2016-01-17 13:28:27
阅读次数:
167
想必大家在用MySQL时都会遇到连接超时的问题,如下图所示: 就是这个异常(com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure Last packet sent to the serv...
分类:
数据库 时间:
2016-01-07 18:12:47
阅读次数:
157
http://www.xianren.org/blog/net/wireshark-q.html 抓到的包数据中常见的错误。。待细看,先记下。tcpdump 抓包后发现,出现大量如上标志,=、=嘿嘿,以下复制别人的,还外国朋友的 mail,zan!,图是自己的。1)、tcpdump的情况是需要加 -...
分类:
Web程序 时间:
2016-01-04 22:22:09
阅读次数:
477
数据包过滤 LSF(Linux socket filter)起源于BPF(Berkeley Packet Filter),基础从架构一致,但使用更简单。其核心原理是对用户提供了一种SOCKET选项:SO_ATTACH_FILTER。允许用户在某个sokcet上添加一个自定义的filter,只有满足该filter指定条件的数据包才会上发到用户空间。因为sokket有很多种,你可以在各个维度的so...
分类:
系统相关 时间:
2016-01-01 15:01:27
阅读次数:
514
showVARIABLESlike‘%max_allowed_packet%‘;显示的结果为:+--------------------+---------+|Variable_name|Value|+--------------------+---------+|max_allowed_packet|1048576|+--------------------+---------+修改max_allowed_packet值:1048576/1024/1024=1M
分类:
数据库 时间:
2015-12-30 19:59:44
阅读次数:
227
mysql根据配置文件会限制server接受的数据包大小。有时候大的插入和更新会被max_allowed_packet 参数限制掉,导致失败。查看目前配置show VARIABLES like '%max_allowed_packet%';显示的结果为:+--------------------+-...
分类:
数据库 时间:
2015-12-28 10:13:58
阅读次数:
164
没有指定model type关键字,e1000模拟的是Intel公司的千兆网卡,8139模拟的是早期Realtek公司百兆网卡多数使用libVirt 管理来宾系统pps packet per second带宽,每秒发包数服务器承载的是游戏 or web 需要大量收发小包的业务,
分类:
其他好文 时间:
2015-12-26 23:23:32
阅读次数:
308
备注:内核版本:2.6.30.9busybox版本:1.15.2PC Linux和开发板Linux的工作用户:root1. 配置内核:[*] Networking support --->Networking options ---> Packet socket Unix domain socket...
分类:
系统相关 时间:
2015-12-21 23:18:55
阅读次数:
293
Data Plane Development Kit(DPDK) is a set of libraries and drivers for fast packet processing. It was designed to run on any processors. The first sup...
分类:
其他好文 时间:
2015-12-21 18:32:37
阅读次数:
202