freedomofpress / dangerzone

Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs
https://dangerzone.rocks/
GNU Affero General Public License v3.0
3.73k stars 172 forks source link

Fix /tmp Filling Up Bottlenecks (server + client) #616

Closed deeplow closed 2 weeks ago

deeplow commented 1 year ago

The temporary (/tmp) space limitations of Qubes revealed some bottlenecks in the current architecture of Dangerzone, which is manifest themselves in large files (150+ pages). The containers version isn't as affected sync the /tmp file system has more space, but addressing this issue will improve the situation overall.

The problems

As far as I can tell, there are two main issues:

I tried to illustrate some of this issues in a diagram:

dangerzone-bottlenecks drawio(4)

harrislapiroff commented 1 year ago

Code to resolve this is in progress on 616-main-pymupdf (will supercede #619)

apyrgio commented 2 weeks ago

We've successfully tackled this issue (see https://github.com/freedomofpress/dangerzone/issues/526#issuecomment-2444632713).

deeplow commented 2 weeks ago

Hurray! Glad to see this one closed :slightly_smiling_face: