You are not logged in.

#1 2016-01-19 06:39:33

Hacksign
Member
Registered: 2012-07-30
Posts: 131

[SOLVED]gvfsd-smb-browse caused high cpu use .

awesomewm + thunar + gvfs-smb-browser.
when thunar opened the 'save as' dialog(or any dialog like save as),gvfs-smb-browser  causes high cup load.
anyone meet the same situation and solved it ?

I dont know which log or config file to include(gvfs-smb-browser is a lib from gvfs-smb), so please tell me if you need and log or config files.

Last edited by Hacksign (2016-02-19 07:37:07)

Offline

#2 2016-01-25 14:18:47

doragasu
Member
Registered: 2012-03-03
Posts: 152

Re: [SOLVED]gvfsd-smb-browse caused high cpu use .

I have the same problem, but I'm using i3-wm + thunar + gvfs-smb-browser. Each time an application (e.g. Firefox) opens the "save as" dialog, gvfs-smb-browser CPU usage goes up to 100% and stays there for a while.

Offline

#3 2016-02-01 02:52:14

Hacksign
Member
Registered: 2012-07-30
Posts: 131

Re: [SOLVED]gvfsd-smb-browse caused high cpu use .

It seems this process is stuck on restart_syscall ...
And the high cpu only appear in the first time opened 'save as' dialog.This situation wont appear if I killed the process and open the 'save as' dialog again .
anybody knows what's wrong with this process ?

[root@XSign hacksign]# strace -p 22560
Process 22560 attached
restart_syscall(<... resuming interrupted call ...>^CProcess 22560 detached
 <detached ...>

Last edited by Hacksign (2016-02-01 02:54:06)

Offline

#4 2016-02-18 01:51:43

Hacksign
Member
Registered: 2012-07-30
Posts: 131

Re: [SOLVED]gvfsd-smb-browse caused high cpu use .

Found something strange , below is the strace log :

1586  connect(12, {sa_family=AF_INET, sin_port=htons(445), sin_addr=inet_addr("172.27.0.222")}, 16) = -1 EALREADY (Operation already in progress)
1586  fcntl(12, F_SETFL, O_RDWR)        = 0
1586  fcntl(12, F_GETFL)                = 0x2 (flags O_RDWR)
1586  fcntl(12, F_GETFL)                = 0x2 (flags O_RDWR)
1586  fcntl(12, F_SETFL, O_RDWR|O_NONBLOCK) = 0 

which 172.27.0.22 is a LAN address.
but I dont know why smb-browse is trying to access this address ...
anyone knows why this happen ?

Offline

#5 2016-02-19 07:36:53

Hacksign
Member
Registered: 2012-07-30
Posts: 131

Re: [SOLVED]gvfsd-smb-browse caused high cpu use .

Solved,
This situation is related a bug :
https://bugzilla.redhat.com/show_bug.cgi?id=1303300

But in my case, the cause of formation is not same.

in /etc/samba/smb.com
I modified 'workgroup' variable and forgot change it back.
after comment workgroup line out, everything works fine again.

Offline

#6 2016-04-19 08:04:12

hsz
Member
Registered: 2009-09-25
Posts: 30

Re: [SOLVED]gvfsd-smb-browse caused high cpu use .

@Hacksign in my case I have not configured samba at all and there is a default value for the workgroup..

Offline

Board footer

Powered by FluxBB