You are not logged in.

#1 2015-12-25 16:01:42

jdmonmou
Member
Registered: 2015-12-25
Posts: 13

Hung task timeout occurs when accessing my user home folder [SOLVED]

I have a strange issue with not being able to access the contents of my home folder after I leave my computer alone for some time.  When I type the ls command to list the contents of my user home folder, the task hangs for about 30 min before actually completing.  Also, when I try to access it from the file manager in my desktop environment, the system hangs and starts to become unresponsive. It starts to work normally after I wait it out or reboot, but the problem inevitably comes back. I don't have this problem when trying to access any folder outside of home (e.g. root, etc, etc.).  This is what I can see by typing the dmesg command.

[49440.185322] ls              D ffff88029fd15200     0  2683      1 0x00000004
[49440.185326]  ffff880257de79b8 0000000000000086 ffff880296770000 ffff880257e38dc0
[49440.185330]  ffff88029fd15200 ffff880257de8000 ffff880294701a24 ffff880257e38dc0
[49440.185334]  00000000ffffffff ffff880294701a28 ffff880257de79d8 ffffffff8157283e
[49440.185338] Call Trace:
[49440.185342]  [<ffffffff8157283e>] schedule+0x3e/0x90
[49440.185347]  [<ffffffff81572c25>] schedule_preempt_disabled+0x15/0x20
[49440.185351]  [<ffffffff8157404a>] __mutex_lock_slowpath+0xca/0x140
[49440.185356]  [<ffffffff815740db>] mutex_lock+0x1b/0x30
[49440.185362]  [<ffffffffa06e2bfb>] cifs_reconnect_tcon+0x12b/0x260 [cifs]
[49440.185370]  [<ffffffffa07072b5>] ? cifs_add_credits+0x55/0x60 [cifs]
[49440.185376]  [<ffffffffa06e2dde>] smb_init+0x2e/0x60 [cifs]
[49440.185383]  [<ffffffffa06e7d93>] CIFSSMBQPathInfo+0x63/0x290 [cifs]
[49440.185390]  [<ffffffffa0706f0f>] cifs_query_path_info+0x6f/0x1a0 [cifs]
[49440.185395]  [<ffffffff811b3282>] ? __kmalloc+0x212/0x270
[49440.185399]  [<ffffffff811dcb69>] ? lookup_fast+0x189/0x340
[49440.185407]  [<ffffffffa06faa7e>] cifs_get_inode_info+0x26e/0x5e0 [cifs]
[49440.185411]  [<ffffffff811dacd3>] ? terminate_walk+0x73/0xe0
[49440.185415]  [<ffffffff811b309e>] ? __kmalloc+0x2e/0x270
[49440.185422]  [<ffffffffa06f14d6>] ? build_path_from_dentry+0xb6/0x210 [cifs]
[49440.185428]  [<ffffffffa06f1549>] ? build_path_from_dentry+0x129/0x210 [cifs]
[49440.185436]  [<ffffffffa06fc47a>] cifs_revalidate_dentry_attr+0xda/0xf0 [cifs]
[49440.185443]  [<ffffffffa06fc545>] cifs_getattr+0x55/0x120 [cifs]
[49440.185446]  [<ffffffff811d55fc>] vfs_getattr_nosec+0x2c/0x40
[49440.185449]  [<ffffffff811d5836>] vfs_getattr+0x26/0x30
[49440.185452]  [<ffffffff811d5918>] vfs_fstatat+0x78/0xc0
[49440.185455]  [<ffffffff811d5e66>] SyS_newlstat+0x36/0x70
[49440.185459]  [<ffffffff8157626e>] entry_SYSCALL_64_fastpath+0x12/0x71
[49560.185141]INFO: task xfce4-panel:2107 blocked for more than 120 seconds.
[49560.185148]       Not tainted 4.2.5-1-ARCH #1
[49560.185150] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

Any help or troubleshooting ideas would be greatly appreciated.  Thanks.

Last edited by jdmonmou (2015-12-25 20:33:02)

Offline

#2 2015-12-25 16:09:54

Duka
Member
From: R'lyeh
Registered: 2010-04-16
Posts: 34

Re: Hung task timeout occurs when accessing my user home folder [SOLVED]

Hi,

[49440.185322] ls              D ffff88029fd15200     0  2683      1 0x00000004

indicates process ls entered D state (uninteraptuble sleep, mostly caused by disk I/O). You can check disk with smartmon tools, to see if there is some problem.
What is the size of your /home partition?


