最近维护线上发现不停有java.util.concurrent.TimeoutException:Timedout(200)waitingforoperation的问题,排查程序、配置文件的等等没有发现可疑之处;而是继续检查线上服务器使用情况,发现老一批服务器(2010年采购,内存为8g)的内存使用...
分类:
系统相关 时间:
2015-05-14 18:34:07
阅读次数:
143
# -*- coding: utf-8 -*-import osimport rep = os.popen('ping 120.26.77.101')out = p.read()regex = re.compile("\xd7\xee\xb6\xcc = (\d+)ms\xa3\xac\xd7\xe...
分类:
其他好文 时间:
2015-05-14 11:35:18
阅读次数:
206
'imagecreatefromjpeg','image/png'=>'imagecreatefrompng','image/gif'=>'imagecreatefromgif',);$out_func_list=array('image/jpeg'=>'imagejpeg','image/png'...
分类:
其他好文 时间:
2015-05-14 06:13:34
阅读次数:
106
使用csc.exe,通过命令行来编译源代码,生成IL代码,如下 csc.exe /out:Program.exe /t:exe /r:MSCoreLib.dll Program.cs 意义:指示C#编译器生成一个名叫Program.exe的可执行文件 MSCoreLib.dll是一个特殊的...
分类:
其他好文 时间:
2015-05-14 00:40:50
阅读次数:
189
在SSMS(Microsoft SQL Server Management Studio)里面,查看数据库对应的表的时候,会遇到“Lock Request time out period exceeded.(Microsoft SQL Server, 错误1222)”,对应的中文错误提示为“已超过了...
分类:
数据库 时间:
2015-05-14 00:40:35
阅读次数:
622
Python Tools for Machine LearningPython is one of the best programming languages out there, with an extensive coverage in scientific computing: comput...
分类:
编程语言 时间:
2015-05-13 21:41:00
阅读次数:
212
软件编程总原则:低耦合,高内聚一、设计模式中类的关系1.1.依赖:Java中表现为:类A使用类B,其中类B是作为类A的方法参数,方法中的局部变量或者静态方法调用。[code]public class People{ public void read(Book book){ System.out.pr...
分类:
其他好文 时间:
2015-05-13 21:14:47
阅读次数:
150
nohup sh startWebLogic.sh &tail -f nohup.out
分类:
Web程序 时间:
2015-05-13 19:11:05
阅读次数:
129
Out of Mana,法力耗尽。内存就像法力,耗尽了就什么都不能做了。有时候一个应用程序占用了太大的内存,超过了Android系统为你规定的限制,那么系统就会干掉你,以保证其他app有足够的内存。俗称内存溢出(Out Of Memory)。(其实不止Android系统,内存溢出本身说的就是java...
分类:
其他好文 时间:
2015-05-13 18:31:51
阅读次数:
134
1.servlet getservlet:response.setContentType("text/html;charset=utf-8"); PrintWriter out=response.getWriter(); out.write("hello ajax"); System.out....
分类:
Web程序 时间:
2015-05-13 16:05:13
阅读次数:
134