/dev/xvda1 full , though there is no temporary files

I have AWS ec2 micro instance, suddenly it shows memory full. I have checked the folder using df -hcommand. The result is displayed below.

Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 7.8G 7.1G 257M 97% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 285M 8.0K 285M 1% /dev
tmpfs 59M 184K 59M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 295M 0 295M 0% /run/shm
none 100M 0 100M 0% /run/user

I have cleared all the temporary folder,log files but still it shows the same size.Why this happening? How to delete the unwanted files? and increase the space?

2

1 Answer

On CLI type:

 lsof -nP | grep '(deleted)'

that processes have some reources allocated and u can free them killing them by pid

kill -9 [pid]

after this check your disc usage with:

df -h
2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like