messaging: Do POOL_USAGE via a socket
authorVolker Lendecke <vl@samba.org>
Fri, 30 Aug 2019 13:08:40 +0000 (15:08 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 18 Sep 2019 21:27:30 +0000 (21:27 +0000)
commitbc4e8b1abaf8431d1f507107cf60e57da75c0bef
tree28ce394908e696be8988dba8ef9108bf7da8d629
parent23bee5da95026d161159da74a032780a713c820a
messaging: Do POOL_USAGE via a socket

This makes debugging run-away processes much more efficient and even
possible at all: If the pool-usage output is more than 256MB, the
previous code could not realloc it and threw it away. Also, it is not
helpful for an already huge process to allocate even more.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 18 21:27:30 UTC 2019 on sn-devel-184
source3/lib/tallocmsg.c
source3/utils/smbcontrol.c
source3/wscript_build
source4/lib/messaging/messaging.c