Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docspell upload API not returning error when there is a database error #2963

Open
tiborrr opened this issue Feb 10, 2025 · 0 comments
Open

Comments

@tiborrr
Copy link
Contributor

tiborrr commented Feb 10, 2025

I was trying to insert a lot of documents and then I got the following error:

docspell-restserver | org.postgresql.util.PSQLException: ERROR: could not resize shared memory segment "/PostgreSQL.261413272" to 8388608 bytes: No space left on device

As a consequence this document was not saved to my database, but the API still returned a status 200.

This is related to default postgres docker image not having enough shared memory shm-size, however I feel that Docspell should return an error on the API in that case as the document does not get saved in this case.

More info on this issue:

https://signoz.io/guides/pq-could-not-resize-shared-memory-segment-no-space-left-on-device/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant