What is happening to my library?

A NAS is way underpowered and this will be typical until the whole library has been ingested and analysed. Turn off the analysis option in the Library settings in the day time and you can turn it on again when you go to bed

better yet get a more powerful core like a NUC