4 ms·
> My log had grown so quickly that the code was taking 15 seconds just to append to it. How is that possible? Opening a file with the O_APPEND flag automatica
by otterley 10y ago
> My log had grown so quickly that the code was taking 15 seconds just to append to it.
How is that possible? Opening a file with the O_APPEND flag automatically seeks to the end of it.
- camperman 10y agoThe log itself was a 2.7Gb file sitting on a slow SD card on a Raspberry Pi.