You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E0404 06:50:41.931028 1 router.go:126] Error reloading router: wait: no child processes
Reload output: + config_file=/var/lib/haproxy/conf/haproxy.config
+ pid_file=/var/lib/haproxy/run/haproxy.pid
+ old_pid=
+ path_map_file=/var/lib/haproxy/conf/os_http_be.map
+ sort -r /var/lib/haproxy/conf/os_http_be.map -o /var/lib/haproxy/conf/os_http_be.map
+ '[' -f /var/lib/haproxy/run/haproxy.pid ']'
+ old_pid=21654
+ '[' -n 21654 ']'
+ /usr/sbin/haproxy -f /var/lib/haproxy/conf/haproxy.config -p /var/lib/haproxy/run/haproxy.pid -sf 21654
[WARNING] 093/065041 (21658) : Setting tune.ssl.default-dh-param to 1024 by default, if your workload permits it you should set it to at least 2048. Please set a value >= 1024 to make this warning disappear.
E0404 06:51:05.031033 1 iowatcher.go:93] Unable to decode an event from the watch stream: read tcp 172.18.25.34:8443: use of closed network connection
E0404 06:51:05.662696 1 iowatcher.go:93] Unable to decode an event from the watch stream: read tcp 172.18.25.34:8443: use of closed network connection
The time between reloads is inconsistent, not obvious what is causing the reload.
I assume we should only be reloading router when there are actually route changes?
/cc @sdodson - this may be what we discussed in IRC today. When the loglevel is upped if you want to post the results here we can track the issue. My suspicion is that endpoints events are getting sent to the router which also causes a reload but may not be reflected as a route change.
Ahh cool, in my initial look timing was very consistent. Exactly 120s between process restarts, however I was not seeing logs like those above on each restart. I'll get higher level logs ASAP
Btw seems that now default log level doesn't show up when restarts happen. This would be useful for seeing changes more easily, without having to up logging level.
might have to dig in to how the endpoints controller runs. If it is doing a periodic sync even if there are no changes this could be sending events to the router. On the router side we may be able to do a compare of the original endpoint table and new endpoint table and see if anything was actually changed to avoid the reload
It could be a non issue, but I've definitely made a requests to the stats server where it didn't show any routes, which leads me to believe a request during that timeframe wouldn't have been routed successfully.
Activity
pweil- commentedon May 12, 2015
/cc @sdodson - this may be what we discussed in IRC today. When the loglevel is upped if you want to post the results here we can track the issue. My suspicion is that endpoints events are getting sent to the router which also causes a reload but may not be reflected as a route change.
sdodson commentedon May 12, 2015
Ahh cool, in my initial look timing was very consistent. Exactly 120s between process restarts, however I was not seeing logs like those above on each restart. I'll get higher level logs ASAP
jimmidyson commentedon May 12, 2015
Btw seems that now default log level doesn't show up when restarts happen. This would be useful for seeing changes more easily, without having to up logging level.
sdodson commentedon May 12, 2015
On the master it doesn't look like anything has changed, however the last three lines might be interesting.
pweil- commentedon May 12, 2015
might have to dig in to how the endpoints controller runs. If it is doing a periodic sync even if there are no changes this could be sending events to the router. On the router side we may be able to do a compare of the original endpoint table and new endpoint table and see if anything was actually changed to avoid the reload
sdodson commentedon May 12, 2015
It could be a non issue, but I've definitely made a requests to the stats server where it didn't show any routes, which leads me to believe a request during that timeframe wouldn't have been routed successfully.
smarterclayton commentedon May 15, 2015
The router reloading when no changes are happening has performance impacts on routes
smarterclayton commentedon May 15, 2015
This is P1 unless we can show the interval for the reload is going to be less than pod changes in general.
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…