Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / 3531
blob49963aa83630f22d7548c9843c396726ad6f4650
1 Title: Reduced Check_MK helper size for certain dists/python versions
2 Level: 1
3 Component: core
4 Compatible: compat
5 Version: 1.4.0i1
6 Date: 1463473106
7 Class: feature
9 The config of the Check_MK check helper is now written as marshaled python code,
10 instead of plain python text. This reduces the helpers peak resident memory size
11 while parsing the config file.
14 Some distributions (or python versions) tend not to shrink the resident memory
15 of the check helper again, so the check helper size can only grow.
18 By using marshaled config data the initial check helper size can be drastically lower.
19 Actual use case:
21 System setup
22 <ul>
23 <li>CentOS6</li>
24 <li>Python 2.6</li>
25 <li>11k Hosts</li>
26 <li>200k Services</li>
27 </ul>
28 The size of the config is roughly 8MB (this highly depends on the configured rules).
30 <table>
31 <tr><td>Marshaled config</td><td>320 MB</td></tr>
32 <tr><td>Plain text config</td><td>30 MB</td></tr>
33 </table>