[Photon] Timeouts for dummy text instead of an address
Sarah Hoffmann
lonvia at denofr.de
Tue Feb 15 08:04:31 UTC 2022
Hi,
On Tue, Feb 15, 2022 at 08:10:35AM +0100, Wojciech Łaguna wrote:
> Hi Sarah.
>
> We set up photon as a docker container:
> ```
> ROM adoptopenjdk:11-jre-hotspot WORKDIR /photon RUN mkdir
> /photon/photon_data RUN curl
> https://github.com/komoot/photon/releases/download/0.3.5/photon-0.3.5.jar
> -o /photon/photon.jar -Ls COPY start.sh /photon/start.sh RUN chmod 777
> /photon/start.sh EXPOSE 2322 ENTRYPOINT /photon/start.sh ```
>
> We start instance with `start.sh`:
> ```
> java -Xms$PHOTON_MEMORY -Xmx$PHOTON_MEMORY -jar photon.jar \ -host
> $NOMINATIM_PG_HOST \ -port $NOMINATIM_PG_PORT \ -database $NOMINATIM_PG_DB
> \ -user $NOMINATIM_PG_USER \ -password $NOMINATIM_PG_PASSWORD \ -languages
> $NOMINATIM_PG_LANGS ```
>
> The option we added is:
> ```
> NOMINATIM_PG_LANGS=en,fr,de,it,es,pl,bs,bg,ca,hr,cs,da,nl,et,fi,gl,ka,el,hu,ga,is,kk,lb,li,lt,lv,mk,mt,no,pt,rm,ro,ru,sc,sr,sk,sl,sv,tr,uk,cy
> ```
That's a lot of languages and might be the source of your problem. Can
you try with just the first four languages and see if that solves the
issue? You don't need to rerun the export of the database. Just run the
Photon server with less languages.
Many languages are known to cause issues. See the disucssion in
https://github.com/komoot/photon/pull/615
Sarah
More information about the Photon
mailing list