Oracle database monitoring is very slow, basic hang fault handling

Source: Internet
Author: User

Today I found the database connection is very slow, even can not connect, want me to check to see

#su - oracle$ lsnrctl statusLSNRCTL for Linux: Version 11.2.0.1.0 - Production on 17-MAY-2018 12:29:11Copyright (c) 1991, 2009, Oracle.  All rights reserved.Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracletest)(PORT=1521)))    ## 到这里,hang住了,一直没有响应

A tnsping test was made from another host:

[email protected]:/u01/app/oracle/11.2/db_1/network/admin> tnsping oracletestTNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 17-MAY-2018 12:54:20Copyright (c) 1991, 2009, Oracle.  All rights reserved.Used parameter files:Used TNSNAMES adapter to resolve the aliasAttempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.121.134)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = wdadb)))    ## 这里也是hang住, 一直没有响应

Finally, when the DNS configuration is checked, it is found that:

 # cat /etc/resolv.conf nameserver 211.141.90.68系统配置有DNS,这是内网主机,根本用不到DNS,所以把这个DNS去掉后恢复正常。

In fact, you can consider opening listener trace for viewing.

or modify the sshd configuration file Usedns parameter to No, DNS is not resolved

#vi /etc/ssh/sshd_configUseDNS no

This does not matter even if the/etc/resolv.conf system configuration DNS is retained.

Oracle database monitoring is very slow, basic hang fault handling

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.