LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   WEBDAV slows system down? (https://www.linuxquestions.org/questions/slackware-14/webdav-slows-system-down-4175485929/)

JamesGT 11-26-2013 09:20 AM

WEBDAV slows system down?
 
When I am connected via a WEBDAV fs, my system slows to a crawl. It's not so bad in a browser or other software, but if I need to access files or use a file manager, everything is "click...wait 5/10 seconds...click...wait 5/10 seconds..."

Is this normal or is there something I can do to speed it up?

I am using Slackware64 14.0.

flank'er 11-27-2013 03:56 AM

Command df is working properly?

tux_dude 11-27-2013 07:06 PM

Probably a spotty network connection to the webdav server? I have webdav on my LAN and there is no delay with access.

JamesGT 11-27-2013 08:09 PM

Quote:

Originally Posted by flank'er (Post 5071327)
Command df is working properly?

Yep.

Code:

bash-4.2# df
Filesystem                    1K-blocks      Used Available Use% Mounted on
/dev/sdc1                    146664888  141243328  5421560  97% /
/dev/sdb1                    1362975928 1321296380  41679548  97% /media/1500GB
/dev/sda1                    488238332  415877052  72361280  86% /media/500GB
tmpfs                          3810636      1228  3809408  1% /dev/shm
/dev/sdb2                    101988758  101988754        4 100% /media/100GB
https://webdav.opendrive.com  26666664  13333332  13333332  50% /home/jamesgt/opendrive


JamesGT 11-27-2013 08:21 PM

Quote:

Originally Posted by tux_dude (Post 5071725)
Probably a spotty network connection to the webdav server? I have webdav on my LAN and there is no delay with access.

Could be. I've only used webdav with two services, so far both have had the same result.

tux_dude 11-27-2013 11:17 PM

What are the mount option for the webdav connection? The system will do weird things if you have a hard mount over a intermittent connection. Trying connecting directly from your window manager. You should also consider using autofs if you need cli access to the webdav service.

ChrisAbela 11-28-2013 07:31 AM

Are you using davfs2? If so you may need to edit $HOME/.davfs2/davfs2.conf

Quote:

$ man davfs2.conf
For example for my application I had to include:
Quote:

add_header Translate F

JamesGT 12-10-2013 08:47 PM

I think I may have found the problem. I think the search index was trying to index the webdav folders, which would explain why it would be pretty slow. I've unselected the webdav folders, and we'll see how it goes. It's much faster now, but I'll see how it plays out over the next couple of days and report back.

yars 12-11-2013 11:26 PM

I don't have any problems with webdav. I use davfs2. Remote drive is not needed for me are mounted any time. I just mount this only when it is really needed, and for this reason I use _netdev, noauto options in fstab.

JamesGT 12-15-2013 07:23 PM

Looks like that took care of about 90% of my problem. Dolphin & Thunar work great now when I am connected to webdav. The problem now occurs when I am copying files to webdav. Granted, for small files it's not that big of a deal, but with large files like 2+ GB, it can take a while before things return to normal...but much much better.

JamesGT 01-23-2014 10:24 PM

Turns out, after a couple of days/weeks it slowed down again. It still made any file manger just unbearably slow.

The real solution? Mounting WEBDAV folders outside of my home directory. Once I mounted it in /media/opendrive all the speed issues within my PC disappeared and it was only the speed of the service that was the issue.

"Really Solved".


All times are GMT -5. The time now is 10:13 AM.