Googling I found this https://lonesysadmin.net/2013/12/22/bet ... rty_ratio/ article basically saying data is sitting in ram that isn't being written to the drive until I try to unmount the drive. And it's writing that data that takes all the time.
In addition to the above article, I found a few site that talk about different settings to adjust to minimize this effect, but none of it is Debian specific and I'm afraid of messing up my good running server.
What do you guys think about this advice I found on a Ubuntu site https://askubuntu.com/questions/410136/ ... es-forever
Again, I'm just afraid of doing more harm than good since I really have no knowledge in this area. I'm just trying to reduce the time it takes the drive to unmount so I can remove it from the server.Workaround: enter a shell root (do that with care --- you are now root for every command)
sudo -i
and issue:
echo $((16*1024*1024)) > /proc/sys/vm/dirty_background_bytes
echo $((48*1024*1024)) > /proc/sys/vm/dirty_bytes
If it works, you can add the two lines above to your /etc/rc.local file.
My server has 8 gigs of Ram and an Intel G3258 Processor...