Page 1 of 2
Handling with LARGE picture-archives
Posted: 01 Jun 2017, 10:03
by marcel77
Hi,
I use Phoca Gallery with approx. 200.000 pictures on a physical webserver. On frontend everything is working fine.
But, if I try to open "Pictures" at the backend, I mostly get a white screen only. I´m thinking about a timeout, but didn´t really know.
In which logfile can I find a hint for this error? Or has anyone an idea?
cheers
Marcel
Re: Handling with LARGE picture-archives
Posted: 01 Jun 2017, 12:56
by christine
Hi Marcel,
It's not an error - just in consequence of loading of 200.000 images (!) with all thumbnails at one time. Too much for server .... You could set:
a) images > select e.g. 20 or 100 (just try) in pagination.
b) select required category
Kind regards, Christine
Re: Handling with LARGE picture-archives
Posted: 01 Jun 2017, 13:38
by marcel77
Hi Christine,
thank you for reply.
I don´t think about an error too, but it is a problem

. I can´t change any selection on the backend, because I can´t open the whole menuitem "Pictures". Per default the site should open with only 20 pictures. So I don´t know why it should load 200.000 Thumbnails? The white
Marcel
Re: Handling with LARGE picture-archives
Posted: 01 Jun 2017, 16:28
by Benno
Hi,
I can´t change any selection on the backend, because I can´t open the whole menuitem "Pictures".
Brauchst Du auch nicht. Gehe zu: Komponenten --> Phoca Gallery --> Kategorien und überprüfe, ob dort der Wert für die seitenweise Anzeige auf 'Alle' steht. Falls ja, diesen Wert auf 20 setzen. Danach müsstest Du auch die Bilder wieder öffnen können, den der Paginationswert für Kategorien und Bilder ist der Gleiche.
Freundliche Grüße,
Benno
Re: Handling with LARGE picture-archives
Posted: 01 Jun 2017, 16:34
by marcel77
ja, das habe ich auch schon gesehen. steht im Standard auf 20 und ich habs auch schon auf 5 gestellte. Jedoch keine Verbesserung erzielt.
Vielleicht wird vor der Anzeige noch etwas anderes abgefragt? Wenn ich mir eine Joomla Seite schreibe, die auf die DB zugreift und einfach alle Zeilen der Tabelle PHOCAGALLERY ausgibt, dauert das zwar einen Moment, aber es funktioniert problemlos. Es muss also noch was anderes sein.
Gruß Marcel
Re: Handling with LARGE picture-archives
Posted: 02 Jun 2017, 09:07
by Benno
Hi,
In which logfile can I find a hint for this error?
Normalerweise in der error.log des servers.
Siehe auch:
http://www.reisefotografien.eu/phoca-be ... e-anzeigen
Du brauchst eine Fehlermeldung.
Ab wann trat dieser Fehler auf? (z.B. Seit dem Hinzufügen einer großen Menge von Bildern - seit einem Update von Joomla! oder Phoca Gallery usw.)
Schalte mal zum Testen die Miniaturbild Erstellung in den Optionen ab.
Freundliche Grüße,
Benno
Re: Handling with LARGE picture-archives
Posted: 02 Jun 2017, 12:17
by Jan
Hi, in administration, Phoca Gallery tries to find if the added image to system has thumbnail or not. So checking them at all can take a lot of time. To avoid this, just enable "Pagination Thumbnail Generation"
https://www.phoca.cz/documents/2-phoca- ... e-joomla-3
So e.g. it automatically create thumbnails only per page (e.g. only 20 images or 100) but you can full control over it and the database will be not overloaded as it only asks for current e.g. 100 items.
Jan
Re: Handling with LARGE picture-archives
Posted: 02 Jun 2017, 12:52
by marcel77
Hallo Benno.
Die Miniaturbilderstellung ist schon seit Monaten abgeschaltet, da es mir zu langsam war. Ich generiere die Thumbs direkt in Linux per script.
Mit der Änderung auf E_ALL bekomme ich 2 Zeilen in der error.log, wobei ich nicht weiß, ob diese mit dem Problem zusammen hängen:
Code: Select all
[fastcgi:error] (104)Connection reset by peer: [client ] FastCGI: comm with server "php5-fcgi-*-443-" aborted: read failed, referer: https://***/administrator/index.php?option=com_phocagallery
[fastcgi:error] [pid 10273] [client ] FastCGI: incomplete headers (0 bytes) received from server "/cgi-bin/php5-fcgi-*-443-", referer: https://***/administrator/index.php?option=com_phocagallery
Aber vielleicht it es auch ein Überprüfung für für die Autogenerierung aktiv, obwohl abgeschaltet ist?
Gruß Marcel
Edit: Hi Jan, Thank you for reply. The actual configuration is "Seitenweise Miniaturbilderstellung - Ja" and "Miniaturbilderstellung - Nein".
Re: Handling with LARGE picture-archives
Posted: 02 Jun 2017, 13:59
by Jan
Hallo, ja, wenn es komplett ausgeschaltet ist, dann kommt es nicht zu Kontrolle von Bilder (ob sie Thumbnail haben oder nicht).
Hmm, leider kann ich nicht sagen, was dies:
Code: Select all
FastCGI: comm with server "php5-fcgi-*-443-" aborted: read failed, referer
heissen kann
Wenn es da z.B. ein Problem mit Memory, dann wird es exact in errorLog beschriben: Fatal Memory Error on line ... das gleiche mit jeder PHP Fehlermeldung
Sagt der DEBUG was? (Einschalten von Debug in Joomla! Configuration, welcher sagt, dass es z.B. ein Problem mit SQL Query ist

)
Jan
Re: Handling with LARGE picture-archives
Posted: 02 Jun 2017, 14:32
by marcel77
Ich hab aus den Fehlermeldungen persönliche Daten gelöscht. Vielleicht habe ich damit den Sinn zerstört.
ich bekomme nur eine weiße Seite. 0 Byte Quelltext. Auch bei Debug keine weitere Ausgabe. nicht mehr. Im error.log steht nicht mehr drin, der Rest sind nur Einträge von abgekündigten PHP Funktionen von SimpleCaddy.
Marcel