This is what I get in the log files when accessing a page with ~8
photos on it. Notice the big fat (Rendering: 6.42337 (97%) ) at the
bottom.
It can be seen that the https connection is continually opened and
closed which is probably responsible for most of the slow down.
Are things normally like this?
Thanks
=================================
SHOW FIELDS FROM content_photos
New RightAws::S3Interface using single-threaded mode
Closing HTTPS connection to my_app.s3.amazonaws.com:443
Opening new HTTPS connection to s3.amazonaws.com:443
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
Rendered admin/content_photos/_content_photo (0.46094)
New RightAws::S3Interface using single-threaded mode
Closing HTTPS connection to s3.amazonaws.com:443
Opening new HTTPS connection to my_app.s3.amazonaws.com:443
Closing HTTPS connection to my_app.s3.amazonaws.com:443
Opening new HTTPS connection to s3.amazonaws.com:443
Rendered admin/content_photos/_content_photo (0.74744)
New RightAws::S3Interface using single-threaded mode
Closing HTTPS connection to s3.amazonaws.com:443
Opening new HTTPS connection to my_app.s3.amazonaws.com:443
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
Closing HTTPS connection to my_app.s3.amazonaws.com:443
Opening new HTTPS connection to s3.amazonaws.com:443
Rendered admin/content_photos/_content_photo (0.66900)
New RightAws::S3Interface using single-threaded mode
Closing HTTPS connection to s3.amazonaws.com:443
Opening new HTTPS connection to my_app.s3.amazonaws.com:443
Closing HTTPS connection to my_app.s3.amazonaws.com:443
Opening new HTTPS connection to s3.amazonaws.com:443
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
Rendered admin/content_photos/_content_photo (0.67587)
New RightAws::S3Interface using single-threaded mode
Closing HTTPS connection to s3.amazonaws.com:443
Opening new HTTPS connection to my_app.s3.amazonaws.com:443
Closing HTTPS connection to my_app.s3.amazonaws.com:443
Opening new HTTPS connection to s3.amazonaws.com:443
Rendered admin/content_photos/_content_photo (0.65983)
New RightAws::S3Interface using single-threaded mode
Closing HTTPS connection to s3.amazonaws.com:443
Opening new HTTPS connection to my_app.s3.amazonaws.com:443
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
Closing HTTPS connection to my_app.s3.amazonaws.com:443
Opening new HTTPS connection to s3.amazonaws.com:443
Rendered admin/content_photos/_content_photo (0.62771)
New RightAws::S3Interface using single-threaded mode
Closing HTTPS connection to s3.amazonaws.com:443
Opening new HTTPS connection to my_app.s3.amazonaws.com:443
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
warning: peer certificate won’t be verified in this SSL session
Closing HTTPS connection to my_app.s3.amazonaws.com:443
Opening new HTTPS connection to s3.amazonaws.com:443
Rendered admin/content_photos/_content_photo (0.84993)
New RightAws::S3Interface using single-threaded mode
Closing HTTPS connection to s3.amazonaws.com:443
Opening new HTTPS connection to my_app.s3.amazonaws.com:443
Closing HTTPS connection to my_app.s3.amazonaws.com:443
Opening new HTTPS connection to s3.amazonaws.com:443
Rendered admin/content_photos/_content_photo (0.63834)
ContentFile Load (0.001071) SELECT * FROM content_files WHERE
(content_files.content_id = 1)
ContentFile Columns (0.004495) SHOW FIELDS FROM content_files
Rendered admin/content_files/_content_file (0.00858)
Rendered admin/content_files/_content_file (0.00076)
Page Load (0.001569) SELECT * FROM pages WHERE (pages.deleted_at
IS NULL OR pages.deleted_at > ‘2008-04-12 23:08:47’) AND
(pages.account_id = 1 AND (name = ‘Main’)) LIMIT 1
Completed in 6.56130 (0 reqs/sec) | Rendering: 6.42337 (97%) | DB:
0.03947 (0%) | 200 OK [http://localhost/admin/pages/1-Main/contents/1]