Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in broker module webui #1597

Open
andyxning opened this issue Apr 28, 2015 · 21 comments
Open

Memory leak in broker module webui #1597

andyxning opened this issue Apr 28, 2015 · 21 comments

Comments

@andyxning
Copy link

We use WebUI as the frontend of Shinken, however, after about a month later, we find that the memory of WebUI is holding almost 30G memory.

We do not restart Broker daemon meantime. We only do some reload of arbiter if the configuration has changed. So, any threads about how this comes?

@naparuba
Copy link
Contributor

Please post it in the webui repository as it's related to the module.
Thanks.

(https://github.com/shinken-monitoring/mod-webui)

On Tue, Apr 28, 2015 at 6:51 AM, Ning Xie notifications@github.com wrote:

We use WebUI as the frontend of Shinken, however, after about a month
later, we find that the memory of WebUI is holding almost 30G memory.

We do not restart Broker daemon meantime. We only do some reload of
arbiter if the configuration has changed. So, any threads about how this
comes?


Reply to this email directly or view it on GitHub
#1597.

@andyxning
Copy link
Author

But, it seems that the root reason is that the regenerator module has something wrong. Currently, i can tell that when we reload configuration, then the self.tags in Regenerator is wrong. It does not have anything to clean all previous tags count instead just adding.

            # Linkify tags
            for t in h.tags:
                if t not in self.tags:
                    self.tags[t] = 0
                self.tags[t] += 1

this will cause all the tags count number increase every time we reload the configuration.

@naparuba
Copy link
Contributor

tags is a very small list of strings, this won't take up to 30GB unless you
put 100M different tags on your hosts ^^

I more think about not-cleaned hosts or services. Such objects are far
bigger :)

On Tue, Apr 28, 2015 at 9:58 AM, Ning Xie notifications@github.com wrote:

But, it seems that the root reason is that the regenerator module has
something wrong. Currently, i can tell that when we reload configuration,
then the self.tags in Regenerator is wrong. It does not have anything to
clean all previous tags count instead just adding.

        # Linkify tags
        for t in h.tags:
            if t not in self.tags:
                self.tags[t] = 0
            self.tags[t] += 1

this will cause all the tags count number increase every time we reload
the configuration.


Reply to this email directly or view it on GitHub
#1597 (comment).

@andyxning
Copy link
Author

That's right. I also think so. However, i think WebUI is just an UI, all the data it needs is stored in regenerator which is wrapped in datamgr, and thus i think it is a problem about Shinken regenerator and datamanager module instead of WebUI.

Can you give me some other threads about how WebUI store the data it needs to do a present?

Eventhough the tags are not the main reason, it still be a bug that need to be fixed.

@gst
Copy link
Contributor

gst commented May 6, 2015

That's right. I also think so. However, i think WebUI is just an UI, all the data it needs is stored in regenerator which is wrapped in datamgr, and thus i think it is a problem about Shinken regenerator and datamanager module instead of WebUI.

sounds like at least fair / probable or possible.. to be investigated

@gst
Copy link
Contributor

gst commented May 6, 2015

could you confirm or give more context / infos about your setup :

  • what are your shinken + webui versions ?
  • you use webui with the broker so ?
  • what about the size of your config ? how many hosts / services ? (more or less)
  • how many restart of the arbiter had you executed when you saw the 30GB consumption ?
  • could you tell what exact process was using the 30GB ? the broker daemon process itself or the webui process ?
  • what's the "normal" size of ram used by your broker ? after a fresh (single-)start of all shinken daemons.
  • can you reproduce easily ? say by restarting the arbiter and then checking the ram usage on the broker or webui processes ?

thx for the infos that'll ease the investigation.

@mohierf
Copy link
Contributor

mohierf commented May 6, 2015

I had a problem today that made me think about the broker memory leak issued by @andyxning !

One of the broker processes in my configuration had heay memory consumption : 16 Gb ...

In fact, an external module of my broker configuration did throw an exception as soon as ti received a check service brok ... and then it was restarted by the main broker daemon that increased memory consumption !

Thanks to @ddurieux and @Seb-Solon we found how to identify this module and fix the exception ... and now everything seems ok !

@andyxning : check in your brokerd.log if youd do not have such a module that is regularly restarted ? In your top, identify the PID of the process ... take care that the main broker will have heavy memory but there also will be another process that will be launched at every exception ! Try to get the PID of this process and you will be able to grep this PID in the brokerd.log to identify tha bad module

@andyxning
Copy link
Author

@gst , Our setup info is:

  • shinken 2.2 + webui installed from shinken install
  • yes, currently, we use WebUI with broker, i think it simple(simple is Good. :-) ), however lacking some functionalities.
  • it's about 956 hosts, 527 services and 19210 contacts
  • i can not tell the exact restart numbers, however it runs with about 30 days.
  • yes, it is actually the shinken-broker module: webui process.
  • when we first start the broker, the memory of WebUI is about 856MB, even under 1GB.
  • yes, currently, our method is to restart the broker every 20 days. If you restart it enough times, it will eat that much memory.

Below is a graph that shows how the memory is used. The down of the line is that we restart the broker daemon and thus restart webui.
image

@mohierf
Copy link
Contributor

mohierf commented May 7, 2015

We met the same problem this morning ! I do confirm that the master branch WebUI seems to have heavy memory leaks ! Still on survey on my production ... my previous analysis was obviously not that relevant :-(

See shinken-monitoring/mod-webui#128

@andyxning
Copy link
Author

when using pmap, i can find lots of 131072K 65532K. All of them added up is about 13GB!
and apparently it is the memory leaked.

9591:   shinken-broker module: webui                                            
0000000000400000      4K r-x--  /home/q/shinken/bin/q-python27
0000000000600000      4K rw---  /home/q/shinken/bin/q-python27
00000000025de000  11924K rw---    [ anon ]
0000000003183000   4372K rw---    [ anon ]
00000000035c8000   5160K rw---    [ anon ]
0000003291000000    100K r-x--  /usr/lib64/libsasl2.so.2.0.23
0000003291019000   2044K -----  /usr/lib64/libsasl2.so.2.0.23
0000003291218000      4K r----  /usr/lib64/libsasl2.so.2.0.23
0000003291219000      4K rw---  /usr/lib64/libsasl2.so.2.0.23
0000003291400000    308K r-x--  /lib64/libldap-2.4.so.2.10.2
000000329144d000   2044K -----  /lib64/libldap-2.4.so.2.10.2
000000329164c000      8K r----  /lib64/libldap-2.4.so.2.10.2
000000329164e000      8K rw---  /lib64/libldap-2.4.so.2.10.2
0000003291800000    328K r-x--  /usr/lib64/libcurl.so.4.1.1
0000003291852000   2044K -----  /usr/lib64/libcurl.so.4.1.1
0000003291a51000     12K rw---  /usr/lib64/libcurl.so.4.1.1
0000003ddfa00000    128K r-x--  /lib64/ld-2.12.so
0000003ddfc1f000      4K r----  /lib64/ld-2.12.so
0000003ddfc20000      4K rw---  /lib64/ld-2.12.so
0000003ddfc21000      4K rw---    [ anon ]
0000003ddfe00000      8K r-x--  /lib64/libdl-2.12.so
0000003ddfe02000   2048K -----  /lib64/libdl-2.12.so
0000003de0002000      4K r----  /lib64/libdl-2.12.so
0000003de0003000      4K rw---  /lib64/libdl-2.12.so
0000003de0200000   1576K r-x--  /lib64/libc-2.12.so
0000003de038a000   2048K -----  /lib64/libc-2.12.so
0000003de058a000     16K r----  /lib64/libc-2.12.so
0000003de058e000      4K rw---  /lib64/libc-2.12.so
0000003de058f000     20K rw---    [ anon ]
0000003de0600000     92K r-x--  /lib64/libpthread-2.12.so
0000003de0617000   2048K -----  /lib64/libpthread-2.12.so
0000003de0817000      4K r----  /lib64/libpthread-2.12.so
0000003de0818000      4K rw---  /lib64/libpthread-2.12.so
0000003de0819000     16K rw---    [ anon ]
0000003de0a00000     28K r-x--  /lib64/librt-2.12.so
0000003de0a07000   2044K -----  /lib64/librt-2.12.so
0000003de0c06000      4K r----  /lib64/librt-2.12.so
0000003de0c07000      4K rw---  /lib64/librt-2.12.so
0000003de0e00000    524K r-x--  /lib64/libm-2.12.so
0000003de0e83000   2044K -----  /lib64/libm-2.12.so
0000003de1082000      4K r----  /lib64/libm-2.12.so
0000003de1083000      4K rw---  /lib64/libm-2.12.so
0000003de1200000     84K r-x--  /lib64/libz.so.1.2.3
0000003de1215000   2044K -----  /lib64/libz.so.1.2.3
0000003de1414000      4K r----  /lib64/libz.so.1.2.3
0000003de1415000      4K rw---  /lib64/libz.so.1.2.3
0000003de1600000    116K r-x--  /lib64/libselinux.so.1
0000003de161d000   2044K -----  /lib64/libselinux.so.1
0000003de181c000      4K r----  /lib64/libselinux.so.1
0000003de181d000      4K rw---  /lib64/libselinux.so.1
0000003de181e000      4K rw---    [ anon ]
0000003de1e00000    200K r-x--  /lib64/libidn.so.11.6.1
0000003de1e32000   2044K -----  /lib64/libidn.so.11.6.1
0000003de2031000      4K rw---  /lib64/libidn.so.11.6.1
0000003de2200000     88K r-x--  /lib64/libresolv-2.12.so
0000003de2216000   2048K -----  /lib64/libresolv-2.12.so
0000003de2416000      4K r----  /lib64/libresolv-2.12.so
0000003de2417000      4K rw---  /lib64/libresolv-2.12.so
0000003de2418000      8K rw---    [ anon ]
0000003de2e00000     12K r-x--  /lib64/libcom_err.so.2.1
0000003de2e03000   2044K -----  /lib64/libcom_err.so.2.1
0000003de3002000      4K r----  /lib64/libcom_err.so.2.1
0000003de3003000      4K rw---  /lib64/libcom_err.so.2.1
0000003de3200000    460K r-x--  /lib64/libfreebl3.so
0000003de3273000   2044K -----  /lib64/libfreebl3.so
0000003de3472000      8K r----  /lib64/libfreebl3.so
0000003de3474000      4K rw---  /lib64/libfreebl3.so
0000003de3475000     16K rw---    [ anon ]
0000003de3a00000   1764K r-x--  /usr/lib64/libcrypto.so.1.0.1e
0000003de3bb9000   2044K -----  /usr/lib64/libcrypto.so.1.0.1e
0000003de3db8000    108K r----  /usr/lib64/libcrypto.so.1.0.1e
0000003de3dd3000     48K rw---  /usr/lib64/libcrypto.so.1.0.1e
0000003de3ddf000     16K rw---    [ anon ]
0000003de3e00000     28K r-x--  /lib64/libcrypt-2.12.so
0000003de3e07000   2048K -----  /lib64/libcrypt-2.12.so
0000003de4007000      4K r----  /lib64/libcrypt-2.12.so
0000003de4008000      4K rw---  /lib64/libcrypt-2.12.so
0000003de4009000    184K rw---    [ anon ]
0000003de4200000   1244K r-x--  /usr/lib64/libnss3.so
0000003de4337000   2044K -----  /usr/lib64/libnss3.so
0000003de4536000     20K r----  /usr/lib64/libnss3.so
0000003de453b000      8K rw---  /usr/lib64/libnss3.so
0000003de453d000      8K rw---    [ anon ]
0000003de4600000     12K r-x--  /lib64/libplds4.so
0000003de4603000   2044K -----  /lib64/libplds4.so
0000003de4802000      4K r----  /lib64/libplds4.so
0000003de4803000      4K rw---  /lib64/libplds4.so
0000003de4a00000      8K r-x--  /lib64/libutil-2.12.so
0000003de4a02000   2044K -----  /lib64/libutil-2.12.so
0000003de4c01000      4K r----  /lib64/libutil-2.12.so
0000003de4c02000      4K rw---  /lib64/libutil-2.12.so
0000003de4e00000    232K r-x--  /usr/lib64/libssl3.so
0000003de4e3a000   2048K -----  /usr/lib64/libssl3.so
0000003de503a000     12K r----  /usr/lib64/libssl3.so
0000003de503d000      4K rw---  /usr/lib64/libssl3.so
0000003de503e000      4K rw---    [ anon ]
0000003de5200000      8K r-x--  /lib64/libkeyutils.so.1.3
0000003de5202000   2044K -----  /lib64/libkeyutils.so.1.3
0000003de5401000      4K r----  /lib64/libkeyutils.so.1.3
0000003de5402000      4K rw---  /lib64/libkeyutils.so.1.3
0000003de5600000     16K r-x--  /lib64/libplc4.so
0000003de5604000   2044K -----  /lib64/libplc4.so
0000003de5803000      4K r----  /lib64/libplc4.so
0000003de5804000      4K rw---  /lib64/libplc4.so
0000003de5a00000    164K r-x--  /lib64/libk5crypto.so.3.1
0000003de5a29000   2048K -----  /lib64/libk5crypto.so.3.1
0000003de5c29000      4K r----  /lib64/libk5crypto.so.3.1
0000003de5c2a000      4K rw---  /lib64/libk5crypto.so.3.1
0000003de5c2b000      4K rw---    [ anon ]
0000003de5e00000    148K r-x--  /usr/lib64/libnssutil3.so
0000003de5e25000   2048K -----  /usr/lib64/libnssutil3.so
0000003de6025000     24K r----  /usr/lib64/libnssutil3.so
0000003de602b000      4K rw---  /usr/lib64/libnssutil3.so
0000003de6200000     40K r-x--  /lib64/libkrb5support.so.0.1
0000003de620a000   2044K -----  /lib64/libkrb5support.so.0.1
0000003de6409000      4K r----  /lib64/libkrb5support.so.0.1
0000003de640a000      4K rw---  /lib64/libkrb5support.so.0.1
0000003de6600000    876K r-x--  /lib64/libkrb5.so.3.3
0000003de66db000   2044K -----  /lib64/libkrb5.so.3.3
0000003de68da000     40K r----  /lib64/libkrb5.so.3.3
0000003de68e4000      8K rw---  /lib64/libkrb5.so.3.3
0000003de6a00000    260K r-x--  /lib64/libgssapi_krb5.so.2.2
0000003de6a41000   2048K -----  /lib64/libgssapi_krb5.so.2.2
0000003de6c41000      4K r----  /lib64/libgssapi_krb5.so.2.2
0000003de6c42000      8K rw---  /lib64/libgssapi_krb5.so.2.2
0000003de7200000    160K r-x--  /usr/lib64/libsmime3.so
0000003de7228000   2044K -----  /usr/lib64/libsmime3.so
0000003de7427000     16K r----  /usr/lib64/libsmime3.so
0000003de742b000      4K rw---  /usr/lib64/libsmime3.so
0000003de7a00000    392K r-x--  /usr/lib64/libssl.so.1.0.1e
0000003de7a62000   2044K -----  /usr/lib64/libssl.so.1.0.1e
0000003de7c61000     16K r----  /usr/lib64/libssl.so.1.0.1e
0000003de7c65000     28K rw---  /usr/lib64/libssl.so.1.0.1e
0000003de8600000    156K r-x--  /usr/lib64/libssh2.so.1.0.1
0000003de8627000   2044K -----  /usr/lib64/libssh2.so.1.0.1
0000003de8826000      4K rw---  /usr/lib64/libssh2.so.1.0.1
0000003de8827000      4K rw---    [ anon ]
0000003de8a00000     56K r-x--  /lib64/liblber-2.4.so.2.10.2
0000003de8a0e000   2044K -----  /lib64/liblber-2.4.so.2.10.2
0000003de8c0d000      4K r----  /lib64/liblber-2.4.so.2.10.2
0000003de8c0e000      4K rw---  /lib64/liblber-2.4.so.2.10.2
00007f54fc000000  12368K rw---    [ anon ]
00007f54fcc14000  53168K -----    [ anon ]
00007f5504000000 131072K rw---    [ anon ]
00007f550c000000 131072K rw---    [ anon ]
00007f5514000000  65312K rw---    [ anon ]
00007f5517fc8000    224K -----    [ anon ]
00007f5518000000  65536K rw---    [ anon ]
00007f551c000000  65528K rw---    [ anon ]
00007f551fffe000      8K -----    [ anon ]
00007f5520000000  65440K rw---    [ anon ]
00007f5523fe8000     96K -----    [ anon ]
00007f5524000000  65528K rw---    [ anon ]
00007f5527ffe000      8K -----    [ anon ]
00007f5528000000  65528K rw---    [ anon ]
00007f552bffe000      8K -----    [ anon ]
00007f552c000000  65528K rw---    [ anon ]
00007f552fffe000      8K -----    [ anon ]
00007f5530000000  65536K rw---    [ anon ]
00007f5534000000 130928K rw---    [ anon ]
00007f553bfdc000    144K -----    [ anon ]
00007f553c000000  65528K rw---    [ anon ]
00007f553fffe000      8K -----    [ anon ]
00007f5540000000  65532K rw---    [ anon ]
00007f5543fff000      4K -----    [ anon ]
00007f5544000000 131072K rw---    [ anon ]
00007f554c000000  65320K rw---    [ anon ]
00007f554ffca000    216K -----    [ anon ]
00007f5550000000  65536K rw---    [ anon ]
00007f5554000000 131064K rw---    [ anon ]
00007f555bffe000      8K -----    [ anon ]
00007f555c000000  65532K rw---    [ anon ]
00007f555ffff000      4K -----    [ anon ]
00007f5560000000  65340K rw---    [ anon ]
00007f5563fcf000    196K -----    [ anon ]
00007f5564000000  65024K rw---    [ anon ]
00007f5567f80000    512K -----    [ anon ]
00007f5568000000  65536K rw---    [ anon ]
00007f556c000000  65532K rw---    [ anon ]
00007f556ffff000      4K -----    [ anon ]
00007f5570000000  65528K rw---    [ anon ]
00007f5573ffe000      8K -----    [ anon ]
00007f5574000000  65532K rw---    [ anon ]
00007f5577fff000      4K -----    [ anon ]
00007f5578000000  65532K rw---    [ anon ]
00007f557bfff000      4K -----    [ anon ]
00007f557c000000 131072K rw---    [ anon ]
00007f5584000000 131072K rw---    [ anon ]
00007f558c000000 131072K rw---    [ anon ]
00007f5594000000 131072K rw---    [ anon ]
00007f559c000000  65428K rw---    [ anon ]
00007f559ffe5000    108K -----    [ anon ]
00007f55a0000000  65528K rw---    [ anon ]
00007f55a3ffe000      8K -----    [ anon ]
00007f55a4000000  65400K rw---    [ anon ]
00007f55a7fde000    136K -----    [ anon ]
00007f55ac000000  65292K rw---    [ anon ]
00007f55affc3000    244K -----    [ anon ]
00007f55b0000000  65536K rw---    [ anon ]
00007f55b4000000  65396K rw---    [ anon ]
00007f55b7fdd000    140K -----    [ anon ]
00007f55b8000000  65536K rw---    [ anon ]
00007f55bc000000  65384K rw---    [ anon ]
00007f55bffda000    152K -----    [ anon ]
00007f55c0000000  65528K rw---    [ anon ]
00007f55c3ffe000      8K -----    [ anon ]
00007f55c4000000  65528K rw---    [ anon ]
00007f55c7ffe000      8K -----    [ anon ]
00007f55c8000000  65532K rw---    [ anon ]
00007f55cbfff000      4K -----    [ anon ]
00007f55cc000000  65528K rw---    [ anon ]
00007f55cfffe000      8K -----    [ anon ]
00007f55d0000000  65368K rw---    [ anon ]
00007f55d3fd6000    168K -----    [ anon ]
00007f55d4000000 131072K rw---    [ anon ]
00007f55dc000000 131056K rw---    [ anon ]
00007f55e3ffc000     16K -----    [ anon ]
00007f55e4000000  65532K rw---    [ anon ]
00007f55e7fff000      4K -----    [ anon ]
00007f55e8000000  65468K rw---    [ anon ]
00007f55ebfef000     68K -----    [ anon ]
00007f55ec000000  65500K rw---    [ anon ]
00007f55efff7000     36K -----    [ anon ]
00007f55f0000000  65288K rw---    [ anon ]
00007f55f3fc2000    248K -----    [ anon ]
00007f55f4000000 131068K rw---    [ anon ]
00007f55fbfff000      4K -----    [ anon ]
00007f55fc000000  65536K rw---    [ anon ]
00007f5601fff000  98308K rw---    [ anon ]
00007f5608000000 131024K rw---    [ anon ]
00007f560fff4000     48K -----    [ anon ]
00007f5610000000  65528K rw---    [ anon ]
00007f5613ffe000      8K -----    [ anon ]
00007f5614000000  65536K rw---    [ anon ]
00007f5618000000 131064K rw---    [ anon ]
00007f561fffe000      8K -----    [ anon ]
00007f5620000000  65532K rw---    [ anon ]
00007f5623fff000      4K -----    [ anon ]
00007f5624000000  65528K rw---    [ anon ]
00007f5627ffe000      8K -----    [ anon ]
00007f5628000000 131064K rw---    [ anon ]
00007f562fffe000      8K -----    [ anon ]
00007f5630000000 130916K rw---    [ anon ]
00007f5637fd9000    156K -----    [ anon ]
00007f5638000000  65488K rw---    [ anon ]
00007f563bff4000     48K -----    [ anon ]
00007f563c000000  65488K rw---    [ anon ]
00007f563fff4000     48K -----    [ anon ]
00007f5640000000  65500K rw---    [ anon ]
00007f5643ff7000     36K -----    [ anon ]
00007f5644000000  65292K rw---    [ anon ]
00007f5647fc3000    244K -----    [ anon ]
00007f5648000000  65532K rw---    [ anon ]
00007f564bfff000      4K -----    [ anon ]
00007f564c000000  65536K rw---    [ anon ]
00007f5650000000  65532K rw---    [ anon ]
00007f5653fff000      4K -----    [ anon ]
00007f5654000000  65532K rw---    [ anon ]
00007f5657fff000      4K -----    [ anon ]
00007f5658000000  65524K rw---    [ anon ]
00007f565bffd000     12K -----    [ anon ]
00007f565c000000  65536K rw---    [ anon ]
00007f5660000000 131072K rw---    [ anon ]
00007f5668000000 131072K rw---    [ anon ]
00007f5670000000  65532K rw---    [ anon ]
00007f5673fff000      4K -----    [ anon ]
00007f5674000000  65536K rw---    [ anon ]
00007f5678000000 131072K rw---    [ anon ]
00007f5680000000  65528K rw---    [ anon ]
00007f5683ffe000      8K -----    [ anon ]
00007f5684000000  65536K rw---    [ anon ]
00007f5688000000 131064K rw---    [ anon ]
00007f568fffe000      8K -----    [ anon ]
00007f5690000000 130848K rw---    [ anon ]
00007f5697fc8000    224K -----    [ anon ]
00007f5698000000  65528K rw---    [ anon ]
00007f569bffe000      8K -----    [ anon ]
00007f569c000000  65336K rw---    [ anon ]
00007f569ffce000    200K -----    [ anon ]
00007f56a0000000  65396K rw---    [ anon ]
00007f56a3fdd000    140K -----    [ anon ]
00007f56a4000000  65536K rw---    [ anon ]
00007f56a8000000  65532K rw---    [ anon ]
00007f56abfff000      4K -----    [ anon ]
00007f56ac000000  65328K rw---    [ anon ]
00007f56affcc000    208K -----    [ anon ]
00007f56b0000000  65428K rw---    [ anon ]
00007f56b3fe5000    108K -----    [ anon ]
00007f56b4000000  65528K rw---    [ anon ]
00007f56b7ffe000      8K -----    [ anon ]
00007f56b8000000 131004K rw---    [ anon ]
00007f56bffef000     68K -----    [ anon ]
00007f56c0000000 130824K rw---    [ anon ]
00007f56c7fc2000    248K -----    [ anon ]
00007f56c8000000 130836K rw---    [ anon ]
00007f56cffc5000    236K -----    [ anon ]
00007f56d0000000  65532K rw---    [ anon ]
00007f56d3fff000      4K -----    [ anon ]
00007f56d4000000  65528K rw---    [ anon ]
00007f56d7ffe000      8K -----    [ anon ]
00007f56d8000000 131072K rw---    [ anon ]
00007f56e0000000  65528K rw---    [ anon ]
00007f56e3ffe000      8K -----    [ anon ]
00007f56e4000000  65428K rw---    [ anon ]
00007f56e7fe5000    108K -----    [ anon ]
00007f56e8000000  65532K rw---    [ anon ]
00007f56ebfff000      4K -----    [ anon ]
00007f56ec000000  65392K rw---    [ anon ]
00007f56effdc000    144K -----    [ anon ]
00007f56f0000000 131072K rw---    [ anon ]
00007f56f8000000  65532K rw---    [ anon ]
00007f56fbfff000      4K -----    [ anon ]
00007f56fc000000  65532K rw---    [ anon ]
00007f56fffff000      4K -----    [ anon ]
00007f5700000000 130940K rw---    [ anon ]
00007f5707fdf000    132K -----    [ anon ]
00007f5708000000 130928K rw---    [ anon ]
00007f570ffdc000    144K -----    [ anon ]
00007f5710000000  65488K rw---    [ anon ]
00007f5713ff4000     48K -----    [ anon ]
00007f5714000000  65376K rw---    [ anon ]
00007f5717fd8000    160K -----    [ anon ]
00007f5718000000  65532K rw---    [ anon ]
00007f571bfff000      4K -----    [ anon ]
00007f571c000000  65528K rw---    [ anon ]
00007f571fffe000      8K -----    [ anon ]
00007f5720000000  65532K rw---    [ anon ]
00007f5723fff000      4K -----    [ anon ]
00007f5724000000  65536K rw---    [ anon ]
00007f5728000000 131000K rw---    [ anon ]
00007f572ffee000     72K -----    [ anon ]
00007f5730000000  65532K rw---    [ anon ]
00007f5733fff000      4K -----    [ anon ]
00007f5738000000 131072K rw---    [ anon ]
00007f5740000000 131072K rw---    [ anon ]
00007f5748000000  65532K rw---    [ anon ]
00007f574bfff000      4K -----    [ anon ]
00007f574c000000  65536K rw---    [ anon ]
00007f5750000000 131068K rw---    [ anon ]
00007f5757fff000      4K -----    [ anon ]
00007f5758000000 131072K rw---    [ anon ]
00007f5760000000  65528K rw---    [ anon ]
00007f5763ffe000      8K -----    [ anon ]
00007f5764000000  65536K rw---    [ anon ]
00007f5768000000  65528K rw---    [ anon ]
00007f576bffe000      8K -----    [ anon ]
00007f576c000000  65528K rw---    [ anon ]
00007f576fffe000      8K -----    [ anon ]
00007f5770000000  65532K rw---    [ anon ]
00007f5773fff000      4K -----    [ anon ]
00007f5774000000  65532K rw---    [ anon ]
00007f5777fff000      4K -----    [ anon ]
00007f5778000000  65532K rw---    [ anon ]
00007f577bfff000      4K -----    [ anon ]
00007f577c000000  65336K rw---    [ anon ]
00007f577ffce000    200K -----    [ anon ]
00007f5780000000  65368K rw---    [ anon ]
00007f5783fd6000    168K -----    [ anon ]
00007f5784000000  65536K rw---    [ anon ]
00007f5788000000  65288K rw---    [ anon ]
00007f578bfc2000    248K -----    [ anon ]
00007f5790000000  65536K rw---    [ anon ]
00007f5798000000  65344K rw---    [ anon ]
00007f579bfd0000    192K -----    [ anon ]
00007f57a0000000 131072K rw---    [ anon ]
00007f57a8000000  65528K rw---    [ anon ]
00007f57abffe000      8K -----    [ anon ]
00007f57ac000000  65532K rw---    [ anon ]
00007f57affff000      4K -----    [ anon ]
00007f57b0000000 131072K rw---    [ anon ]
00007f57b8000000 131072K rw---    [ anon ]
00007f57c0000000 131072K rw---    [ anon ]
00007f57c8000000 131072K rw---    [ anon ]
00007f57d0000000  65528K rw---    [ anon ]
00007f57d3ffe000      8K -----    [ anon ]
00007f57d4000000  65536K rw---    [ anon ]
00007f57d8000000  65532K rw---    [ anon ]
00007f57dbfff000      4K -----    [ anon ]
00007f57dc000000  65528K rw---    [ anon ]
00007f57dfffe000      8K -----    [ anon ]
00007f57e0000000  65532K rw---    [ anon ]
00007f57e3fff000      4K -----    [ anon ]
00007f57e4000000  65452K rw---    [ anon ]
00007f57e7feb000     84K -----    [ anon ]
00007f57e8000000  65300K rw---    [ anon ]
00007f57ebfc5000    236K -----    [ anon ]
00007f57ec000000  65292K rw---    [ anon ]
00007f57effc3000    244K -----    [ anon ]
00007f57f0000000 131008K rw---    [ anon ]
00007f57f7ff0000     64K -----    [ anon ]
00007f57f8000000 131064K rw---    [ anon ]
00007f57ffffe000      8K -----    [ anon ]
00007f5800000000  65444K rw---    [ anon ]
00007f5803fe9000     92K -----    [ anon ]
00007f5804000000  65536K rw---    [ anon ]
00007f5808000000 130972K rw---    [ anon ]
00007f580ffe7000    100K -----    [ anon ]
00007f5810000000  65428K rw---    [ anon ]
00007f5813fe5000    108K -----    [ anon ]
00007f5814000000  65340K rw---    [ anon ]
00007f5817fcf000    196K -----    [ anon ]
00007f5818000000 131064K rw---    [ anon ]
00007f581fffe000      8K -----    [ anon ]
00007f5820000000  65528K rw---    [ anon ]
00007f5823ffe000      8K -----    [ anon ]
00007f5824000000  65364K rw---    [ anon ]
00007f5827fd5000    172K -----    [ anon ]
00007f5828000000 131064K rw---    [ anon ]
00007f582fffe000      8K -----    [ anon ]
00007f5830000000 131072K rw---    [ anon ]
00007f5838000000  65316K rw---    [ anon ]
00007f583bfc9000    220K -----    [ anon ]
00007f583c000000  65536K rw---    [ anon ]
00007f5840000000  65312K rw---    [ anon ]
00007f5843fc8000    224K -----    [ anon ]
00007f5844000000  65536K rw---    [ anon ]
00007f5848000000  65424K rw---    [ anon ]
00007f584bfe4000    112K -----    [ anon ]
00007f584c000000  65532K rw---    [ anon ]
00007f584ffff000      4K -----    [ anon ]
00007f5850000000 131068K rw---    [ anon ]
00007f5857fff000      4K -----    [ anon ]
00007f5858000000  65532K rw---    [ anon ]
00007f585bfff000      4K -----    [ anon ]
00007f585c000000  65536K rw---    [ anon ]
00007f5860000000  65408K rw---    [ anon ]
00007f5863fe0000    128K -----    [ anon ]
00007f5864000000  65536K rw---    [ anon ]
00007f5868000000 131068K rw---    [ anon ]
00007f586ffff000      4K -----    [ anon ]
00007f5870000000  65404K rw---    [ anon ]
00007f5873fdf000    132K -----    [ anon ]
00007f5874000000  65536K rw---    [ anon ]
00007f5878000000 131064K rw---    [ anon ]
00007f587fffe000      8K -----    [ anon ]
00007f5880000000  65528K rw---    [ anon ]
00007f5883ffe000      8K -----    [ anon ]
00007f5884000000  65536K rw---    [ anon ]
00007f5888000000  65528K rw---    [ anon ]
00007f588bffe000      8K -----    [ anon ]
00007f588c000000  65536K rw---    [ anon ]
00007f5890000000 131072K rw---    [ anon ]
00007f5898000000 131072K rw---    [ anon ]
00007f58a0000000   1208K rw---    [ anon ]
00007f58a012e000  64328K -----    [ anon ]
00007f58a4000000  65528K rw---    [ anon ]
00007f58a7ffe000      8K -----    [ anon ]
00007f58a8000000    132K rw---    [ anon ]
00007f58a8021000   1072K rw---    [ anon ]
00007f58a812d000  64332K -----    [ anon ]
00007f58ac000000    132K rw---    [ anon ]
00007f58ac021000   1616K rw---    [ anon ]
00007f58ac1b5000  63788K -----    [ anon ]
00007f58b232a000      4K -----    [ anon ]
00007f58b232b000  10240K rw---    [ anon ]
00007f58b2d2b000    600K r-x--  /home/own/python/lib/python2.7/lib-dynload/unicodedata.so
00007f58b2dc1000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/unicodedata.so
00007f58b2fc0000     80K rw---  /home/own/python/lib/python2.7/lib-dynload/unicodedata.so
00007f58b2fd4000     16K r-x--  /lib64/libuuid.so.1.3.0
00007f58b2fd8000   2044K -----  /lib64/libuuid.so.1.3.0
00007f58b31d7000      4K rw---  /lib64/libuuid.so.1.3.0
00007f58b31d8000     28K r-x--  /usr/lib64/libffi.so.5.0.6
00007f58b31df000   2048K -----  /usr/lib64/libffi.so.5.0.6
00007f58b33df000      4K rw---  /usr/lib64/libffi.so.5.0.6
00007f58b33e0000    108K r-x--  /home/own/python/lib/python2.7/lib-dynload/_ctypes.so
00007f58b33fb000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/_ctypes.so
00007f58b35fa000     20K rw---  /home/own/python/lib/python2.7/lib-dynload/_ctypes.so
00007f58b35ff000      4K -----    [ anon ]
00007f58b3600000  10240K rw---    [ anon ]
00007f58b4000000    132K rw---    [ anon ]
00007f58b4021000    184K rw---    [ anon ]
00007f58b404f000  65220K -----    [ anon ]
00007f58b8000000    132K rw---    [ anon ]
00007f58b8021000   1076K rw---    [ anon ]
00007f58b812e000  64328K -----    [ anon ]
00007f58bc000000    132K rw---    [ anon ]
00007f58bc021000    208K rw---    [ anon ]
00007f58bc055000  65196K -----    [ anon ]
00007f58c0000000    132K rw---    [ anon ]
00007f58c0021000   1092K rw---    [ anon ]
00007f58c0132000  64312K -----    [ anon ]
00007f58c4000000    132K rw---    [ anon ]
00007f58c4021000   1060K rw---    [ anon ]
00007f58c412a000  64344K -----    [ anon ]
00007f58c816b000    560K r-x--  /usr/lib64/libsqlite3.so.0.8.6
00007f58c81f7000   2044K -----  /usr/lib64/libsqlite3.so.0.8.6
00007f58c83f6000     12K rw---  /usr/lib64/libsqlite3.so.0.8.6
00007f58c83f9000      4K rw---    [ anon ]
00007f58c83fa000      4K -----    [ anon ]
00007f58c83fb000  10240K rw---    [ anon ]
00007f58c8dfb000      4K -----    [ anon ]
00007f58c8dfc000  10240K rw---    [ anon ]
00007f58c97fc000      4K -----    [ anon ]
00007f58c97fd000  10240K rw---    [ anon ]
00007f58ca1fd000      4K -----    [ anon ]
00007f58ca1fe000  10240K rw---    [ anon ]
00007f58cabfe000      4K -----    [ anon ]
00007f58cabff000  10240K rw---    [ anon ]
00007f58cb5ff000      4K -----    [ anon ]
00007f58cb600000  10240K rw---    [ anon ]
00007f58cc000000    132K rw---    [ anon ]
00007f58cc021000   2008K rw---    [ anon ]
00007f58cc217000  63396K -----    [ anon ]
00007f58d0000000    160K rw---    [ anon ]
00007f58d0028000   1276K rw---    [ anon ]
00007f58d0167000  64100K -----    [ anon ]
00007f58d4000000    132K rw---    [ anon ]
00007f58d4021000  65404K rw---    [ anon ]
00007f58d80fd000     68K r-x--  /home/own/python/lib/python2.7/lib-dynload/_sqlite3.so
00007f58d810e000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/_sqlite3.so
00007f58d830e000     12K rw---  /home/own/python/lib/python2.7/lib-dynload/_sqlite3.so
00007f58d8311000    160K r-x--  /opt/pg93/lib/libpq.so.5.6
00007f58d8339000   2044K -----  /opt/pg93/lib/libpq.so.5.6
00007f58d8538000     12K rw---  /opt/pg93/lib/libpq.so.5.6
00007f58d853b000    168K r-x--  /home/q/shinken/lib/python2.7/site-packages/psycopg2/_psycopg.so
00007f58d8565000   2044K -----  /home/q/shinken/lib/python2.7/site-packages/psycopg2/_psycopg.so
00007f58d8764000     24K rw---  /home/q/shinken/lib/python2.7/site-packages/psycopg2/_psycopg.so
00007f58d876a000      4K -----    [ anon ]
00007f58d876b000  10240K rw---    [ anon ]
00007f58d916b000      4K -----    [ anon ]
00007f58d916c000  10240K rw---    [ anon ]
00007f58d9b6c000      4K -----    [ anon ]
00007f58d9b6d000  10240K rw---    [ anon ]
00007f58da56d000      8K r-x--  /home/own/python/lib/python2.7/lib-dynload/resource.so
00007f58da56f000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/resource.so
00007f58da76f000      4K rw---  /home/own/python/lib/python2.7/lib-dynload/resource.so
00007f58da770000      8K r-x--  /home/own/python/lib/python2.7/lib-dynload/grp.so
00007f58da772000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/grp.so
00007f58da971000      4K rw---  /home/own/python/lib/python2.7/lib-dynload/grp.so
00007f58da972000     72K r-x--  /home/own/python/lib/python2.7/lib-dynload/datetime.so
00007f58da984000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/datetime.so
00007f58dab84000     16K rw---  /home/own/python/lib/python2.7/lib-dynload/datetime.so
00007f58dab88000      8K r-x--  /home/own/python/lib/python2.7/lib-dynload/_bisect.so
00007f58dab8a000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/_bisect.so
00007f58dad89000      4K rw---  /home/own/python/lib/python2.7/lib-dynload/_bisect.so
00007f58dad8a000    116K r-x--  /home/own/python/lib/python2.7/lib-dynload/_io.so
00007f58dada7000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/_io.so
00007f58dafa7000     40K rw---  /home/own/python/lib/python2.7/lib-dynload/_io.so
00007f58dafb1000     32K r-x--  /home/own/python/lib/python2.7/lib-dynload/array.so
00007f58dafb9000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/array.so
00007f58db1b8000     12K rw---  /home/own/python/lib/python2.7/lib-dynload/array.so
00007f58db1bb000     12K r-x--  /home/own/python/lib/python2.7/lib-dynload/_random.so
00007f58db1be000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/_random.so
00007f58db3bd000      4K rw---  /home/own/python/lib/python2.7/lib-dynload/_random.so
00007f58db3be000     12K r-x--  /home/own/python/lib/python2.7/lib-dynload/_hashlib.so
00007f58db3c1000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/_hashlib.so
00007f58db5c1000      4K rw---  /home/own/python/lib/python2.7/lib-dynload/_hashlib.so
00007f58db5c2000     28K r-x--  /home/own/python/lib/python2.7/lib-dynload/math.so
00007f58db5c9000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/math.so
00007f58db7c9000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/math.so
00007f58db7cb000     12K r-x--  /home/q/shinken/lib/python2.7/site-packages/setproctitle.so
00007f58db7ce000   2044K -----  /home/q/shinken/lib/python2.7/site-packages/setproctitle.so
00007f58db9cd000      4K rw---  /home/q/shinken/lib/python2.7/site-packages/setproctitle.so
00007f58db9ce000     28K r-x--  /home/own/python/lib/python2.7/lib-dynload/_ssl.so
00007f58db9d5000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/_ssl.so
00007f58dbbd4000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/_ssl.so
00007f58dbbd6000     60K r-x--  /home/own/python/lib/python2.7/lib-dynload/_socket.so
00007f58dbbe5000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/_socket.so
00007f58dbde4000     20K rw---  /home/own/python/lib/python2.7/lib-dynload/_socket.so
00007f58dbde9000    228K r-x--  /lib64/libnspr4.so
00007f58dbe22000   2048K -----  /lib64/libnspr4.so
00007f58dc022000      4K r----  /lib64/libnspr4.so
00007f58dc023000      8K rw---  /lib64/libnspr4.so
00007f58dc025000      8K rw---    [ anon ]
00007f58dc027000     92K r-x--  /home/q/shinken/lib/python2.7/site-packages/pycurl.so
00007f58dc03e000   2044K -----  /home/q/shinken/lib/python2.7/site-packages/pycurl.so
00007f58dc23d000      8K rw---  /home/q/shinken/lib/python2.7/site-packages/pycurl.so
00007f58dc23f000    772K rw---    [ anon ]
00007f58dc300000     32K r-x--  /home/own/python/lib/python2.7/lib-dynload/_json.so
00007f58dc308000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/_json.so
00007f58dc508000      4K rw---  /home/own/python/lib/python2.7/lib-dynload/_json.so
00007f58dc509000    260K rw---    [ anon ]
00007f58dc54a000     24K r-x--  /home/own/python/lib/python2.7/lib-dynload/_multiprocessing.so
00007f58dc550000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/_multiprocessing.so
00007f58dc750000      4K rw---  /home/own/python/lib/python2.7/lib-dynload/_multiprocessing.so
00007f58dc751000      8K r-x--  /home/own/python/lib/python2.7/lib-dynload/fcntl.so
00007f58dc753000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/fcntl.so
00007f58dc953000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/fcntl.so
00007f58dc955000     16K r-x--  /home/own/python/lib/python2.7/lib-dynload/select.so
00007f58dc959000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/select.so
00007f58dcb59000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/select.so
00007f58dcb5b000    260K rw---    [ anon ]
00007f58dcb9c000     12K r-x--  /home/own/python/lib/python2.7/lib-dynload/_heapq.so
00007f58dcb9f000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/_heapq.so
00007f58dcd9f000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/_heapq.so
00007f58dcda1000     40K r-x--  /home/own/python/lib/python2.7/lib-dynload/itertools.so
00007f58dcdab000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/itertools.so
00007f58dcfab000     20K rw---  /home/own/python/lib/python2.7/lib-dynload/itertools.so
00007f58dcfb0000     28K r-x--  /home/own/python/lib/python2.7/lib-dynload/_collections.so
00007f58dcfb7000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/_collections.so
00007f58dd1b6000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/_collections.so
00007f58dd1b8000     20K r-x--  /home/own/python/lib/python2.7/lib-dynload/zlib.so
00007f58dd1bd000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/zlib.so
00007f58dd3bc000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/zlib.so
00007f58dd3be000     16K r-x--  /home/own/python/lib/python2.7/lib-dynload/binascii.so
00007f58dd3c2000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/binascii.so
00007f58dd5c2000      4K rw---  /home/own/python/lib/python2.7/lib-dynload/binascii.so
00007f58dd5c3000     16K r-x--  /home/own/python/lib/python2.7/lib-dynload/cStringIO.so
00007f58dd5c7000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/cStringIO.so
00007f58dd7c6000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/cStringIO.so
00007f58dd7c8000     76K r-x--  /home/own/python/lib/python2.7/lib-dynload/cPickle.so
00007f58dd7db000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/cPickle.so
00007f58dd9da000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/cPickle.so
00007f58dd9dc000    260K rw---    [ anon ]
00007f58dda1d000     16K r-x--  /home/own/python/lib/python2.7/lib-dynload/time.so
00007f58dda21000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/time.so
00007f58ddc20000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/time.so
00007f58ddc22000     28K r-x--  /home/own/python/lib/python2.7/lib-dynload/_struct.so
00007f58ddc29000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/_struct.so
00007f58dde29000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/_struct.so
00007f58dde2b000     16K r-x--  /home/own/python/lib/python2.7/lib-dynload/_locale.so
00007f58dde2f000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/_locale.so
00007f58de02f000      4K rw---  /home/own/python/lib/python2.7/lib-dynload/_locale.so
00007f58de030000      8K r-x--  /home/own/python/lib/python2.7/lib-dynload/_functools.so
00007f58de032000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/_functools.so
00007f58de232000      4K rw---  /home/own/python/lib/python2.7/lib-dynload/_functools.so
00007f58de233000     32K r-x--  /home/own/python/lib/python2.7/lib-dynload/operator.so
00007f58de23b000   2048K -----  /home/own/python/lib/python2.7/lib-dynload/operator.so
00007f58de43b000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/operator.so
00007f58de43d000    260K rw---    [ anon ]
00007f58de47e000     20K r-x--  /home/own/python/lib/python2.7/lib-dynload/strop.so
00007f58de483000   2044K -----  /home/own/python/lib/python2.7/lib-dynload/strop.so
00007f58de682000      8K rw---  /home/own/python/lib/python2.7/lib-dynload/strop.so
00007f58de684000    260K rw---    [ anon ]
00007f58de6c5000  96836K r----  /usr/lib/locale/locale-archive
00007f58e4556000     48K r-x--  /lib64/libnss_files-2.12.so
00007f58e4562000   2048K -----  /lib64/libnss_files-2.12.so
00007f58e4762000      4K r----  /lib64/libnss_files-2.12.so
00007f58e4763000      4K rw---  /lib64/libnss_files-2.12.so
00007f58e4764000    260K rw---    [ anon ]
00007f58e47d7000    540K rw---    [ anon ]
00007f58e485e000   1608K r-x--  /home/own/python/lib/libpython2.7.so.1.0
00007f58e49f0000   2048K -----  /home/own/python/lib/libpython2.7.so.1.0
00007f58e4bf0000    252K rw---  /home/own/python/lib/libpython2.7.so.1.0
00007f58e4c2f000     60K rw---    [ anon ]
00007f58e4c48000      4K rw-s-  /tmp/ffiwajakl (deleted)
00007f58e4c49000      4K r-xs-  /tmp/ffiwajakl (deleted)
00007f58e4c4b000      4K rw---    [ anon ]
00007f58e4c4c000      4K rw---    [ anon ]
00007fff95282000     84K rw---    [ stack ]
00007fff952be000      4K r-x--    [ anon ]
ffffffffff600000      4K r-x--    [ anon ]
 total         16027324K

@gst
Copy link
Contributor

gst commented May 7, 2015

@andyxning
thx for the infos.
So it very seems like effectively a problem within WebUI or within something used by it (or an interaction between it and the broker main process itself).
I'll give a try asap to try to reproduce something like that, not sure I'll be able to do that for this week though..

In the mean time you got the workaround : restart the broker say once every 2 or 3 days.

But I think we should continue this thread on shinken-monitoring/mod-webui#128 for now.

@andyxning
Copy link
Author

That's right, i like WebUI for its simplicity and usefulness, though it has
limited functionalities. We should refactor and continue to maintain it.

Currently, we did restart the broker once every one week, but it is just a
workaround not the solution, so we should continue to find the root reason.
:)

