Im currently running seafile in centOS7. CentOS has 12 GB of RAM available to it. Whenever I upload or download a file, the file is cached into RAM. The amount that is cached is directly proportionate to how much of the file has been up/downloaded. The problem is, when I try to up/download a file that is over 12GB, my machine turns to SWAP and then reboots.
I tried setting the HDD to sync in /etc/fstab/, which nuked speeds but the problem still persisted.
Can I somehow get the RAM to flush every so often?
Can I somehow get seafile to avoid caching the RAM and directly writing to disk?
Please help! and thank you for your time!