View previous topic :: View next topic |
Author |
Message |
larophel n00b
Joined: 19 Mar 2005 Posts: 54
|
Posted: Thu Aug 18, 2011 2:24 am Post subject: xfce4-session-logout eats all memory, freezes computer |
|
|
Yesterday I noticed that my computer crashed after I accidentally clicked on the Xfce Logout button.
Upon further investigation, I realized that that it is the xfce4-session-logout program which causes this problem.
As soon as I click on it, my hard disk starts trashing and my RAM and swap fill up in matter of seconds.
This causes the computer to freeze up, to the point where I have to hard-reboot it.
Even if I immediately close the logout dialog again the memory still gets filled up.
I tried to use "top" to determine which program was eating all the memory but it does not show any program with memory usage over 0.5%.
This is a recent problem, because I am certain it worked fine around three weeks ago.
Does anybody have any idea what might cause this? |
|
Back to top |
|
|
larophel n00b
Joined: 19 Mar 2005 Posts: 54
|
Posted: Thu Aug 18, 2011 2:37 pm Post subject: |
|
|
I was able to determine what is eating my memory.
It is not a single process, instead there are thousands of "mount" processes started as soon as I open "xfce4-session-logout":
5197 ? S 0:00 /sbin/mount.crypt /dev/sda7 /home/larophel -o rw,noexec,nosuid,nodev,remount,noauto,user,noatime,commit=600
I use pam_mount to mount my encrypted home partition on login.
Maybe this is related?
But I still don't know who might be starting that many mount processes. |
|
Back to top |
|
|
larophel n00b
Joined: 19 Mar 2005 Posts: 54
|
Posted: Thu Aug 18, 2011 10:34 pm Post subject: |
|
|
Well, I downgraded to pam_mount-2.10 (from pam_mount-2.11) and that did the trick.
I will open a bug report for this problem. |
|
Back to top |
|
|
222697 n00b
Joined: 07 May 2010 Posts: 51
|
Posted: Tue Nov 08, 2011 11:09 pm Post subject: |
|
|
larophel wrote: | Well, I downgraded to pam_mount-2.10 (from pam_mount-2.11) and that did the trick.
I will open a bug report for this problem. |
I have exactly the same problem with a today fresh deep world update, depclean and revdep rebuild.
But when I add a
">sys-auth/pam_mount-2.10"
to /etc/portage/package.mask
it says:
"* sys-auth/pam_mount
Latest version available: 2.1
Latest version installed: 2.11"
and trying to emerge pam_mount-2.1 fails with
"size of unnamed array is negative"
WTF is pam_mount-2.1 ? I want to install pam_mount-2.10 how can I achieve that? |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1654
|
Posted: Tue Dec 13, 2011 7:35 pm Post subject: |
|
|
Code: | emerge -av =pam_mount-2.10 |
I tried it too and got the same result.
looks like it can't handle the trailing zero
must be a something I am missing too.
Are you all experiencing the memory leak on logout only?
I was experiencing it on login.
What does give you two?
Can you guys vote for the bug?
EDIT:
Upstream bug actually:
http://sourceforge.net/tracker/?func=detail&aid=3407320&group_id=41452&atid=430593
EDIT # 2:
Looks like a work around might be to remove or comment out your encrypted partitions from /etc/fstab.
Can you guys try this and report back? _________________ Donate to Gentoo |
|
Back to top |
|
|
larophel n00b
Joined: 19 Mar 2005 Posts: 54
|
Posted: Mon Dec 26, 2011 7:14 pm Post subject: |
|
|
Unfortunately, I do not have an encrypted home partition anymore, so I can't test this.
Hopefully someone else can. |
|
Back to top |
|
|
222697 n00b
Joined: 07 May 2010 Posts: 51
|
Posted: Thu Jun 07, 2012 6:05 am Post subject: |
|
|
turtles wrote: | Are you all experiencing the memory leak on logout only?
What does give you two?
Looks like a work around might be to remove or comment out your encrypted partitions from /etc/fstab.
|
After upgrading yesterday to xfce 4.10.0 the memory gets eaten up in a few seconds after login, too.
It's really bad, that there is no solution still. Unmasking and emerging pam_mount 2.13 did not help. pam_mount 2.10 is not in the repository anymore.
As a really stupid workaround to be able to login again, I commented out the encrypted partition from fstab.
Is there a way to exclude a partition from being used/remounted by pam_mount ?
This bug is severe and should be fixed !
ck-list-sessions
Session14:
unix-user = '1000'
realname = '(null)'
seat = 'Seat13'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = FALSE
on-since = '2012-06-06T22:59:45.092618Z'
login-session-id = '34' |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1654
|
Posted: Tue Oct 09, 2012 8:07 pm Post subject: |
|
|
Just following up on this bug.
Are any of you still running encrypted /home's in xfce and having problems with pam_mount?
I did some experimenting with
pam_mount here
But not in xfce with logout _________________ Donate to Gentoo |
|
Back to top |
|
|
|