tpokorra / KolabScripts

some scripts useful for Kolab3 and higher, written by TBits.net, including patches already submitted to Kolab Bugzilla
14 stars 13 forks source link

when running Kolab inside LXC container: no such file /proc/sys/net/ipv4/tcp_keepalive_time #76

Closed tpokorra closed 7 years ago

tpokorra commented 7 years ago

this is with LXC 2.0.5 on Ubuntu Host, CentOS container.

When running the nightly tests, I get that error.

I looked at these links:

I tried to modify the file /etc/sysctl.conf on the host, but that did not seem to help.

 root@manitu4:~# vi /etc/sysctl.conf 
  net.ipv4.tcp_keepalive_time = 7200
  net.ipv4.tcp_keepalive_intvl = 75
  net.ipv4.tcp_keepalive_probes = 9
 root@manitu4:~# sysctl -p

The code in question is here: https://cgit.kolab.org/pykolab/tree/pykolab/imap/__init__.py#n848