root partition shows 100% use but actually not

Issues related to applications and software problems and general support
Post Reply
tanc
Posts: 3
Joined: 2021/08/17 18:51:30

root partition shows 100% use but actually not

Post by tanc » 2021/08/18 17:36:16

Hello friends,
Please find the attachment herewith root partition use 100% but actually use 18G. Kindly look into the issue for resolve.
I am also trying lsof +L1 but still issue unresolved.

With hope,
Best regards,
tutun
Attachments
01.jpeg
01.jpeg (105.86 KiB) Viewed 2126 times

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: root partition shows 100% use but actually not

Post by TrevorH » 2021/08/18 18:17:53

Did you recently delete a lot of files to free up space? If those files were opened by a running process then the file stays open until the process ends or closes the file.

lsof | grep -i del
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

larwood
Posts: 66
Joined: 2011/07/27 12:07:30
Location: Perth WA, Australia

Re: root partition shows 100% use but actually not

Post by larwood » 2021/08/20 05:23:52

Yes I agree with TrevorH that this is most likely your issue.

Take a look at this Red Hat article for a full explanation:
https://access.redhat.com/solutions/2316

My own notes from when I encountered this issue and did not want to restart the affected service:

Code: Select all

- # lsof +L | grep deleted
	scopeux    4421      root   11uw     REG              253,3 1993362062     0     403970 /var/opt/perf/datafiles/logproc (deleted)
	perfalarm  4430      root   12r      REG              253,3 1993362062     0     403970 /var/opt/perf/datafiles/logproc (deleted)
	coda       5010      root   15r      REG              253,3 1993362062     0     403970 /var/opt/perf/datafiles/logproc (deleted)
- clear without restarting process
- # ll /proc/4421/fd/11
	lrwx------ 1 root root 64 May 29 13:55 /proc/4421/fd/11 -> /var/opt/perf/datafiles/logproc (deleted)
- # echo > /proc/4421/fd/11

tanc
Posts: 3
Joined: 2021/08/17 18:51:30

Re: root partition shows 100% use but actually not

Post by tanc » 2021/08/23 18:08:00

TrevorH wrote:
2021/08/18 18:17:53
Did you recently delete a lot of files to free up space? If those files were opened by a running process then the file stays open until the process ends or closes the file.

lsof | grep -i del
Dear Sir, i am trying with ur command line, image attached for ur information, after execute the command trying kill -9 <pid>
still disk space showing same ; 100% full, as well as stop the service which execute the java...
But still issue unresolved ... kindly help me to resolve the issue.

with best regards
tutun
Attachments
com.JPG
com.JPG (146.31 KiB) Viewed 1971 times
issue.JPG
issue.JPG (45.89 KiB) Viewed 1971 times

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: root partition shows 100% use but actually not

Post by TrevorH » 2021/08/23 19:11:39

Two candidates in that list I can see. One is httpd so you could try systemctl reload httpd or even systemctl restart httpd. The other is java and I have no idea what the service name for that would be nor even if it is started by systemd at all.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

tanc
Posts: 3
Joined: 2021/08/17 18:51:30

Re: root partition shows 100% use but actually not

Post by tanc » 2021/09/12 17:28:50

Dear Sir ,
After reload httpd still root 100% full issue remains same. I am unable to resolve the issue.
Pls help to resolve it without os reinstallation if possible.

Thanks,
tutun.
Attachments
01.JPG
01.JPG (36.06 KiB) Viewed 1440 times
0111.JPG
0111.JPG (109.1 KiB) Viewed 1440 times

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: root partition shows 100% use but actually not

Post by TrevorH » 2021/09/12 18:03:24

Unmount /backup and then ls -la /backup/ and see if you wrote a bunch of files to /backup when the separate filesystem was not mounted on it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply