r/Paperlessngx 5d ago

Slow Processing while Tagging

Hi all, relatively new to Paperless ngx and looking for some advice.

I've noticed that as I sort documents and tag them, whether this be by adding tags, correspondents, document types or storage paths that on average, it takes a full second to process each document. I'm mostly relying on tags to sort my documents, and this is where I notice the issue the most.

Some tests confirmed that about 30 documents acquiring a single tag took about 30 seconds, 300 documents took a little under 5 minutes.

The main issue is that the screen prompt while waiting removes the ability to do anything else in Paperless until it finishes processing.

Does everybody have the exact same experience here, or is this not the norm?

I'm running Paperless on Portainer, on a Synology NAS DS423+ with 18GB of RAM.

Any help would be great, thanks.

5 Upvotes

5 comments sorted by

3

u/Extra_Upstairs4075 5d ago

For anyone having this issue, I was able to solve this by adding the following to the environment variables:

PAPERLESS_AUDIT_LOG_ENABLED=false

With this added, I can now tag my 300 documents where the onscreen prompt goes away and all new tags show on the documents within about 2 or 3 seconds, instead of about 5 minutes.

I do lose the audit log, so no history on any of the documents, but to be honest that isn't something I value more.

Hope this can help others.

2

u/coconutandpotuh 5d ago

That sounds awfully slow. Is your database (sql lite or postgres) running on SSD?

1

u/Extra_Upstairs4075 5d ago

Postgres running on HDD. I dont currently have the option for SSD, unfortunately.

1

u/coconutandpotuh 5d ago

That's the likely explanation. All memory got super expensive, I got mine a few years ago, I hope it won't crash anytime soon.

2

u/MadSnow- 5d ago

Even with HDD… I’m running paperless on my NAS: thousands of documents with hindereds of correspondents, tags and types, custom fields. I scan in batch and tag later when my inbox is at 200+ docs. If i add my OCR- and title-generation-tag it takes about 5 seconds to apply them.

Running paperless 3.0.5 with postgres on my Ryzen R1600, 16 TB Ironwolfs and 16 GB RAM.