a big file taking all space not trace-able and visible. how to delete?
Rajeev Prasad
rp.neuli at yahoo.com
Thu Jan 24 23:38:16 UTC 2013
Steve,
thats exactly how it happened. even after reboot i saw some ssh processes lingering. the ssh process were started by www-data using perls' Net::SSH lib - from my intranet web page. this box hoststhe LAMP server too. i do not know how perl's Net::SSH internaly manages ssh connections. but i am also confused how a process 'survived' a reboot?
anyway i am good now. only strange side-affect i have is that my gnome-terminal profiles got messed up. i had to re-create those.
thx again!
________________________________
From: Steve Flynn <anothermindbomb at gmail.com>
To: Rajeev Prasad <rp.neuli at yahoo.com>; "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com>
Sent: Thursday, January 24, 2013 4:25 PM
Subject: Re: a big file taking all space not trace-able and visible. how to delete?
On 24 January 2013 22:14, Rajeev Prasad <rp.neuli at yahoo.com> wrote:
> i had rebooted ther server but it would still show 100% space used (it was
> 3GB + file).
> but as soon as i killed the ssh process i got my space back.
When you rm'd the file it was unlinked. The filesystem doesn't
actually get the space back until all processes which had a lock on
the file release that lock. That's why I suggested rebooting the
machine to ensure that all processes released their locks as I'd
assumed you'd already killed all processes which would have been
involved in this.
I'm confused though - if you already HAD rebooted the server, how did
you have to kill the SSH process after the reboot... obviously that
wasn't the order in which things happened!
> I have now forced fsck on this system. just to be sure.
Shouldn't be nercessary but it won't hurt.
--
Steve
When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130124/bb97593c/attachment.html>
More information about the ubuntu-users
mailing list