OpenVPN server on Ubuntu 18.04 and Odroid H3
Hello,
I'm running an openvpn server on Ubuntu 18.04 and ODROID H3 which has a 16GB SD card. I want to minimize wear on the SD so I want to keep disk writes as low as possible. Using iotop I found that openvpn makes freqent disk writes (for logging?) Code:
Total DISK READ : 0.00 B/s | Total DISK WRITE : 0.00 B/s Thank you |
OpenVPN is normally quiet. maybe you should have a look at those logs to see what is going on.
|
/proc/PID/fdinfo contains information about each file descriptor, including the current position. To find out which file OpenVPN writes to, try checking which file descriptor's position changes most often. You could then either reconfigure OpenVPN so that it does not perform those writes, or move that file to a RAM-based /tmp or so.
I am sure that lsof is also a great tool for this, but I can't tell you the required command-line options. |
Quote:
Quote:
|
Quote:
You may be able to configure OpenVPN so that the file in question resides on a RAM filesystem. |
All times are GMT -5. The time now is 12:31 PM. |