LinuxMCE Forums
General => Users => Topic started by: donpaul on March 01, 2009, 07:15:23 pm
-
Disclaimer: LinuxMCE is running flawless, fast, and I love it. I am sure that any problem discussed here is not caused by LinuxMCE in any manner; it is most likely the result of the tools used by LinuxMCE or the operating system itself. It could also be caused by the end user, but that is highly unlikely. ;-)
Would anyone know why my USB disks are being mounted repeatedly to /tmp? And why they hang around indefinately? And how do I stop it so I can mount them permanently? This only happens when I use a USB drive, and it is not isolated to any single one. I also tried on a different core, and had the same result.
There are currently over 3000 mount processes hogging my core:
dcerouter_106554:/etc# ps -ef | grep mount | wc -l
3295
dcerouter_106554:/etc# ps -ef | grep mount
root 31242 1 0 13:08 pts/5 00:00:00 /bin/bash -e /bin/mount /dev/sdb1 /tmp/tmp.mHsMS31235
root 31243 31242 0 13:08 pts/5 00:00:00 /bin/mount.wraped /dev/sdb1 /tmp/tmp.mHsMS31235
....
This happens every morning, and I have to reboot in order to clear it up. If I try to watch media, the MD will hang.
-
The repeated mounts you are seeing are normal. They are an aspect of the automounter, and should not be tampered with at all. The mount happens from the automounter, the disk does its accesses, and 5 seconds after no activity, the disk is unmounted.
What is NOT normal however, is that the mount is _hanging_ around.. actually, that makes no sense... are there thousands of mounts when you type mount?
-Thom
-
No, mount and df both show normal mounts. It's just that the processes will hang around, and eventually bring the core to it's knees. I haven't seen it happen yet today, and I am watching it closely.
-
So I think I found the trigger. Anytime I copy or move a lot of media from one mount to another, this happens. It doesn't matter if I do it through files & media on the web admin, or do it on the command line. It hangs the core and I have to reboot. Quite frustrating actually.
-
If you don't copy/move files between mounts at all (for a good period of time, say days), do you get any of these processes hanging around?