Website *really* slow

  9 posts   Feedicon  
Replies: 8 - Last Post: May 09, 2011 03:22
by: dengdai
showing 1 - 9 of 9
 
Posted: October 20, 2009 23:14 by Fabrizio Giudici
Hi there.

I've just added a website to a project of mine and the idea is to publish there the javadocs. The way I'm publishing them is to create a tar, then I mount the website by means of Mac OS X and then I extract the tar to the mounted volume.

It's unbelievably slow. The uncompressed tar is 18MB and it's running since 40 minutes and still far from being complete. Is it a bottleneck at Kenai, or am I using an inefficient approach?

Thanks.
 
Posted: October 21, 2009 00:07 by john_brock
Hi Fabrizio,

I've never done the upload using the method that you describe. I just use straight WebDAV and it's been pretty quick for me.

It's just an Apache server and there isn't a huge load on it so I'm going to suspect the method that you have going. Can you try another method as well just to transfer over the 18MB tar and see how long that takes? It shouldn't take long at all.

--jb

The Project Kenai Team
 
Posted: October 21, 2009 07:13 by Fabrizio Giudici
I'll search for a WebDAV client. BTW, I've found that not only my method is slow, but it most frequently dies before finishing.
 
Posted: October 21, 2009 07:25 by Fabrizio Giudici
I'm trying CyberDuck. It connects, but immediately fails with this error:

Listing directory failed.

And I can see this log:


PROPFIND / HTTP/1.1[\r][\n]
Content-Type: text/xml; charset=utf-8[\r][\n]
User-Agent: Cyberduck/3.2.1 (4923)[\r][\n]
Host: forceten.kenai.com[\r][\n]
Content-Length: 207[\r][\n]
Depth: 0[\r][\n]
[\r][\n]
HTTP/1.1 200 OK[\r][\n]
HTTP/1.1 200 OK[\r][\n]
Date: Wed, 21 Oct 2009 07:22:25 GMT[\r][\n]
Content-Type: text/html[\r][\n]
Content-Length: 122[\r][\n]
Cache-Control: max-age=0[\r][\n]
Expires: Wed, 21 Oct 2009 07:22:26 GMT[\r][\n]
Vary: Accept-Encoding[\r][\n]
[\r][\n]
 
Posted: October 21, 2009 14:13 by john_brock
It looks like you are connecting with HTTP and not HTTPS in this log. Please make sure you are using HTTPS.
 
Posted: October 21, 2009 13:44 by Peter Mount
I've not had any luck with Cyberduck, but I do have the same problems with OSX - deploying via maven is not that bad but still slow, however using finder or the command line is painfully slow (sometimes timing out half way through a transfer).

This is probably OSX's fault, as it does do a lot of additional locking when using WebDAV. I've used DavFS on Linux a couple of times to get around this - and it's faster, but doesn't help when the dev environment is primarily OSX.

Peter
 
Posted: October 21, 2009 21:16 by Fabrizio Giudici
I re-made the configuration from scratch (it could have been wrong the whole URL earlier). The URL is https://kenai.com/website/forceten and there's a port field with an explicit 443.

Still, I see the same problem. It seems that CyberDuck is receiving a Moved Permanently whose Location is a plain http.

PROPFIND /website/forceten HTTP/1.1[\r][\n]
Authorization: Basic ******[\r][\n]
Content-Type: text/xml; charset=utf-8[\r][\n]
User-Agent: Cyberduck/3.2.1 (4923)[\r][\n]
Host: kenai.com[\r][\n]
Content-Length: 207[\r][\n]
Depth: 0[\r][\n]
[\r][\n]
HTTP/1.1 301 Moved Permanently[\r][\n]
HTTP/1.1 301 Moved Permanently[\r][\n]
Date: Wed, 21 Oct 2009 21:12:08 GMT[\r][\n]
Server: Apache/2.2.13 (Unix) mod_python/3.3.1 Python/2.5.2 DAV/2 SVN/1.5.5 mod_perl/2.0.4 Perl/v5.8.8[\r][\n]
Location: http://kenai.com/website/forceten/[\r][\n]
Content-Length: 242[\r][\n]
Content-Type: text/html; charset=iso-8859-1[\r][\n]
Cache-Control: max-age=0[\r][\n]
Expires: Wed, 21 Oct 2009 21:12:08 GMT[\r][\n]
Vary: Accept-Encoding[\r][\n]
[\r][\n]
PROPFIND /website/forceten/ HTTP/1.1[\r][\n]
Content-Type: text/xml; charset=utf-8[\r][\n]
User-Agent: Cyberduck/3.2.1 (4923)[\r][\n]
Content-Length: 207[\r][\n]
Authorization: Basic ******[\r][\n]
Host: kenai.com[\r][\n]
Depth: 0[\r][\n]
[\r][\n]
HTTP/1.1 200 OK[\r][\n]
HTTP/1.1 200 OK[\r][\n]
Date: Wed, 21 Oct 2009 21:12:09 GMT[\r][\n]
Content-Type: text/html[\r][\n]
Content-Length: 122[\r][\n]
Cache-Control: max-age=0[\r][\n]
Expires: Wed, 21 Oct 2009 21:12:09 GMT[\r][\n]
Vary: Accept-Encoding[\r][\n]
[\r][\n]
 
Posted: October 21, 2009 21:42 by Bruce Schubert
Hi Fabrizio,
I use Microsoft Expression Web for emxsys.kenai.com, and with the risk of stating the obvious, I have to explicitly select an SSL setting as well as using https.
-- Bruce
 
Posted: October 21, 2009 23:55 by lea_wang
Also, i have heard others use cadaver w/ success..
showing 1 - 9 of 9
Replies: 8 - Last Post: May 09, 2011 03:22
by: dengdai
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close