Comment 4 for bug 643518

Stephan Ferraro (ferraro) wrote :

locking would probably uses too much resources for a high-speed webserver.
The error comes from my side: I change a file while lighttpd is using it. The solution would be to change it atomically without that lighttpd loss its file descriptor. I will use "rename" for this.
So if I change the contents of file "stats", I will create "stats.tmp" and then rename it to "stats".
I will try this out to see if I will still get a bus error.