++++++
Ning Xie

2015-05-07 21:44 GMT+08:00 Grégory Starck notifications@github.com:

@andyxning https://github.com/andyxning
thx for the infos.
So it very seems like effectively a problem within WebUI or within
something used by it (or an interaction between it and the broker main
process itself).
I'll give a try asap to try to reproduce something like that, not sure
I'll be able to do that for this week though..

In the mean time you got the workaround : restart the broker say once
every 2 or 3 days.

But I think we should continue this thread on
shinken-monitoring/mod-webui#128
shinken-monitoring/mod-webui#128 for now.


Reply to this email directly or view it on GitHub
#1597 (comment).

@andyxning
Copy link
Author

As far as i can tell is that the notificationways is duplicated between each shinken reload.
I use webui to log the number of each field of a regenerator instance. Then i find that between each shinken reload the notificationways is duplicated. So, if we have many(3w, acutally) contacts, then we can have as many notificationways as contacts, so the memory will be added up.

@andyxning
Copy link
Author

i can now tell that there is something wrong when processing contacts and notificationways in regenerator.py.

We only clear hosts and services when we reload the configuration or when one scheduler has down and the spare one takes over the configuration, however, we lost the contacts and notificationways.

we initial new notificationways wrongly after the add_item function which will then use notificationway_name as the key to insert the new notificationways. However, in this way we get the notificationway_name with None and all the notificaionways will be over write and only the last one will survice.
So, the self.notificationways.find_by_name(nwname) will always return False. and we will always add notificatinway to self.notificationways.

