Timeout while Multiupload

Phoca Gallery - image gallery extension
marcel77
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 22 Apr 2016, 12:03

Re: Timeout while Multiupload

Post by marcel77 »

Hi Jan,

the apache error.log?

Code: Select all

[Sat Oct 22 22:12:59.359672 2016] [fcgid:warn] [pid 13355] mod_fcgid: process 14
513 graceful kill fail, sending SIGKILL

Code: Select all

[Sat Oct 22 22:12:53.028262 2016] [fcgid:warn] [pid 13573] [client 79.224.136.15
:59683] mod_fcgid: read data timeout in 600 seconds, referer: http://www.trtr.ef/administrator/index.php?option=com_phocagallery&view=phocagallerym&
layout=edit&hidemainmenu=1&folder=NOS/imagestore1
[Sat Oct 22 22:12:53.028335 2016] [core:error] [pid 13573] [client 79.224.136.15
:59683] End of script output before headers: index.php, referer: http://trtr.ef/administrator/index.php?option=com_phocagallery&view=phocagaller
ym&layout=edit&hidemainmenu=1&folder=NOS/imagestore1
Gruß Marcel
christine
Phoca Hero
Phoca Hero
Posts: 2734
Joined: 28 Nov 2010, 17:20

Re: Timeout while Multiupload

Post by christine »

Hallo Marcel,

das liegt jetzt nicht an Phocagallery.

die Seite selbst zeigt hier nichts: http://www.trtr.ef/language/de-DE/de-DE.xml
hier nichts: http://www.trtr.ef/administrator/manife ... joomla.xml
hier das da: https://sitecheck.sucuri.net/results/www.trtr.ef

Es scheint eine falsche Serverkonfiguration zu sein.

https://kb.plesk.com/de/121251
http://serverfault.com/questions/598038 ... -kill-fail

Joomla! sollte nicht als Modul auf auf mod_fcgid laufen sondern fastGCI usw.

Liebe Grüße, Christine
marcel77
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 22 Apr 2016, 12:03

Re: Timeout while Multiupload

Post by marcel77 »

Hallo Christine,

danke erstmal. Die Domain ist ersetzt, da der Server aktuell im lokalen LAN läuft. Und ne DynDNS Anbindung bei Bedarf hat.

Aber Danke. Vielleicht ist PHP auf dem anderen Server anders angebunden. Trotzdem bleibt aber ja das Problem, dass ich die max_execution_time sehr hoch setzen muss, wenn ich es nicht im Script als Ausnahme definieren kann.

Gruß Marcel
marcel77
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 22 Apr 2016, 12:03

Re: Timeout while Multiupload

Post by marcel77 »

Hi,

in the meantime I have found out:

Phoca Gallery runs with PHP FPM on the one and with FasCGI on the other.

FastCGI produce a 500 Error page after max_execution_time and stops working, while, if I switch to FPM it produce a 500 Error after max_execution_time too, but still runs to the end. Is it a problem, runs Joomla/Phoca on FPM?

I know, that this isn´t a Phoca problem, But If you add thousands of pics at one time, the multiupload script need a lot of time to finish, That is ok and normal, but I´m searching for a way, to wait without an error and without setting max_execution_time to "0"

But if there is no way, I can live with that!

Marcel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Timeout while Multiupload

Post by Jan »

Hi, if you add a lot of images at once to system, it is recommended to enable pagination thumbnail creation. The problem with memory can be, the script tries to find which image includes thumbnails and which not (to automatically create one), if you enable pagination thumbnail creation, only e.g. 100 images will be checked so this can prevent from memory problems.

Jan
If you find Phoca extensions useful, please support the project
marcel77
Phoca Enthusiast
Phoca Enthusiast
Posts: 79
Joined: 22 Apr 2016, 12:03

Re: Timeout while Multiupload

Post by marcel77 »

Hi Jan,

no problem while Image creation. My problem is the Multiupload. I have turned off the creation of thumbnails.

Marcel
Post Reply