Changes
These are the changes in EMG 8.1.6 as compared to EMG 8.1.5.
- There is now a new, optional, mechanism for dealing with excessive incoming client connections. Normally, EMG creates a processing thread for each connector instance, letting them wait for new connections, which are then handled until they are closed. However, when there are more incoming connections than connector instances, the additional ones are queued by the Linux kernel until a connector instance is free. This may take a long time. Creating new connector threads at this point would only lower the system throughput, and eventually the EMG server would be killed due to being out of memory.
Now, instead, a separate thread can be created. When all connector instances are busy, the new thread waits a couple of seconds, and then accepts and then immediately closes all incoming connections, until a connector instance is available. This clears the kernel queue quickly, lowering the time until well-behaved clients can connect again. No data is sent back, an error case which must be handled by clients.
The delay to start waiting before immediately closing incoming connections is set by the new optionREAPER_DELAY=n. This can be set either as a global option, in which case it will affect all incoming connectors, or on just a single connector. By default the value is 0, which disables the functionality. - Read timeouts on TLS connections are now handled better.
- When the connector option
AUTOMATICTONNPIis set, an empty address now gets itstonfield set to 0 (unknown) instead of 3 (network). The latter is used for shortcodes, and even though an empty address is indeed short, 3 is not the correct value here.
Files
The downloads are password-protected. To obtain the username and password required, please use our license request form. If you already have an existing installation, you should download just the new binaries. However, if you’re upgrading from EMG 7 or earlier, please also take a look at the full installation guide, as you may also need a new Perl installation.
| Binaries and scripts | EMG 8.1.6-binaries |
| Full distribution | EMG 8.1.6-full |