The solution to this problem is very simple, we can just add and flag, indicating whether the notificationway is not, and then initialize(the first time with a service shinken restart or update the notificaway. After that we can append the new notificationway when it is a new one according to the flag. This is to make sure that when we append a new notificationway we can have the notificationway_name with it. Thus, we can fix this one.

for cnw in nws:
            nwname = cnw.notificationway_name
            nw = self.notificationways.find_by_name(nwname)
            if not nw:
                safe_print("Creating notif way", nwname)
                nw = NotificationWay([])
                self.notificationways.add_item(nw)
            # Now update it
            for prop in NotificationWay.properties:
                if hasattr(cnw, prop):
                    setattr(nw, prop, getattr(cnw, prop))
            new_notifways.append(nw)

In order to further make the contacts and notificationways update with each shinken reload or scheduler switch(with one has down) we should update the contacts and notificationways info according to services and hosts.

I think i can make a PR later.

andyxning pushed a commit to andyxning/shinken that referenced this issue May 11, 2015
@andyxning
Copy link
Author

@naparuba naparuba reopened this May 20, 2015
@naparuba
Copy link
Contributor

Seems that there is still a leak somewhere

@andyxning
Copy link
Author

Is someone still working on solving this problem. If we can not solve this, Shinken may not scale to large setups.

@olivierHa
Copy link
Collaborator

Hello,

Do you have any leaks without reloading arbiter for new configuration
elements ?
I am running Shinken2.4 without any issues when I don't restart arbiter.
When reloading arbiter only, I'am seeing some broker issues ( a broker
reload fix that).
Could you confirm this behaviour on your side ?