Cthulhu Fhtagn!

Offline

#3 2015-12-25 16:35:17

jdmonmou
Member
Registered: 2015-12-25
Posts: 13

Re: Hung task timeout occurs when accessing my user home folder [SOLVED]

Duka wrote:

Hi,

[49440.185322] ls              D ffff88029fd15200     0  2683      1 0x00000004

indicates process ls entered D state (uninteraptuble sleep, mostly caused by disk I/O). You can check disk with smartmon tools, to see if there is some problem.
What is the size of your /home partition?

I don't think I have a separate partition for home.  I only created 2 - 1 for root level on my primary hard drive and another for a second external hard drive.  Could that be a problem?  I ran the lsblk command to get the following:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk 
|-sda1   8:1    0   512M  0 part /boot
`-sda2   8:2    0 465.3G  0 part /
sdb      8:16   0 931.5G  0 disk 
`-sdb1   8:17   0 931.5G  0 part /hdd2

Thanks for pointing me in the right direction.

Offline

#4 2015-12-25 17:00:07

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,020

Re: Hung task timeout occurs when accessing my user home folder [SOLVED]

What's the output of "df -T"? Do you use some samba mounts?

Offline

#5 2015-12-25 17:54:17

jdmonmou
Member
Registered: 2015-12-25
Posts: 13

Re: Hung task timeout occurs when accessing my user home folder [SOLVED]

lucke wrote:

What's the output of "df -T"? Do you use some samba mounts?

Here is the output.  I don't use samba mounts, but I have some local Windows network drives mapped in fstab file.

Filesystem         Type      1K-blocks       Used  Available Use% Mounted on
dev                devtmpfs    4048792          0    4048792   0% /dev
run                tmpfs       4051840        972    4050868   1% /run
/dev/sda2          ext4      480073456   13372944  442291068   3% /
tmpfs              tmpfs       4051840      40948    4010892   2% /dev/shm
tmpfs              tmpfs       4051840          0    4051840   0% /sys/fs/cgroup
tmpfs              tmpfs       4051840        120    4051720   1% /tmp
/dev/sda1          vfat         523248      26436     496812   6% /boot
/dev/sdb1          ext4      961300808      73364  912373072   1% /hdd2
//192.168.1.3/FTP3 cifs     2139092988  715565556 1423527432  34% /home/userA/FTP3
//192.168.1.3/FTP2 cifs     1767792636 1624992044  142800592  92% /home/userA/FTP2
//192.168.1.3/FTP  cifs     1890495484  581853680 1308641804  31% /home/userA/FTP
tmpfs              tmpfs        810368          4     810364   1% /run/user/1000

Also, another piece of info is that the primary drive where arch linux is installed is a Crucial SSD

Offline

#6 2015-12-25 18:00:23

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,020

Re: Hung task timeout occurs when accessing my user home folder [SOLVED]

It seems those smb/cifs mounts are at fault.

Offline

#7 2015-12-25 18:08:10

jdmonmou
Member
Registered: 2015-12-25
Posts: 13

Re: Hung task timeout occurs when accessing my user home folder [SOLVED]

lucke wrote:

It seems those smb/cifs mounts are at fault.

Ok, I'll try unmounting them to see if the problem still happens.  Any reason why mounting these network drives could cause the issue I'm having?  Thanks.

Offline

#8 2015-12-25 18:25:31

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,020

Re: Hung task timeout occurs when accessing my user home folder [SOLVED]

Maybe they aren't accessible at all times?

Why are smb/cifs mounts called FTP?

Offline

#9 2015-12-25 18:37:28

jdmonmou
Member
Registered: 2015-12-25
Posts: 13

Re: Hung task timeout occurs when accessing my user home folder [SOLVED]

lucke wrote:

Maybe they aren't accessible at all times?

Why are smb/cifs mounts called FTP?

I just called them FTP because they contain files I use ftp to download when I'm remote.  They are located on a local windows home server.

Offline

#10 2015-12-25 20:31:50

jdmonmou
Member
Registered: 2015-12-25
Posts: 13

Re: Hung task timeout occurs when accessing my user home folder [SOLVED]

lucke wrote:

It seems those smb/cifs mounts are at fault.

A few hours later and I haven't faced the problem.  It looks like those network shares I mounted were the problem after all.  Thanks for your help.

Offline

Board footer

Powered by FluxBB