LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-03-2013, 08:01 AM   #1
SpeedEvil
LQ Newbie
 
Registered: Oct 2013
Posts: 1

Rep: Reputation: Disabled
gvfsd misbehaving and thrashing SSDs.


I hit this a couple of days ago - on a newly upgraded to current slackware 14 64 bit system.

In short - gvfsd-metadata gets confused, and thrashes the disk, creating and deleting files.
https://bugzilla.gnome.org/show_bug.cgi?id=637095 seems relevant - and I think it's fixed in their tree.

I moved the dir in question onto a ramdisk - in the hopes that it was just a one-off and restarted the daemon - but something seemed to trigger it.

% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
20.92 0.002901 0 189762 open
In 10 seconds

Quote:
statfs("/home/user/.local/share/gvfs-metadata", {f_type=0x1021994, f_bsize=4096, f_blocks=979772, f_bfree=979753, f_bavail=979753, f_files=979772, f_ffree=979766, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
open("/home/user/.local/share/gvfs-metadata/home", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0600, st_size=260, ...}) = 0
mmap(NULL, 260, PROT_READ, MAP_SHARED, 6, 0) = 0x7f5446adf000
statfs("/home/user/.local/share/gvfs-metadata", {f_type=0x1021994, f_bsize=4096, f_blocks=979772, f_bfree=979753, f_bavail=979753, f_files=979772, f_ffree=979766, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
open("/home/user/.local/share/gvfs-metadata/home-0c3632e5.log", O_RDWR) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=32768, ...}) = 0
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0) = 0x7f5446ad7000
open("/home/user/.local/share/gvfs-metadata/home.VE1UEY", O_RDWR|O_CREAT|O_EXCL, 0600) = 9
write(9, "\332\32meta\1\0\0\0\0\0008\24)X\0\0\0008\0\0\0 \0\0\0\0RL<\200\0\0\0\1\0\0\0(download-uri\0\0\0\0\0\0\0H\0\0\0L\0\0\0\0\0\0\0\0/\0\0\0\0\0\0\1\0\0\0`\0\0\0l\0\0\0\0\0\0\0\0Downloads\0\0\0\0\0\0\1\0\0\0\200\0\0\0\0\0\0\0\240\0\0\ 0\1blender-2.46-i386-1alien.tgz\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\254http://www.slackware.com/~alien/slackbuilds/blender/pkg/blender-2.46-i386-1alien.tgz\0\0\0\0", 260) = 260
fsync(9) = 0
close(9) = 0
statfs("/home/user/.local/share/gvfs-metadata", {f_type=0x1021994, f_bsize=4096, f_blocks=979772, f_bfree=979752, f_bavail=979752, f_files=979772, f_ffree=979765, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
open("/home/user/.local/share/gvfs-metadata/home-38142958.log.BK1UEY", O_RDWR|O_CREAT|O_EXCL, 0666) = 9
fallocate(9, 0, 0, 32768) = 0
write(9, "\332\32jour\1\0008\24)X\0\0\200\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0... all null, 32768) = 32768
fstatfs(9, {f_type=0x1021994, f_bsize=4096, f_blocks=979772, f_bfree=979739, f_bavail=979739, f_files=979772, f_ffree=979764, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
lstat("/home/user/.local/share/gvfs-metadata/home-38142958.log", 0x7ffffcd008b0) = -1 ENOENT (No such file or directory)
close(9) = 0
rename("/home/user/.local/share/gvfs-metadata/home-38142958.log.BK1UEY", "/home/user/.local/share/gvfs-metadata/home-38142958.log") = 0
open("/home/user/.local/share/gvfs-metadata/home", O_RDWR) = 9
rename("/home/user/.local/share/gvfs-metadata/home.VE1UEY", "/home/user/.local/share/gvfs-metadata/home") = 0
open("/home/user/.local/share/gvfs-metadata", O_RDONLY) = 10
fsync(10) = 0
close(10) = 0
mmap(NULL, 16, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7f5446ad6000
munmap(0x7f5446ad6000, 16) = 0
close(9) = 0
statfs("/home/user/.local/share/gvfs-metadata", {f_type=0x1021994, f_bsize=4096, f_blocks=979772, f_bfree=979739, f_bavail=979739, f_files=979772, f_ffree=979764, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
unlink("/home/user/.local/share/gvfs-metadata/home-0c3632e5.log") = 0
munmap(0x7f5446ad7000, 32768) = 0
close(8) = 0
munmap(0x7f5446adf000, 260) = 0
close(6) = 0
statfs("/home/user/.local/share/gvfs-metadata", {f_type=0x1021994, f_bsize=4096, f_blocks=979772, f_bfree=979748, f_bavail=979748, f_files=979772, f_ffree=979766, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
open("/home/user/.local/share/gvfs-metadata/home", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0600, st_size=260, ...}) = 0
mmap(NULL, 260, PROT_READ, MAP_SHARED, 6, 0) = 0x7f5446adf000
statfs("/home/user/.local/share/gvfs-metadata", {f_type=0x1021994, f_bsize=4096, f_blocks=979772, f_bfree=979748, f_bavail=979748, f_files=979772, f_ffree=979766, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
open("/home/user/.local/share/gvfs-metadata/home-38142958.log", O_RDWR) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=32768, ...}) = 0
mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0) = 0x7f5446ad7000
open("/home/user/.local/share/gvfs-metadata/home.MOYUEY", O_RDWR|O_CREAT|O_EXCL, 0600) = 9
write(9, "\332\32meta\1\0\0\0\0\0\271j\260\231\0\0\0008\0\0\0 \0\0\0\0RL<\200\0\0\0\1\0\0\0(download-uri\0\0\0\0\0\0\0H\0\0\0L\0\0\0\0\0\0\0\0/\0\0\0\0\0\0\1\0\0\0`\0\0\0l\0\0\0\0\0\0\0\0Downloads\0\0\0\0\0\0\1\0\0\0\200\0\0\0\0\0\0\0\240\0\0\ 0\1blender-2.46-i386-1alien.tgz\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\254http://www.slackware.com/~alien/slackbuilds/blender/pkg/blender-2.46-i386-1alien.tgz\0\0\0\0", 260) = 260
fsync(9) = 0
close(9) = 0
statfs("/home/user/.local/share/gvfs-metadata", {f_type=0x1021994, f_bsize=4096, f_blocks=979772, f_bfree=979746, f_bavail=979746, f_files=979772, f_ffree=979765, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
open("/home/user/.local/share/gvfs-metadata/home-b96ab099.log.3MYUEY", O_RDWR|O_CREAT|O_EXCL, 0666) = 9
fallocate(9, 0, 0, 32768) = 0
write(9, "\332\32jour\1\0\271j\260\231\0\0\200\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
... all null
0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 32768
fstatfs(9, {f_type=0x1021994, f_bsize=4096, f_blocks=979772, f_bfree=979733, f_bavail=979733, f_files=979772, f_ffree=979764, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
lstat("/home/user/.local/share/gvfs-metadata/home-b96ab099.log", 0x7ffffcd008b0) = -1 ENOENT (No such file or directory)
close(9) = 0
rename("/home/user/.local/share/gvfs-metadata/home-b96ab099.log.3MYUEY", "/home/user/.local/share/gvfs-metadata/home-b96ab099.log") = 0
open("/home/user/.local/share/gvfs-metadata/home", O_RDWR) = 9
rename("/home/user/.local/share/gvfs-metadata/home.MOYUEY", "/home/user/.local/share/gvfs-metadata/home") = 0
open("/home/user/.local/share/gvfs-metadata", O_RDONLY) = 10
fsync(10) = 0
close(10) = 0
mmap(NULL, 16, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0) = 0x7f5446ad6000
munmap(0x7f5446ad6000, 16) = 0
close(9) = 0
statfs("/home/user/.local/share/gvfs-metadata", {f_type=0x1021994, f_bsize=4096, f_blocks=979772, f_bfree=979733, f_bavail=979733, f_files=979772, f_ffree=979764, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
unlink("/home/user/.local/share/gvfs-metadata/home-38142958.log") = 0
munmap(0x7f5446ad7000, 32768) = 0
close(8) = 0
munmap(0x7f5446adf000, 260) = 0
close(6) = 0
This cycle then repeats - it's not touching any files outside of this dir.
 
Old 10-04-2013, 03:40 AM   #2
bartgymnast
Member
 
Registered: Feb 2003
Location: Lelystad, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 272

Rep: Reputation: 93
Hi SpeedEvil,

as far as I can see the bug you reffered to is relevant to your issue.
There are a few options for you to fix this.

1. Download the Slackbuild source file for gvfs, and include the patches that are reffered to in the bug report.
2. same as above but ask pat to include those fixes in -current
2. Ask/wait for pat to update gvfs to 1.18.x (this would also mean updating glib (hard dep) and some other libraries to the new stable series, that got released last week.)
3. Update yourself to gvfs 1.18.x and update the required dependencies aswell.

Dependecy list is as follows: (could miss a package)

glib-2.38.x
libarchive-3.x (without libarchive-3.x or option --disable-archive added to configure, your make will fail)
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is gvfsd-metadata? taylorkh Linux - Newbie 4 04-08-2014 08:22 AM
[SOLVED] Linux with SSDs Dornith Linux - Newbie 6 01-02-2013 01:04 PM
Cannot connect phones with bluetooth log shows segfault with gvfsd-obexftp Toadman Linux - Software 0 09-03-2010 10:51 PM
gvfsd-smb freezes, stopping network file transfers adanedhel728 Ubuntu 0 11-14-2009 06:53 PM
Who starts dbus and gvfsd? taylor_venable Ubuntu 1 07-29-2008 10:30 AM


All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration