今天打开开发网站突然不能使用,发现时Mysql数据库down掉了,就去重启:
mysql.server restart
一直会报错:“Manager of pid-file quit without updating file”。
然后就去找原因,网上说有以下三个方面的问题:
1、硬盘不够用了,无法写入pid文件
2、进程卡死了,找到mysql进程kill掉,然后重启
3、目录权限...
分类:
数据库 时间:
2014-07-22 17:53:52
阅读次数:
274
1.今天启动一台centos6.5上的oracle11G11.2.0.1.0下emctlstartdbconsole报错:OC4JConfigurationissue。2.采取重新配置emctl的方法来试着解决,没有成功。系统显示shared_pool_size和hjob_quequ_processes参数不够大。于是以sys用户登录到oracle,修改参数:3.再次重新配置emct..
分类:
数据库 时间:
2014-07-22 14:58:34
阅读次数:
641
CGI has maybe the worst lift cycle possible.As designed, each request to a CGI resource creates a new process on the server andpasses information to.....
分类:
Web程序 时间:
2014-07-22 09:06:07
阅读次数:
330
??
----查看缺省profile 中 密码相关的参数配置信息
SQL> SELECT profile,resource_type,resource_name,limit FROM dba_profiles WHERE resource_type='PASSWORD' AND profile='DEFAULT';
PROFILE RES...
分类:
数据库 时间:
2014-07-22 00:11:33
阅读次数:
299
主要由两种方法:
1、不把图片放在res/drawable下,而是存放在src某个package中(如:com.drawable.resource),这种情况下的调用方法为:String path = "com/drawable/resource/imageName.png";
InputStream is = getClassLoader().getResourceAsStream(pat...
分类:
移动开发 时间:
2014-07-21 22:36:08
阅读次数:
252
默认情况下,innodb的参数设置的非常小,在生产环境中远远不够用 比如最重要的两个参数 innodb_buffer_pool_size 默认是8M innodb_flush_logs_at_trx_commit 默认设置的是1 也就是同步刷新log(可以这么理解) inn...
分类:
数据库 时间:
2014-07-21 10:37:36
阅读次数:
343
错误一: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring.xml]; nested exception is java.lang.NoClassDefFou...
分类:
其他好文 时间:
2014-07-21 10:17:14
阅读次数:
212
URL编码总结
URL是Universal Resource Locator的简称,翻译过来那就是统一资源定位符,好吧,我们经常会俗称为网页地址。一个URL的格式通常是这样的:
协议类型://服务器地址(必要时需加上端口号)/路径/文件名?参数,比如http://zh.wikipedia.org:80/w/index.php?title=Special,协议是HTTP,服务...
分类:
其他好文 时间:
2014-07-20 23:05:29
阅读次数:
299
一、设计原则
(1)减少内存碎片
(2)减少向操作系统申请内存的次数
(3)降低各个模块的开发效率
二、源码结构
struct ngx_pool_s {
ngx_pool_data_t d;
size_t max;
ngx_pool_t *current;
ngx_chain_t ...
分类:
其他好文 时间:
2014-07-19 23:16:14
阅读次数:
258
Errors occurred during the build.
Errors running builder 'Android Resource Manager' on project 'DeskClock'.
java.lang.NullPointerException
delete the project and import it again....
分类:
移动开发 时间:
2014-07-19 08:12:28
阅读次数:
208