自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

转载 为啥使用nginx做反向代理

Common uses for a reverse proxy server include:Load balancing – A reverse proxy server can act as a “traffic cop,” sitting in front of your backend servers and distributing client requests a

2016-09-12 09:53:16 488

转载 Maven搜索依赖库的顺序

Remote RepositorySometime, Maven does not find a mentioned dependency in central repository as well then it stopped build process and output error message to console. To prevent such situation, Ma

2016-08-17 17:09:50 3510

原创 why Async RPC

1.blocking is wasting cpu resourcesHowever, it is worth noting that blocking is one of the most costly things you can do in a high performance system. When a thread blocks the operating system sched

2016-07-24 12:26:24 418

转载 ios在2g/3g/4g网络下的抓包方法

https://testerhome.com/topics/4714IOS神器 rvictl ,一根数据线实现使用Tcpdump、Wireshark抓包分析,原理是将移动设备虚拟一个网卡接口给Mac,出入口流量都可以通过这个接口传输给Mac,Tcpdump、Wireshark再监控这个虚拟网卡接口就可以抓到移动设备上的包了使用第三种rvictl办法,步骤如下将i

2016-07-07 17:30:08 3045

原创 [运维日记]linux系统io 高的问题

是不是系统内存吃紧, 程序被迫使用swap,导致的磁盘io高?使用iotop工具查看哪个进程io使用率高,然后使用下列命令查看程序在读或写的文件, lsof -p 进程编号   或者增加过滤:lsof -p 进程编号| grep REG

2016-07-05 19:39:44 1155

原创 mesos/apache aurora实战-安装手记

环境cent os 7.2mesos 0.28 使用mesosphere cent安装包aurora 0.13 自己编译rpm包mesos 配置文件读取顺序:/etc/default/mesos/etc/default/mesos-master/etc/mesos-mastermesos配置:[root@10.10.110.65 x86_64

2016-05-04 15:42:08 1992 1

原创 上古格的路径查询,note

xxx-MacBook-Pro:~ xxx$ traceroute www.google.com.hktraceroute: Warning: www.google.com.hk has multiple addresses; using 61.238.239.39traceroute to www.google.com.hk (61.238.239.39), 64 hops max, 52

2016-03-07 14:19:22 310

原创 查找crontab未执行的问题,模拟一个crontab的执行环境

有时候配置的crontab未执行,怎么都找不到问题,可以模拟一个crontab 的环境,再这样的环境下执行脚本,你就会发现问题的原因:先配置一个crontab,把环境信息保存下来:* * * * * root env > ~/cronenv然后把这个环境复原: env - `cat ~/cronenv` /bin/sh这时候就可以执行你的脚本了,有问题就会暴露出来.

2016-01-20 10:55:16 616

原创 nginx解压gzip格式的请求

参考: http://www.pataliebre.net/howto-make-nginx-decompress-a-gzipped-request.html#.Vm-GOmR95GH原料:nginx 安装文件: nginx.org 我是用的是 1.8.0 ,注意lua-nginx-module与nginx兼容性lua-nginx模块安装文件:https://github.c

2015-12-16 14:04:37 2812 1

原创 upstream prematurely closed connection while reading upstream 错误

2015/12/03 16:07:50 [error] 6597#0: *10627335 upstream prematurely closed connection while reading upstream, client: 27.38.35.212, server: iface2.iqiyi.com, request: "POST /php/xyz/iface/?key=10020202

2015-12-03 16:08:36 11822

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除