LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /proc occupies all the space in / (https://www.linuxquestions.org/questions/linux-general-1/proc-occupies-all-the-space-in-944638/)

Gil@LQ 05-12-2012 04:00 PM

/proc occupies all the space in /
 
hi all,

i have / partion with around 90 gb but still

df -h shows i have only 2 gb, i checked size of all the folders under / . every thing fine except /proc, it shows around 70 to 80 gb,

that to it takes more time to show the content in it. please tel me what to do.

thank you.

jschiwal 05-12-2012 05:01 PM

The /proc directory is a psuedo filesystem. The files you examine are created by the kernel on the fly, as a result of reading the file. One of these files is the core which contains all of the virtual memory of the system. This is why you don't backup /proc, or /sys.

Have a look for deleted files, which can still occupy disk space until the process opening the file closes it or the process itself ends. It is common practice to delete a working temporary file right after creating it, to prevent name collision, or harmful access.

You can list open deleted (i.e. unlinked) files with "lsof +L1".

Gil@LQ 05-14-2012 01:47 PM

dns reverse lookup zone issue
 
hi,

configured dns on rhel6 wokring fine, again i conifugred on another machine in the same but not working fine. showing below error for

Quote:

[root@bind ~]# named-checkzone geekymanny.net /var/named/chroot/var/named/gil.for
zone geekymanny.net/IN: loaded serial 0
OK
Quote:

[root@bind ~]# named-checkzone geekymanny.net /var/named/chroot/var/named/gil.for
zone geekymanny.net/IN: loaded serial 0
OK
dns files

Quote:

options {
listen-on port 53 { 127.0.0.1;192.168.85.2; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
recursion yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};
"/etc/named.conf" 41L, 937C

named.rfc1912.zones

Quote:

zone "bind.geekymanny.net" IN {
type master;
file "gil.for";
allow-update { none; };
};

zone "localhost" IN {
type master;
file "named.localhost";
allow-update { none; };
};

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};

zone "0.85.168.192.in-addr.arpa" IN {
type master;
file "gil.rev";
allow-update { none; };
};

zone "0.in-addr.arpa" IN {
type master;
"/etc/named.rfc1912.zones" 42L, 1022C
for zone file

Quote:

$TTL 1D
@ IN SOA bind.geekykmanny.net. root.bind.geekymanny.net. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
IN NS bind.geekymanny.net.
bind IN A 192.168.85.2
~
~
~
rev zone

Quote:

$TTL 1D
@ IN SOA bind.geekymanny.net. root.manny.geekymanny.net. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS bind.geekymanny.net.
2 IN PTR bind.geekymanny.net.



~
~
~
~

error while restarting service.

Quote:

[root@bind ~]# /etc/init.d/named restart
Stopping named: [ OK ]
Starting named:
Error in named configuration:
zone bind.geekymanny.net/IN: NS 'bind.geekymanny.net' has no address records (A or AAAA)
zone bind.geekymanny.net/IN: not loaded due to errors.
_default/bind.geekymanny.net/IN: bad zone
zone localhost/IN: loading from master file named.localhost failed: file not found
zone localhost/IN: not loaded due to errors.
_default/localhost/IN: file not found
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loading from master file named.loopback failed: file not found
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: not loaded due to errors.
_default/1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: file not found
zone 0.85.168.192.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loading from master file named.empty failed: file not found
zone 0.in-addr.arpa/IN: not loaded due to errors.
_default/0.in-addr.arpa/IN: file not found
[FAILED]
please help me why its happening i create zone files with simple records but why the hell reverse zone showing error.

thank you.

es0teric 05-15-2012 01:42 AM

If you're posting about a separate problem (or anything unrelated to your original post), then you should start a new thread.


All times are GMT -5. The time now is 04:43 PM.