0
I was thinking about setting up a web server on a Raspberry Pi, RPi boots from an SD card. The server is meant to be able to be in operation for a very long time, 10 years is it's expected life span. I wanted to know if socket files used by nginx or php-fpm could cause excessive writes to the file system. or are these files held in memory and never touch the drive's file system.
Some SD cards have a problem with read-write-erase cycles, and if the socket file is written to the server's file system on each interaction, could this cause a problem with the lifespan of the SD card?
I plan on setting it up so that access log files are also not written at all, and error log files are emailed and never touch the file system at all.
If socket files do touch the file system, the current work around would be to make a fs in ram that the socket files would be written too.
It might be worth flagging this question for moving to raspberrypi.stackexchange.com. See http://raspberrypi.stackexchange.com/q/325/2955
– RedGrittyBrick – 2013-01-07T09:54:32.033