Apache 2.x keeps child processes alive by creating internal connections which appear in the log files as "internal dummy connection" on the IP address...
分类:
Web程序 时间:
2014-11-21 12:35:22
阅读次数:
151
目录 一、优化概述 二、查询与索引优化分析 1性能瓶颈定位 Show命令 慢查询日志 explain分析查询 profiling分析查询 ? 2索引及查询优化 三、配置优化 ?1) ? ? ?max_connections ?2) ? ? ?back_log ?3) ...
分类:
数据库 时间:
2014-11-20 12:17:54
阅读次数:
374
gclient:如果不知道gclient是什么东西 。。。 就别再往下看了。下载特定版本的代码: #gclient sync --revision src@31000 其中31000是版本号 查看自己下载代码的版本号: #gclient revinfo -a webrtc@ubuntu:~...
分类:
Web程序 时间:
2014-11-19 23:41:08
阅读次数:
1666
一、windows下
直接修改配置文件my.ini,然后重启MySQL服务。
二、Linux CentOS6.5下
1、登录mysql:
[root@slave4 ~]# mysql -u root -p
2、查看当前连接数: mysql> show variables like 'max_connections';
+-----------------+-------+
| V...
分类:
数据库 时间:
2014-11-19 18:40:05
阅读次数:
233
[pg@h1 ~]$ vacuumdb --freeze template0
vacuumdb: could not connect to database template0: FATAL: database "template0" is not currently accepting connections
[pg@h1 ~]$ psql template0
psql: FATAL: da...
分类:
其他好文 时间:
2014-11-19 01:58:54
阅读次数:
234
服务器端:
yum
-y install nfs* rpcbind
vi /etc/exports
/home/willserver 192.168.1.100(rw,sync,no_root_squash)
service rpcbind restart
service nfs restart
setenforce 0
客...
分类:
其他好文 时间:
2014-11-19 01:51:20
阅读次数:
138
---恢复内容开始---error:2014 Commands out of sync; you can't run this command now这个错误号我也真是醉了。一直纠结于为什么存储过程执行完,commit操作就是不能再mysql的log里被查到呢。于是试着输出了下错误,然后这个错误就出...
分类:
数据库 时间:
2014-11-17 10:38:39
阅读次数:
257
题目大意:
每次q后计算失败和成功的次数,最后输出成功的和失败的次数。
解题思路:
并查集,死了很多次在输入上面,输入还是需要一些技巧的。...
分类:
Web程序 时间:
2014-11-16 17:25:54
阅读次数:
185
1.2014-11-1419:40:20.4637740TRACEkeystoneFile"/usr/lib/python2.7/dist-packages/MySQLdb/connections.py",line187,in__init__2014-11-1419:40:20.4637740TRACEkeystonesuper(Connection,self).__init__(*args,**kwargs2)2014-11-1419:40:20.4637740TRACEkeystoneOperationa..
分类:
系统相关 时间:
2014-11-16 02:00:30
阅读次数:
304
PortIn a manner similar to processes, Ports should be considered. Ports are a datatype that encompasses all kinds of connections and sockets opened to the outside world: TCP sockets, UDP sockets, SCTP...
分类:
其他好文 时间:
2014-11-15 12:56:20
阅读次数:
295