Announcement

#1 2012-07-16 19:16:53

spudz000
Member
2012-07-16
2

All around slow loading

Hello,

First off I love Piwigo and what you are doing.  I am really trying to make this work for my personal site but I am struggling.  It is so slow, and I am wondering what I am doing wrong.

I just tried zenphoto on the same server and it is so much faster creating thumbnails and caching them.  Piwigo definately has the features I want but too slow for use.

I had an existing zenphoto install and a fresh install of piwigo, I moved one album from my gallery over to piwigo, did a ftp sync and now the gallery is displayed.  Loading was so slow I could barely use it.  I tried disabling all the thumbnail options and cleaned the cache but it still took forever.

Where can I start looking to speed it up?

Thanks,
Mike

Offline

 

#2 2012-07-16 19:33:53

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13603

Re: All around slow loading

Hi spudz000,

Is it always slow or just on the first load of the page?

Piwigo generates the thumbnails and stores them in a cache. The first load is slow and then it just displays thumbnails from the cache.

Offline

 

#3 2012-07-16 20:54:43

spudz000
Member
2012-07-16
2

Re: All around slow loading

I believe you are right but if I upload a couple hundred pictures it is unbearable to even get through them once.  Zenphoto also builds it's cache thumb the first time but is not even close in terms of speed.

Offline

 

#4 2012-07-16 21:05:39

flop25
Piwigo Team
2006-07-06
7037

Re: All around slow loading

hello
the best solution for ftp pictures : use the Batch Mananger!


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2012-07-16 21:36:17

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13603

Re: All around slow loading

ZenPhoto and Piwigo must use slightly the same algorithm to resize photo (GD or ImageMagick). In case of FTP, I don't know when zenPhoto generates the thumb+medium size.

If you add photos another way than FTP, Piwigo automatically generates the thumbnail in cache. I mean with the web upload form or with any remote software like Lightroom, pLoader or iPhoto.

For now (before we may find a better way to generate cache fro FTP added photos) use the [Administration > Photos > Batch Manager] screen, predefined filter "All", select "All photos", action "Generate multiple size images", as suggested by flop25.

Offline

 

#6 2012-12-26 15:01:38

faqvideo
Member
2012-01-21
114

Re: All around slow loading

I do have two Piwigo sites, both hosted by DreamHost. After latest upgrade one of them, namely andreifiles.com started responding extremely slowly: front end, admin end and pLoader. The other one seems to work fine. Any idea?

Offline

 

#7 2012-12-26 15:03:12

flop25
Piwigo Team
2006-07-06
7037

Re: All around slow loading

Are they on the same server?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#8 2012-12-26 15:11:22

faqvideo
Member
2012-01-21
114

Re: All around slow loading

Both sites are hosted by DreamHost, that does not mean they are physically sitting on the the same server. I opened a ticket with DreamHost support, waiting to hear from them.

Offline

 

#9 2012-12-27 17:58:34

faqvideo
Member
2012-01-21
114

Re: All around slow loading

Thanks for your patience. It took some time for the DreamHost support team to fix the issues on the server. The site is up, working now faster then before.

Merry Christmas everybody, and Happy New Year!

Offline

 

#10 2012-12-29 13:09:32

LePhasme
Member
2012-12-29
3

Re: All around slow loading

What was the issue with dreamhost ?
Because I'm doing some tests on dreamhost too and it's very slow to generate the cache.

Offline

 

#11 2012-12-29 13:16:34

flop25
Piwigo Team
2006-07-06
7037

Re: All around slow loading

How slow it is? just to have a look. With a link of course


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#12 2012-12-29 14:02:35

mendip_discovery
Member
Mendip Hills, Somerset, UK
2012-05-19
90

Re: All around slow loading

Going by what others have said I think you might find Dreamhost are doing some maintenance/migrating. Users are being moved around the servers some are getting PHP upgrades. The migration can cause servers to run slow as they copy files over etc.

If its running slow then just send a message to their help desk and it will no doubt get sorted quickly.

Offline

 

#13 2012-12-29 14:36:53

faqvideo
Member
2012-01-21
114

Re: All around slow loading

DreamHost

I was told that regardless of unlimited space and bandwidth they are still trying to limit activity of each user to avoid potential abuse. I have number of projects under my account, and two of them are quite heavy on space usage, so it looked like I have reached the limit, and the server was halting scripts.

The solution was creating new user sub-account within my existing account and moving a project or two over, thus taking some load off from my initially single user account. It has not changed my doing business with DreamHost, not a penny extra.

The guys were very helpful despite of Christmas season, pleasure to deal with.

If you decide to check the DreamHost, tell them I had sent you using my reference link: http://www.dreamhost.com/r.cgi?255174.

Hope it helped.

Offline

 

#14 2012-12-29 16:25:45

LePhasme
Member
2012-12-29
3

Re: All around slow loading

flop25 wrote:

How slow it is? just to have a look. With a link of course

Actually it's mainly the cache generation that took a lot of time (something like 10s for one image), the gallery itself is not really slow (specially as I'm in Belgium and the website is hosted in the USA).
You can have a look here http://testpiwigo.dreamhosters.com but the cache generation is running so it could slow your browsing...
Many thanks  for your answers.

Offline

 

#15 2012-12-30 22:16:36

LePhasme
Member
2012-12-29
3

Re: All around slow loading

Dreamhost answered to my ticket saying that the processes were killed because they used too much RAM.
I didn't even saw it...
I think I wont be able to use piwigo.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact