Skip to content

mysqld at 100% CPU for weeks (400k library) #1695

Answered by lastzero
vb0 asked this question in Q&A
Discussion options

You must be logged in to vote

First of all, make sure to use our latest version as we optimized a few things. Then try disabling location estimates on https://demo.photoprism.org/settings/library - those usually cause most of the load.

Metadata updates now generally happen more often as photo titles get regenerated after people were recognized so that they contain the names. While I don't see such a high load with 100k images on our Core i3 test server, it's absolutely possible that you have a different experience with 400k images and/or other hardware, see #1618 (comment)

With that many files, it may also be worth increasing the InnoDB buffer size:
https://mariadb.com/kb/en/innodb-buffer-pool/#innodb_buffer_pool_size

P…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@vb0
Comment options

@lastzero
Comment options

@vb0
Comment options

@lastzero
Comment options

Answer selected by lastzero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants