hbz / lobid-gnd

UI and API to the Integrated Authority File (Gemeinsame Normdatei, GND)
http://lobid.org/gnd
Eclipse Public License 2.0
26 stars 5 forks source link

Images won't load via Wikimedia images proxy #405

Closed acka47 closed 3 months ago

acka47 commented 3 months ago

We had this before (#291) but as this seems to be different, I am opening another issue.

Images won't load and the page seems to be in a perpetual loading state because of failing to load the image. Firefox dev tools do not really give back an error message or even the request. Example: https://lobid.org/gnd/119560275

Phu2 commented 3 months ago

From /var/log/php7.4-fpm.log:

[22-Aug-2024 15:17:39] WARNING: [pool www] server reached pm.max_children setting (37), consider raising it

Raising the limit to 50 in /etc/php/7.4/fpm/pool.d/www.conf fixes the script for now. Need to investigate these pool settings further.

Phu2 commented 3 months ago

With

this limit seems to be save. We could even set a higher limit if needed. Closing.

Phu2 commented 3 months ago

See https://serverfault.com/questions/813498/php-fpm-7-server-reached-pm-max-children for some useful commands.