1 Title: liveproxyd: handle situations with more then 1024 open files
8 When you are using the Livestatus Proxy Daemon for connecting lots
9 of sites and you have lots of concurrent users then two things could
12 1. You might run out of allowed open files. The reason is that
13 per default on most Linux systems the number of files a process is
14 allowed to keep open is limited to 1024. The can be increased by changing
15 <tt>/etc/security/limits.conf</tt> and issue a <tt>ulimit -S -n unlimited</tt>
16 before starting <tt>liveproxyd</tt>. That latter one has now ben implemented
17 in the recent development OMD builds of the Check_MK Monitoring System. The
18 <tt>liveproxyd</tt> now also handles the out-of-files error situation
19 better and does not long run into a busy CPU loop. It waits for 5 seconds
20 and restarts itself instead.
22 2. Even if you increased the number of allowed open files, the
23 <tt>liveproxyd</tt> could never handle more than 1024 open files on most
24 Python versions (due to a limit of the system call <tt>select()</tt>. This
25 has been fixed by using the <tt>poll()</tt> system call.