From: Byron F. <by...@ba...> - 2002-05-23 22:44:14
|
Hello, When doing an "ls" in a davfs mounted file system I noticed it was very slow. I checked out the latest snapshot from CVS and I turned debug on. I perform an "ls" in the root of the mounted directory and I get the following output: ------------------------------------------------------------------- [2] May 23 04:52:44 :: attr //ls PROPFIND /ls HTTP/1.1 Host: public.base2.cc:443 Authorization: Basic YmZvc3RlcjptR0ZpMmY= Depth: 0 Content-Length: 96 Content-Type: text/xml; charset="utf-8" <?xml version="1.0" encoding="utf-8" ?> <D:propfind xmlns:D="DAV:"> <D:allprop/> </D:propfind> [3] May 23 04:52:46 :: attr //i686 PROPFIND /i686 HTTP/1.1 Host: public.base2.cc:443 Authorization: Basic YmZvc3RlcjptR0ZpMmY= Depth: 0 Content-Length: 96 Content-Type: text/xml; charset="utf-8" <?xml version="1.0" encoding="utf-8" ?> <D:propfind xmlns:D="DAV:"> <D:allprop/> </D:propfind> [4] May 23 04:52:47 :: attr //mmx PROPFIND /mmx HTTP/1.1 Host: public.base2.cc:443 Authorization: Basic YmZvc3RlcjptR0ZpMmY= Depth: 0 Content-Length: 96 Content-Type: text/xml; charset="utf-8" <?xml version="1.0" encoding="utf-8" ?> <D:propfind xmlns:D="DAV:"> <D:allprop/> </D:propfind> [5] May 23 04:52:50 :: attr //libtermcap.so.2 PROPFIND /libtermcap.so.2 HTTP/1.1 Host: public.base2.cc:443 Authorization: Basic YmZvc3RlcjptR0ZpMmY= Depth: 0 Content-Length: 96 Content-Type: text/xml; charset="utf-8" <?xml version="1.0" encoding="utf-8" ?> <D:propfind xmlns:D="DAV:"> <D:allprop/> </D:propfind> [6] May 23 04:52:51 :: attr //i686 PROPFIND /i686 HTTP/1.1 Host: public.base2.cc:443 Authorization: Basic YmZvc3RlcjptR0ZpMmY= Depth: 0 Content-Length: 96 Content-Type: text/xml; charset="utf-8" --------------------------------------------------------- It continues on for serveral more strange attribute requests before it does the correct one. On the webdav server (apache with mod_dav) I get the following in the access logs: ------------------------------------------------------------ 68.98.124.204 - bfoster [23/May/2002:02:55:34 -0700] "PROPFIND / HTTP/1.1" 207 998 "-" "DAV-FS/0.0.1" 68.98.124.204 - bfoster [23/May/2002:02:55:38 -0700] "PROPFIND /ls HTTP/1.1" 404 281 "-" "DAV-FS/0.0.1" 68.98.124.204 - bfoster [23/May/2002:02:55:39 -0700] "PROPFIND /i686 HTTP/1.1" 404 283 "-" "DAV-FS/0.0.1" 68.98.124.204 - bfoster [23/May/2002:02:55:41 -0700] "PROPFIND /mmx HTTP/1.1" 404 282 "-" "DAV-FS/0.0.1" 68.98.124.204 - bfoster [23/May/2002:02:55:42 -0700] "PROPFIND /libtermcap.so.2 HTTP/1.1" 404 294 "-" "DAV-FS/0.0.1" 68.98.124.204 - bfoster [23/May/2002:02:55:43 -0700] "PROPFIND /i686 HTTP/1.1" 404 283 "-" "DAV-FS/0.0.1" 68.98.124.204 - bfoster [23/May/2002:02:55:45 -0700] "PROPFIND /mmx HTTP/1.1" 404 282 "-" "DAV-FS/0.0.1" 68.98.124.204 - bfoster [23/May/2002:02:55:46 -0700] "PROPFIND /libc.so.6 HTTP/1.1" 404 288 "-" "DAV-FS/0.0.1" 68.98.124.204 - bfoster [23/May/2002:02:55:47 -0700] "PROPFIND / HTTP/1.1" 207 8252 "-" "DAV-FS/0.0.1" 68.98.124.204 - bfoster [23/May/2002:02:56:48 -0700] "PROPFIND / HTTP/1.1" 207 998 "-" "DAV-FS/0.0.1" 68.98.124.204 - "" [23/May/2002:04:51:37 -0700] "OPTIONS / HTTP/1.1" 401 482 "-" "DAV-FS/0.0.1" ------------------------------------------------------------- Now, Where are all these strange requests coming from for ls and i686 and mmx etc. the "ls" would be much faster without all this of course. Thanks, Byron |