OA的数据库最近多次出现某进程一直占用资源,导致其他进程无法执行.使用sp_who2 和 sql server profiler跟踪查询,发现有以下几个语句常常占用资源: 1.declare @P1 int set @P1=NULL declare @P2 int set @P2=0 declare @P3 int set @P3=0 exec sp_cursorprepexec @P1 output, @P2 output, N'@P0 nvarchar(4000)', N'SELECT CO
http://blog.sina.com.cn/s/blog_56beadc60100j9zu.html 今天自己写了一个压力测试的小程序,同时启100个线程,每个线程都串行地访问应用服务器上的一个jsp页面200次.在程序运行了一会儿以后,问题来了: java.net.SocketException: No buffer space available (maximum connections reached?): connect at java.net.PlainSocketImpl.soc
看到论坛上有个网友和我一样的问题: The map or layer has been destroyed or recyled t Hello, I have a problem when the app restores after the map activity has been destroyed by the system. The system calles OnDestroy on it's own, which is fine, but then, when i open th
修改/proc/sys/vm/drop_caches,释放Slab占用的cache内存空间(参考drop_caches的官方文档): Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free. To free pagecache: * echo 1 > /proc/sys/vm/drop_caches