The shrinking role of ETXTBSY
The shrinking role of ETXTBSY
Posted Aug 23, 2021 11:06 UTC (Mon) by excors (subscriber, #95769)In reply to: The shrinking role of ETXTBSY by anton
Parent article: The shrinking role of ETXTBSY
Sometimes people run code that isn't shipped with Debian. Back in 2012, Facebook's page requests were handled by a single 1.5GB executable, generated from PHP code transpiled to C++. (https://arstechnica.com/information-technology/2012/04/ex...). I think they switched to a PHP JIT shortly after that, but I imagine other people had (or still have) even larger executables for similar reasons.
Posted Aug 24, 2021 15:48 UTC (Tue)
by anton (subscriber, #25547)
[Link]
So someone who uses such a binary, runs it in a 2GB VM, and tries to overwrite this binary gets an out-of-memory condition in a VM rather than ETXTBSY or a crashing binary. So even this unlikely scenario is not really worse off, and in more usual scenarios things just work as intended.
The shrinking role of ETXTBSY
