06-19-2019 03:54 AM
Hello,
I am having serious problem with free space in my server because of the binary temporary directory. When I check the directories' size, the /binaries/tmp folder has the 90% of the disk space. Please, note that I am not talking about the nuxeo.tmp.dir. I am talking about the tmp folder that nuxeo creates inside de directory specified in repository.binary.store property.
The problem is that, when I see / download a document, the binary of that document is copied into de tmp directory, but then, it is not removed. So that binary stays there for a long time, and in a few hours, the disk is full. Why is this happening? I think temporary files should be removed almost instantly after seeing them.
This is also a big security problem, as I use binary encription, and the files stored in the temporary directory are not encrpyted! If they are removed instantly after getting the document, then there isn't any problem, but if they stay there, it will be a big security problem.
I don't know if I am missing any configuration for tmp files. I would appreciate any help about this.
Thank you.
06-19-2019 08:38 PM
Hi Rodri,
Just wondering, if you can answer these questions to get a better understanding.
Have you done any encryption setup on the configuration file yet?
/>
Which version of nuxeo is this?
/>
When you say "Download a document", I am assuming a document of type "File" and downloading it's binary attachment under "Main File" correct?
So if it's creating a temporary file in the /binaries/tmp directory, this is done when a binary is being used according to this quote:
While the files are in use by the application, a temporary file in clear is created. It is removed as soon as possible.
https://doc.nuxeo.com/nxdoc/file-storage/
If encryption was setup, it should create an encrypted file on the tmp directory (which it does not as you reported). Once they are done being used, they should be cleared the temporary files.
If you haven't done any encryption setup, I would suggest taking a look at this and test out the settings for nuxeo.conf
https://doc.nuxeo.com/nxdoc/implementing-encryption/
NOTE: I have limited experience with encryption myself, so I've yet to run into this issue. I tried to see if I could reproduce the issue on my local test instance, but it didn't reproduce.
06-20-2019 07:05 AM
Hello. Thank you for your reply.
06-20-2019 07:46 PM
So to follow up
06-21-2019 08:58 AM
Yes, I have configured encryption correctly. I have added the following lines in my nuxeo.conf
10-28-2020 05:16 AM
i've the same problem and I don't find any solution
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.