Edwin & Xinyu's Blog  

查无此人,查有此地

PPTP VPN on Amazon EC2

From http://www.yzhang.net/blog/2013-03-07-pptp-vpn-ec2.html I used to host this website on an Amazon EC2 instance. But in fact, that EC2 instance had been mainly used as a VPN server. And here is how it was setup. First of all, you need to install pptpd, with the following commands: <span class=“pln”>$ wget http</span><span class=“pun”>:</span><span class=“com”>//poptop.sourceforge.net/yum/stable/rhel6/i386/pptpd-1.3.4-2.el6.i686.rpm</span><span clas….

mycat troubleshooting

难得再次执笔 记录一下一次mycat的troubleshooting的过程 何为mycat DAL  see at https://github.com/MyCATApache/Mycat-Server 处于可控性和社区的活动性,当初我引入mycat时选择了1.4 final版本,并且固化在公司私有git库 问题现象 项目开发人员调试java代码时发现mycat无法响应,现象为执行sql无反馈,卡死 查看确认: mysql客户端无法登陆 telnet可连接,但无反馈 系统日志停止刷新 结合debug日志和oem,并和开发人员确认断点调试某select for update不久就发生mycat无响应 问题追查 抓取heapdump和threaddump heapdump排除内存相关问题 threaddump发现如下日志: INFO | jvm 1 | 2016/03/24 10:35:33 | “Timer0” daemon prio=10 tid=0x00007faea0001800 nid=0xa4f waiting for monitor entry [0….