Red Hat Bugzilla – Bug 1127714
watchman takes up gigs of memory, times out on restart
Last modified: 2014-09-11 16:06:41 EDT
Upstream commits: commit c4cb6ddaa13173e7c61853be98d13d20b77457c2 Author: Rajat Chopra <rchopra@redhat.com> Date: Tue Jul 29 12:15:31 2014 -0700 add debug messages to watchman that print memory usage (bz1123935) commit a0149a176f417aee7cc82190b90859158a38c09d Author: Jhon Honce <jhonce@redhat.com> Date: Wed Aug 6 11:29:12 2014 -0700 Bug 1121217 - Symbol leak in Throttler cgroup code * Enhance debugging output * Remove to_sym in keys commit e00d653b764334fb5da6c2b301b5dd52629c9234 Author: Jhon Honce <jhonce@redhat.com> Date: Wed Aug 6 14:52:00 2014 -0700 Bug 1121217 - Symbol leak in Throttler cgroup code * fix tests
Verfied on verified on puddle 2014-08-22.1 On puddle-2014-08-15.1,the bug can be reproduced. [root@node2 ~]# service openshift-watchman restart Stopping Watchman........................................................Watchman operation timed out tailf /var/log/message|grep watchman Aug 24 23:13:20 node2 watchman[20521]: Memory : 38540, Plugin : GearStatePlugin Aug 24 23:13:21 node2 watchman[20521]: Memory : 38528, Plugin : ThrottlerPlugin Aug 24 23:13:21 node2 watchman[20521]: Memory : 38528, Plugin : MetricsPlugin Aug 24 23:13:41 node2 watchman[20521]: Memory : 38532, Plugin : JbossPlugin Aug 24 23:13:41 node2 watchman[20521]: Memory : 38532, Plugin : OomPlugin Aug 24 23:13:41 node2 watchman[20521]: Memory : 38532, Plugin : EnvPlugin On puddle 2014-08-22.1, no this issue. [root@node2 ~]# service openshift-watchman restart Stopping Watchman Starting Watchman tailf /var/log/message|grep watchman Aug 25 00:12:54 node2 watchman[3343]: Starting Watchman => iteration delay: 20s Aug 25 00:12:54 node2 watchman[3343]: Watchman debug is set to true Aug 25 00:12:56 node2 watchman[3343]: Gears: 44, Memory: 36160, Plugin: all, Symbols: 10610, Objects: 182267 Aug 25 00:13:16 node2 watchman[3343]: Gears: 44, Memory: 40316, Plugin: all, Symbols: 10636, Objects: 182267 Aug 25 00:13:37 node2 watchman[3343]: Gears: 44, Memory: 41248, Plugin: all, Symbols: 10636, Objects: 182267 Aug 25 00:13:57 node2 watchman[3343]: Gears: 44, Memory: 41804, Plugin: all, Symbols: 10636, Objects: 182267 Aug 25 00:14:17 node2 watchman[3343]: Gears: 44, Memory: 42820, Plugin: all, Symbols: 10636, Objects: 182267 Aug 25 00:14:37 node2 watchman[3343]: Gears: 44, Memory: 42944, Plugin: all, Symbols: 10636, Objects: 182267
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1183.html