python idle 错误 subprocess didn't make connection...
分类:
编程语言 时间:
2014-09-30 13:21:59
阅读次数:
237
错误描述:
测试一段时间没有任何问题,今天突然用户无法登录,报错如Data source rejected establishment of connection, message from server: "Too many connections"
错误原因:
太多的连接数,登录用户过多,配置的mysql连接数过小,或者某些连接没有关闭,导致连接数过大。...
分类:
其他好文 时间:
2014-09-30 10:02:02
阅读次数:
234
今天磁盘报警,空间不足,找了很久没查出来。下面说下我的操作步骤[root@monitor/]#du-sch/*
6.6M/bin
39M/boot
161M/data
164K/dev
12M/etc
115M/home
240M/lib
25M/lib64
20K/lost+found
4.0K/media
4.0K/mnt
291M/opt
du:cannotaccess`/proc/27198/task/27198/fd/4‘:Nosuchf..
分类:
其他好文 时间:
2014-09-29 17:06:41
阅读次数:
280
近几天在性能测试过程中,发现loadrunner Controller经常报 Server “**” has shut down the connection prematurely 。概率很高,现象很奇怪。网上有很多说法,各有不同,但貌似都不正确,只能靠自己追踪。根据经验仔细分析,发现可能跟下列因...
分类:
其他好文 时间:
2014-09-29 12:13:07
阅读次数:
274
Two distinct techniques are used in data communications to transfer data. Each has its own advantages and disadvantages. They are the connection-oriented method and the connectionless method: Conne...
分类:
其他好文 时间:
2014-09-29 05:24:36
阅读次数:
532
连接数据库的步骤: 1.加载JDBC驱动 2.提供连接参数 3.建立数据库连接 4.创建一个statement 5.执行SQL语句 6.处理结果 7.关闭JDBC对象 新建一个JDBCUtil类 package com.jdbc.utils; import java.sql.Connection;
...
分类:
数据库 时间:
2014-09-29 01:33:57
阅读次数:
492
http://rfyiamcool.blog.51cto.com/1030776/1440624http://rfyiamcool.blog.51cto.com/1030776/1422263root@ubuntu12:~/ansible#vimongo.pyimportsysimportpymongoimportansible.runnerdeflog(res):conn=pymongo.Connection(host="localhost",port=27017)db=conn["ansible"]ift..
分类:
数据库 时间:
2014-09-28 18:51:37
阅读次数:
235
Java对MySQL数据库进行连接、查询和修改0. 一般过程: (1) 调用Class.forName()方法加载驱动程序。 (2) 调用DriverManager对象的getConnection()方法,获得一个Connection对象。 (3) 创建一个Statement对象,准备一个SQ...
分类:
数据库 时间:
2014-09-28 17:19:43
阅读次数:
321
To modify an existing session with "keep alives" to maintain your connection follow the steps below:Open the PuTTy application and navigate to theOpti...
分类:
其他好文 时间:
2014-09-27 07:13:49
阅读次数:
202
我在学习网络编程的时候经常看到C10K问题,那么究竟什么是C10K问题呢?我看到了一篇好文章就转了过来,原文地址为:c10k问题 所谓c10k问题,指的是服务器同时支持成千上万个客户端的问题,也就是concurrent 10 000 connection(这也是c10k这个名字的由来)。由于硬...
分类:
其他好文 时间:
2014-09-26 20:01:18
阅读次数:
145