Announcement

#16 2023-02-11 15:42:59

BigIsland270972
Member
Norway
2022-03-15
374

Re: Generating multiple size image - high cpu usage with i.php

kyp_ wrote:

Hi,

so I was wondering how other piwigo users do the following:

I'm always generating multiple size images after uploading new pictures, in order to fasten things up for visitors. Otherwise it would only be done when a visitor, well...visits it, which could be quite slow with lots of new images if I understood it right.

My trouble now is:
my site hoster is complaining when I do it (arvixe.com with a basic package).
they are complaining that the i.php is abusing cpu%

And since this batch process takes a few hours with 1000 or more pictures it will get noticed =)

Apprearently there is no willingness to limit the i.php process to a set amount of %, soo how do you guys handle it ? (well besides the obvious and not doing the image generating in the first place :P )


cheers
Kyp

YES I had to move to new hardware because of high CPU usage.
best Regards
RS


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#17 2023-02-22 07:35:12

compknotz
Member
2023-02-22
1

Re: Generating multiple size image - high cpu usage with i.php

thank you. I am using XL as a default size. But after I removed other sizes, I was getting into trouble with iPhone and iPad.

Offline

 

#18 2023-03-01 11:18:36

creaftomp
Member
2023-02-07
3

Re: Generating multiple size image - high cpu usage with i.php

I never was able to get back i.php so I created a.php a rename of the same file and also changed the unique line of code which was referring to i.php: that worked well

Offline

 

Board footer

Powered by FluxBB

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