Since clickhouse allows to execute user-specified command (i.e.
for dictionary loading), it is better not to expose them.
But there is something left for now:
- 10 -> socket:[14422712]
- 11 -> socket:[14422714]
- 12 -> anon_inode:[eventpoll]
- 13 -> anon_inode:[eventpoll]
- 14 -> anon_inode:[eventpoll]
- 15 -> socket:[14426310]
- 16 -> anon_inode:[eventpoll]
- 3 -> /proc/2739071/fd
- 6 -> socket:[14422708]
- 9 -> socket:[14422710]
And most of these (eventpoll) went from poco, for which O_CLOEXEC cannot
be passed.
With poco 1.7.6+dfsg1-5+deb9u1:
5 0x00007f9921e48085 in __cxa_throw ()
6 0x00007f9918dfca88 in Poco::Net::IPAddress::IPAddress(void const*, unsigned int, unsigned int) () from /usr/lib/libPocoNet.so.46
7 0x00007f9918dfcf91 in Poco::Net::IPAddress::operator&(Poco::Net::IPAddress const&) const () from /usr/lib/libPocoNet.so.46
8 0x00007f991737a623 in DB::AllowedClientHosts::IPSubnet::set (this=0x7f991742afa0 <DB::(anonymous namespace)::ALL_ADDRESSES>, prefix_=..., mask_=...) at AllowedClientHosts.h:146
9 0x00007f991737a2da in DB::AllowedClientHosts::IPSubnet::IPSubnet (this=0x7f991742afa0 <DB::(anonymous namespace)::ALL_ADDRESSES>, prefix_=..., mask_=...) at AllowedClientHosts.h:24
10 0x00007f991737a0a2 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at AllowedClientHosts.cpp:25
Fixes: 2e4174a54c
* Add new trace type to system.trace_log table
* [WIP]
* Add settings for soft limit raising.
* Remove unused diff
* Remove unused diff
* Some renames
* Fix client hanging on quit
* Remove obsolete pointer for trace collector in context.
* Use memory tracker on query level.
* Fix TSan tests
* Try to simplify TraceCollector initialization.
It allows to workaround first call inside signal handler
* Initialize TraceCollector before setting signal handlers
* Attempt to fix
* Fix Int64 → UInt64 for |size|
* Explicitly reset global TraceCollector instance.