Running Voonex (Python), Playwight (Node.js), and Firefox simultaneously takes way too much memory. Using the NBD swap prevents hard lockups and crashes in OOM situations, but it makes the machine *incredibly* slow. To avoid needing to push anything into the network swap, I want to try and reduce the memory footprint as much as possible. To that end, we will go back to running just Firefox. To control it, we will use the Marionette protocol. Firefox only allows control via Marionette over the loopback interface. This is hard-coded in the Marionette server, and cannot be changed at runtime. To allow a remote machine (running Voonex) to control it, we need to expose the socket to the network. Fortunately, *systemd* includes a tool for exactly this purpose: `systemd-socket-proxyd`. |
||
---|---|---|
.. | ||
etc | ||
home/user | ||
root/.ssh | ||
usr |