-
Notifications
You must be signed in to change notification settings - Fork 467
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
Disk space leak #192
Comments
Hello @Dannecron, Thanks for the well written issue. What's happening?For allowing concurrent conversions with LibreOffice, you have to specify a user profile directory and a non-used port. For instance:
As shown, that's exactly how Gotenberg does it by creating a user profile directory based on the port used by the conversion. But what it should also do is removing this user profile directory once the conversion is done (https://github.com/thecodingmachine/gotenberg/blob/master/internal/pkg/printer/office.go#L116). I'll try to find some time to fix this issue, but if you could open a PR that would be great 😄 |
Fixed in version |
When an Office conversion is terminated because of a context timeout, there are some artifacts remaining in the Under heavy load, the application seems to struggle to remove user profile directories. |
Hello. I ran into another disk space leak issue. Unlike this issue #87, directories stay in
/tmp
inside container after every convertation request (office endpoint, docx to pdf).Expected Behavior
There is no disc space leak, after starting containter.
Current Behavior
After creation directories inside
/tmp
stays forever.Steps to Reproduce (for bugs)
Your Environment
Logs
The text was updated successfully, but these errors were encountered: