Bug 256291 - kio_file has hangup problems on NFS directory
Summary: kio_file has hangup problems on NFS directory
Status: RESOLVED DUPLICATE of bug 317676
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: nfs (show other bugs)
Version: 4.5
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 158606 228787 281954 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-07 11:21 UTC by mark
Modified: 2014-06-02 14:35 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mark 2010-11-07 11:21:42 UTC
Version:           4.5
OS:                Linux

I am using an NFSv4 server and client in a LAN and a shared directory from that NFS server is mounted in my home.
I am observing many hangups when moving files from my home to that mounted folder if I use dolphin for that task. The "hangups" are unresponsive dolphin windows, while no data is being copied in that moment (watching the network traffic and disk utilization on the NFS server). If I open another dolphin window and change to the same directory that is stuck in the other dolphin window, the new dolphin window is getting stuck too.
The only way to resolve this problem is to kill all kio_file tasks, which immediately makes the open dolphin windows usable again (and terminates the copying process of course).

I don't know how to reproduce this exactly, I only know that It happens when I am copying many (about 20) folders/files to the NFS directory or delete multiple selected folders from the NFS directory. I was able to circumvent the deletion problem by deleting only one selected folder at a time. The time I selected two instead of one folder, kio_file got stuck again, I killed it and deleted the remaining folder (it seemed to have deleted at least one of the selected folders before it got stuck).
I think this problem does not occur all the time but the more kio_file using apps are open and copying stuff to that folder the higher the probability for getting stuck again.
Most of the data I copy/delete is several gigabytes large; this night I copied about 200 gigs (or at least tried until I fell back to cp)

I'm sorry for this unspecific prosa, but I don't know a better way to reproduce or describe the problem.

Reproducible: Sometimes

Steps to Reproduce:
As described above, this might be difficult. At least one needs a mounted NFS share and some folders with larger files to copy into that folder.

Actual Results:  
as described above, kio_file gets stuck and has to be killed and I have to retry again

Expected Results:  
it should work like 'select, copy and forget' :-)

I am using kde 4.5.3, but it was not an available choice in bugzilla, only up to 4.5.2 or snapshot.
As the software hangs and needs to be killed, I am going to classify this as a crash.
Comment 1 mark 2010-11-08 17:55:54 UTC
in ktorrent which uses kio_file too as far as I know I suddenly have the error: cannot open file bla: Too many open files.
May it be, that I try to move "too many" files at once and that the ioslave cannot handle this? Just a guess...
Comment 2 Matteo Agostinelli 2011-12-01 18:51:19 UTC
*** Bug 236463 has been marked as a duplicate of this bug. ***
Comment 3 Aaron J. Seigo 2011-12-03 11:47:48 UTC
*** Bug 228787 has been marked as a duplicate of this bug. ***
Comment 4 Aaron J. Seigo 2011-12-03 11:47:51 UTC
*** Bug 158606 has been marked as a duplicate of this bug. ***
Comment 5 Aaron J. Seigo 2011-12-03 11:47:54 UTC
*** Bug 281954 has been marked as a duplicate of this bug. ***
Comment 6 Pete Beardmore 2012-09-17 07:58:33 UTC
my use-case is that a client actually in turn boots my server (sounds silly but it's an access thing), and if on occasion (like this morning) this server fails to start, the kde session on the client stalls indefinately until the server comes up.

why? because the restore session is loading several instances of dolphin that i was using previously, and ony or more of those has a tab 'open' on a nfs share dir.
Comment 7 Dawit Alemayehu 2014-03-25 11:49:55 UTC

*** This bug has been marked as a duplicate of bug 317676 ***
Comment 8 mombelli.mauro 2014-06-02 14:35:43 UTC
seems like kde 4.13 is still affected by this bug!