Announcement

#1 2014-06-03 18:29:21

TomiLov
Member
2014-06-03
5

Getting large I/O Usage reported by cPanel

Hi!

I have installed Piwigo on my hosting account via cPanel/Softaculous/Magento installer. Although, I have entry-level web hosting plan, I believe there is something wrong with my installation/configuration, because I keep getting "Error 508 - Resource Limit Reached". In my control panel (cPanel) the stats shows critical I/O usage (over 2MB/s), physical memory usage (over 1GB) and Entry Processes (20/20). All this happens when I (=Piwigo admin) upload some HD images (~10 at the time) there are:
- no user on the site,
- no other PHP/MYSQL/Apache scripts are running.

Other facts:
- SQL database is "fresh" with almost no data. Piwigo is taking 0.28718758 MB,
- no cronjobs, no other activity on the site,
- Linux based Apache/PHP/MYSQL.

How can I check running processes of Piwigo? Where can I start looking for the problem?

BR

Piwigo version: 2.6.2
PHP version: 5.3.28
MySQL version:  5.5.36-cll

Offline

 

#2 2014-06-03 18:45:29

rvelices
Former Piwigo Team
2005-12-29
1960

Re: Getting large I/O Usage reported by cPanel

Probably happens when piwigo creates smaller sizes of your photos from originals.
How big your uploaded files are?  ( mpix)
Are you using gd or imagick (shown on your admin landing page)

If you want to be sure you can activate a log about imahe generation process (option enable_i_log ...

Offline

 

#3 2014-06-04 00:55:50

TomiLov
Member
2014-06-03
5

Re: Getting large I/O Usage reported by cPanel

I had uploaded high-quality images from my camera: 11.8 MP (4592*2576).
I am using ImageMagick 6.8.8-7, so this should not be the problem.

I had noticed temporal increase in "Disk space Usage", something like 150MB to 1.7GB when uploading ~10 images and then after a while, the size goes down to something "normal", 200MB or so. This is probably a consequence of the image transcoder, right?

Now, I have changed the "Configuration" setting, ie. image size to only:
small: 576 x 432
large: 1224 x 918

What seems to be strange is that, when I VISIT my gallery (when everything should be uploaded and transcoded) I still get large I/O Usage and I see loading bar when visiting URL of the gallery's image and later on "Error 508" AND my Disk space Usage goes up again. Is this normal?

Meanwhile, I can not access my gallery nor my administration panel...

Last edited by TomiLov (2014-06-04 09:39:16)

Offline

 

#4 2014-06-04 01:05:11

TomiLov
Member
2014-06-03
5

Re: Getting large I/O Usage reported by cPanel

'enable_i_log' gives me this (for 1 uploaded image):


2014-06-03T23:01:01+00:00 perf 20140602235647-589048e8.jpg 4592 2576 11828992 20140602235647-589048e8-sm.jpg 576 323 186048 1.2 835004 | 684304   145802   4890 7

Last edited by TomiLov (2014-06-04 09:38:12)

Offline

 

#5 2014-06-04 08:34:45

flop25
Piwigo Team
2006-07-06
7037

Re: Getting large I/O Usage reported by cPanel

If that's your own server you should use a monitoring system, like http:// unix.stackexchange.com/questions/9520/how-can-i-monitor-disk-i-o-in-a-particular-directory
if you're on a shared server, you can try to ask to your hoster and/or check manually what folder is implied.


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

 

#6 2014-06-04 09:37:57

rvelices
Former Piwigo Team
2005-12-29
1960

Re: Getting large I/O Usage reported by cPanel

In the i log you are showing I see:
835004 | 684304   145802   4890 7

which means:
835 seconds ! to generate this image (684 seconds ! just to load it from disk). That's really way too much. I don't know if the hoster 'downgrade' your processes or they are slow...

Offline

 

#7 2014-06-04 10:36:27

TomiLov
Member
2014-06-03
5

Re: Getting large I/O Usage reported by cPanel

Yes, this is precisely what I am worrying about! Execution time it waay to long.
My hosting provider already upgrade my plan, but problem still exists. I will try to contact the hosting personnel one more time.

Btw, I also try manual installation and the execution times is the same.
I also try running Piwigo on localhost (with same settings as before!) and it took less than 2s for every image, including transcoding to ALL image sizes and thrumbnails!

I guess that "average" web hosting is just not good enough for running any more-than-simple image gallery...

Please, can you guys report the capabilities (CPU/memory/IO/traffic performance) of your web hosting, where the Piwigo is running OK?

Last edited by TomiLov (2014-06-04 10:38:12)

Offline

 

#8 2014-06-04 10:47:41

flop25
Piwigo Team
2006-07-06
7037

Re: Getting large I/O Usage reported by cPanel

others average webhosting like ovh, 1&1, o2switch etc are fine and much much better that yours! Yours is more a "lower" quality hosting


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

 

#9 2014-06-04 10:48:59

flop25
Piwigo Team
2006-07-06
7037

Re: Getting large I/O Usage reported by cPanel

I'm now on the cheapest Kimsufi offer of OVh, but before I were on a shared server without problem, on planetHoster


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

 

#10 2014-06-04 11:38:04

TomiLov
Member
2014-06-03
5

Re: Getting large I/O Usage reported by cPanel

What kind of image resolution were you trying to upload?
I figured out if I make manual conversion to lower resolution (IrfanView, target resolution 1920x1077) than it works OK, when uploading and when visiting the gallery.
But I would still like to keep full resolution image available to download in my gallery menu!

Is possible to manually upload full image and its counterparts, ie. smalller resolutions, to the Piwigo WITHOUT using graphic library (in my case ImageMagick)?

Last edited by TomiLov (2014-06-04 11:43:42)

Offline

 

#11 2014-06-04 11:40:59

flop25
Piwigo Team
2006-07-06
7037

Re: Getting large I/O Usage reported by cPanel

this has been asked/anwsered already; yes check _data/i


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

 

Board footer

Powered by FluxBB

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