Olivier

2015-05-25 15:40 GMT+02:00 Ning Xie notifications@github.com:

Is someone still working on solving this problem. If we can not solve
this, Shinken may not scale to large setups.


Reply to this email directly or view it on GitHub
#1597 (comment).

@andyxning
Copy link
Author

​In our Shinken setup, we will change the configuration at sometime.

In order to make the new configuration come into effect, we must reload
arbiter. Then memory leaks things appear.

However, with runing Shinken2.4 for at least one week and almost 170 times
reload, we at least now with WebUI daemon 15G and the Scheudler daemon 7.4G
where in initial start up WebUI daemon is less about 11GB and Scheduler
daemon is 1.5GB around.

++++++
Ning Xie

2015-05-26 15:49 GMT+08:00 Olivier H notifications@github.com:

Hello,

Do you have any leaks without reloading arbiter for new configuration
elements ?
I am running Shinken2.4 without any issues when I don't restart arbiter.
When reloading arbiter only, I'am seeing some broker issues ( a broker
reload fix that).
Could you confirm this behaviour on your side ?

Olivier

2015-05-25 15:40 GMT+02:00 Ning Xie notifications@github.com:

Is someone still working on solving this problem. If we can not solve
this, Shinken may not scale to large setups.


Reply to this email directly or view it on GitHub
<#1597 (comment)
.


Reply to this email directly or view it on GitHub
#1597 (comment).

@naparuba
Copy link
Contributor

There a pull request about this.

@naparuba naparuba added the Bug label Apr 30, 2016
@naparuba naparuba added this to the 2.4 (Noteworthy Nagapie) milestone Apr 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants