diff options
author | Michele Di Maria <michele@nt2.it> | 2012-02-09 20:19:28 +0100 |
---|---|---|
committer | Michele Di Maria <michele@nt2.it> | 2012-02-09 20:19:28 +0100 |
commit | 256840af902b28087cd2b5c829c71b22714e7033 (patch) | |
tree | 847196edd600116cac1a5b9b8928393205572f54 /config/haproxy/haproxy_pools.php | |
parent | ed217d2e1bc3d6f34567541e7113ef0e695cfb4a (diff) | |
download | pfsense-packages-256840af902b28087cd2b5c829c71b22714e7033.tar.gz pfsense-packages-256840af902b28087cd2b5c829c71b22714e7033.tar.bz2 pfsense-packages-256840af902b28087cd2b5c829c71b22714e7033.zip |
Improvements for stability and optimizazions
- Improved the reception of data from LCDd. Now there's a cycle that run until there's no more data do receive. Before that there was the possibility of a buffer overflow in LCDd. The timeout of the receiving socket is 25ms.
- Optimized the number of commands sent to LCDd every cycle. Now it is sent only the half;
- Rewritten with better code the error handling;
- Increased to 3 the number of attempts the client performs to reconnect to LCDd in case of disconnection;
- Simplified the startup scripts. Now lcdproc_client.sh is not generated/run anymore, since the error handling is managed by the client;
- Changed the startup scripts to run both LCDd then the client as "nice" process;
- Capped the wait time between each client cycle to 5 seconds. It still is calculated as the refresh frequency * the number of screen activated, but now it's capped;
- Increased to 8000 chars the trunk of data received from LCDd;
- Improved the "service stop" script. Now it cycle until LCDd is definitely killed and works even if LCDd is hung;
- Added a "welcome" string on the panel at the LCDd startup;
Thanks,
Michele
Diffstat (limited to 'config/haproxy/haproxy_pools.php')
0 files changed, 0 insertions, 0 deletions