1,redis报警运营同事说app登录不了,运维工程师说卡在redis这里,然后去后台看了app工程日志,有如下报警信息: 2016-06-06 16:26:03,838 [http-6600-2:ERROR] com.plocc.ugc.redis.service.impl.RedisServiceImpl - GET_LIKE_ERRORorg.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.fetchJedisConnector(JedisConnectionFactory.j
...继续阅读
(85)
1,线上监控人员报错,tomcat下的应用连接数据库问题:--- Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 99,634,779 milliseconds ago. The last packet sent successfully to the server was 99,634,781 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.; nested
...继续阅读
(133)
1,环境orabbix准备上次做了安装部署orabbix,记录在http://blog.csdn.net/mchdba/article/details/51366790,不过监控了一台oracle数据库,这次就在这个基础上直接添加第二台、第三台oracle数据库监控。 2,监控第二台oracle11g库修改配置文件 vim/usr/local/orabbix/conf/config.props:# put here your databases in a comma separated list#放置oracle列表用逗号分隔,这里放置的是hostname,和zabbix界面上的hosts里面的hostname保持一模一样。
...继续阅读
(97)
-->Orabbix简介说明 orabbix是一个用来监控oracle数据库性能的zabbix插件工具,通过安装在被监控服务器上客户端上收集数据并传给zabbix服务器端,然后通过调用图形显示。具有以下功能:(1)、数据库版本(2)、归档文件(3)、等待的事件(如文件的I/O,单块的读,多块的读,直接读,SQLNet消息,控制文件I/O,日志写等)(4)、HitRatio(监控Hit Ratio的触发,表/存储过程,SQLArea,Body)(5)、逻辑I/O(当前读操作,持续的读操作,块的更改)(6)、PGA(7)、SGA(固定的缓冲,JAVApool,Large Pool,Log Buffer,Shared Pool,Buffer Cache)(8)、物理I/O(重写操作,数据文件写操作,数据文件读操作)9、SharePool(PoolDictionary Cache, Pool Free Memory, Library Cache,Sql Area ,Misc.)10、Pin Hit Ratio(monitor Hit Ratio on Trigger, Tables/Procedures, SQLArea,Body)11、Session/Processes(monitor Sessions and processes)12、Session (Ac
...继续阅读
(78)
1,dataguard搭建好后,归档日志传输不过去去查看master库上面的日志tail –f /data/oracle/diag/rdbms/test_m1/powerdes/trace/alert_powerdes.log,显示信息如下:Sun May 08 00:34:17 2016Error 1034 received logging on to the standbyPING[ARC2]: Heartbeat failed to connect to standby 'test_m2'. Error is1034. 2,tnsping earch_m2是通的[oracle@azure_test_dbm1_3_111 admin]$ tnsping test_m3 TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 08-MAY-2016 09:13:42 Copyright (c) 1997, 2013, Oracle. All rights reserved. Used parameter files: Used TNSNAMES adapter to resolve the aliasAtte
...继续阅读
(73)
-->问题背景同事电话我,说oracle数据库很慢,很卡,cpu99%了。 1,查看问题现场,cpu高单核不高,load高多核,看到每个核只有20%左右使用了1/5,所以数据库应该没事,没有到故障级别,只是load高已经接近90了,E:\u\azure_cloud\oracle\05.png: 2,看io读写比较低,磁盘io不是瓶颈实时观察,才148,可以看出io性能没有问题,毕竟是ssd磁盘,E:\u\azure_cloud\oracle\04.png: 3,查看锁表情况,比较少select t2.username,t2.sid,t2.serial#,t2.logon_time fromv$locked_object t1,v$session t2 where t1.session_id=t2.sid order byt2.logon_time;执行没有记录。SQL> select t2.username,t2.sid,t2.serial#,t2.logon_time from v$locked_object t1,v$session t2 where t1.session_id=t2.sid order by t2.logon_time;
...继续阅读
(45)