dubbo 3.0.9
jdk1.8

dubbo.protocol.threads=200,设置线程数量,爆出线程满了,池子容量最大在100

org.apache.dubbo.config.metadata.ConfigurableMetadataServiceExporter.buildServiceConfig 这个方法中对线程数量做了指定在100

org.apache.dubbo.common.threadpool.manager.DefaultExecutorRepository.updateThreadpool 这个方法把设置的200线程数量进行更换




}
        }
    }
    @Override
    public void close() {
        if (logger.isInfoEnabled()) {
            logger.info("Close " + getClass().getSimpleName() + " bind " + getBindAddress() + ", export " + getLocalAddress());
        }
        ExecutorUtil.shutdownNow(executor, 100);
        try {
            super.close();
        } catch (Throwable e) {
            logger.warn(e.getMessage(), e);
        }
        try {
            doClose();
        } catch (Throwable e) {
            logger.warn(e.getMessage(), e);
        }
    }
    @Override
    public void close(int timeout) {
        ExecutorUtil.gracefulShutdown(executor, timeout);
        close();
    }
    @Override
    public InetSocketAddress getLocalAddress() {
        return localAddress;
    }
    public InetSocketAddress getBindAddress() {