#Immich freezing and crashing multiple platform

1 messages · Page 1 of 1 (latest)

mossy lagoon
#

Hi,

I’m reaching out to report a recurring issue we’re experiencing with Immich, both on desktop and mobile browsers, as well as in the mobile app.

My partner’s user account has over 24,000 photos and videos uploaded. When opening Immich in any browser (desktop or mobile), the page becomes extremely slow and often freezes completely, prompting the browser to ask whether to wait or close the page due to performance issues. On mobile, the problem is especially severe during automatic photo sync, where the app crashes frequently, or we receive the “Wait or Close” dialog.

We've already archived a few thousand files to reduce the load, but we’d prefer not to archive more at this point. Unfortunately, the performance is still significantly impacted.

Could you please advise:

  • Is there a recommended limit for the number of files per user?

  • Are there any settings or optimization tips to improve performance with such a large library?

  • Could there be a bug causing this, or do you plan to support large libraries more efficiently in future updates?

Thank you in advance for your help and suggestions. We love the project and would be happy to provide logs or further information if needed.

Regards,

south cypressBOT
#

:wave: Hey @mossy lagoon,

Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich immich.

References

#

Checklist

I have...

  1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: read applicable release notes.
  3. :ballot_box_with_check: reviewed the FAQs for known issues.
  4. :ballot_box_with_check: reviewed Github for known issues.
  5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: uploaded the relevant information (see below).
  7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

south cypressBOT
marsh lark
#

Can you provide further information about your setup and when the crashes began?

frozen wolf
#

Are you using the beta timeline in the app?

#

And for the desktop browser, are your pictures on one date perhaps?

mossy lagoon
frozen wolf
mossy lagoon
#

I can't find this option, please describe step by step where I can find it. I have a total of 4 mobile devices. Only one of them has a large amount of pictures and videos. but actually they are already synchronized, you don't have to recreate them every time.

frozen wolf
#

Tap your name bubble -> settings -> at the top @mossy lagoon

#

only in the app ^

mossy lagoon
#

Unfortunately no option on my phone...

frozen wolf
#

What version of the app is this?

mossy lagoon
#

this is the newest

frozen wolf
#

Curious, my own option also disappeared 👀

#

Let me ask the team

mossy lagoon
frozen wolf
#

I think I know what's wrong

#

The setting only shows when it can reach the server

#

and that is broken in the very last release 🙃

#

it's fixed in the next

mossy lagoon
#

hmm okay. but i think... not is my problem that the beta timeline option...
For some reason it's slow in the immich browser and freezes my browser when I start loading things

frozen wolf
#

Yeah the slow app is exactly why the beta exists

#

It's mostly due to syncing putting a load on the gui

#

in the new app this is seperated

mossy lagoon
#

okay, but in my computer also... this is a problem

frozen wolf
#

That's a whole different problem

#

This means the thumbnails are broken

#

could you post your compose

#

and env

mossy lagoon
#

not load the content or when i click the select all photos & videos... the system is freezing and very slowly select the content

#

freeze 1-2 minutes and select 2-3000 photos... freeze again 1-2 minutes and select again 2-3000 photos

#

i think is not normal

mossy lagoon
#

this is the statistics:

frozen wolf
#

You can get the actual version with docker inspect

#

I need the compose and env please 🙃

mossy lagoon
#

org.opencontainers.image.version": "v1.135.3"

#

com.docker.compose.version": "2.38.1",

frozen wolf
#

Ah, you can't have beta with 135, you need 136 or 137

#

Not sure how your DB is working because you're running 135 without the 133 changes?

mossy lagoon
#

idk 🙂

frozen wolf
#

Basically this should be your redis+database section:

  redis:
    container_name: immich_redis
    image: docker.io/valkey/valkey:8-bookworm@sha256:facc1d2c3462975c34e10fccb167bfa92b0e0dbd992fc282c29a61c3243afb11
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:32324a2f41df5de9efe1af166b7008c3f55646f8d0e00d9550c16c9822366b4a
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
+     # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
+     # DB_STORAGE_TYPE: 'HDD'
    volumes:
      # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
      - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
    shm_size: 128mb
    restart: always
mossy lagoon
#

i will try to update docker containers to latest release

mossy lagoon
#

now the server is 1.137.3, app: 1.137.2 build.3002

#

now i have beta timeline in app

#

turn on?

#

i turned on but i think is not syncronising on background from my phone.

frozen wolf
#

Unfortunately a known limitation of the beta timeline, but the crashes should be down by a lot 🙂

mossy lagoon
#

okay... maybe now i turn off because is not acceptable for me, that is no background sync

#

omg, is no turn off button in settings?

frozen wolf
#

There should be a button if the sync is complete