![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||
Solution Type Technical Instruction Sure Solution 2304124.1 : Diameter Signaling Router (DSR) : Server Disk Space Shortage Error for /var directory
In this Document
Created from <SR 3-15591072361> Applies to:Oracle Communications Diameter Signaling Router (DSR) - Version DSR 7.1.2 to DSR 7.4.0 [Release DSR 7.0]Information in this document applies to any platform. GoalGetting Server Disk Space Shortage Alarm in SOAM for /var directory. SolutionAfter checking the directory usage, we found /var/log/messages, messages files are getting generated with huge size around 375MB [admusr@SO2 ~]$ ls -lah /var/log | grep messages
-rw------- 1 root root 373M Aug 22 20:42 messages Below logs are there inside the messages files : Aug 22 20:42:10 SO2 named[2558]: client 169.254.141.9#62728: query: ntppeerA.platform.cgbu.us.oracle.com IN A + (169.254.141.2)
Aug 22 20:42:10 SO2 named[2558]: client 169.254.141.9#62728: query: ntppeerA.platform.cgbu.us.oracle.com IN AAAA + (169.254.141.2) Aug 22 20:42:10 SO2 named[2558]: client 169.254.141.9#53483: query: ntppeerB.platform.cgbu.us.oracle.com IN A + (169.254.141.2) Aug 22 20:42:10 SO2 named[2558]: client 169.254.141.9#53483: query: ntppeerB.platform.cgbu.us.oracle.com IN AAAA + (169.254.141.2) Verified that "named" process was running and query logging is ON in the SOAM : [root@SO2 log]# service named status
version: 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.2 CPUs found: 4 worker threads: 4 number of zones: 9 debug level: 0 xfers running: 0 xfers deferred: 0 soa queries in progress: 0 query logging is ON recursive clients: 0/0/1000 tcp clients: 0/100 server is up and running named (pid 2558) is running... [root@FE-SNG-SO2 log]# verified /etc/named.conf file and found querylog is set to YES.. [root@SO2 ~]# cat /etc/named.conf options { dnssec-enable yes; /* Path to ISC DLV key */ managed-keys-directory "/var/named/dynamic"; logging { zone "ip6.arpa" { zone "in-addr.arpa" { zone "platform.cgbu.us.oracle.com" { include "/etc/named.rfc1912.zones"; [root@SO2 ~]# Since DSR7.x we use the DNS to replace the /etc/hosts, so we cannot stop the named service. Best we can do is logging can be turned off using below command in Active SOAM CLI Server : /usr/sbin/rndc querylog
Verify that query logging is off [admusr@SO2 ~]$ sudo /usr/sbin/rndc status
version: 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.2 CPUs found: 4 worker threads: 4 number of zones: 9 debug level: 0 xfers running: 2 xfers deferred: 0 soa queries in progress: 2 query logging is OFF recursive clients: 0/0/1000 tcp clients: 0/100 server is up and running [admusr@SO2 ~]$ After this we saw reporting logs are stopped logging into messages file. Bug 25290091 is fixed in DSR 8.0. References<BUG:25290091> - /VAR/LOG/MESSAGES GROWING TO A VERY LARGE SIZEAttachments This solution has no attachment |
||||||||||||||||
|