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

[dask] Distributed Lightgbm randomly hangs when multiple train calls are submitted #4942

Closed
rudra0713 opened this issue Jan 10, 2022 · 19 comments
Labels

Comments

@rudra0713
Copy link

Description:
While submitting more than 1 Distributed Lightgbm train calls at the same time using dask, sometimes the execution is successful, sometimes, it just hangs forever. My machine has 8 workers and 2 threads per worker.

Reproducible Example:

from dask.distributed import Client, wait
from sklearn.datasets import make_classification
import dask.array as da
from dask.distributed import worker_client
import dask
import lightgbm as lgb

n_samples, n_features, num_test_samples = 10000, 10, 100
dask.config.set({'distributed.worker.daemon': False})


# Verbosity of printing messages. Valid values of 0 (silent), 1 (warning), 2 (info), and 3 (debug)
def invoke_dis_lgbm(X, y, number_of_estimators):
    with worker_client() as client_lgbm:
        lgbm_cls = lgb.DaskLGBMClassifier(client=client_lgbm,boosting_type='gbdt', objective='binary', num_leaves=50,
                                    learning_rate=0.1, n_estimators=number_of_estimators, max_depth=5,
                                    bagging_fraction=0.9, feature_fraction=0.9, reg_lambda=0.2,
        )
        lgbm_cls.fit(X, y)
    return 


def main(client):
    X_local, y_local = make_classification(n_samples=n_samples, n_features=n_features, random_state=12345)
    X = da.from_array(X_local, chunks=(n_samples//8, n_features), name='train_feature')
    y = da.from_array(y_local, chunks=(n_samples//8), name='train_label')

    X = client.persist(X)
    _ = wait(X)
    y = client.persist(y)
    _ = wait(y)

    futures = []
    results = []
    # here I am invoking 5 train calls
    for i in range(100, 105):
        f1 = client.submit(invoke_dis_lgbm, X, y, i)
        futures.append(f1)
    for i, f in enumerate(futures):
        results.append(f.result())
    return


if __name__ == '__main__':
    with Client('127.0.0.1:8786') as client:
        main(client)

The main problem seems to be this one:
[LightGBM] [Fatal] Socket recv error, code: 104, I have checked the issue #4625,
However the proposed solution there was for Macos, mine is Linux.

Here is the complete log:

Finding random open ports for workers
Finding random open ports for workers
Finding random open ports for workers
Finding random open ports for workers
Finding random open ports for workers
[LightGBM] [Info] Trying to bind port 57189...
[LightGBM] [Info] Binding port 57189 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 37783...
[LightGBM] [Info] Binding port 37783 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 40885...
[LightGBM] [Info] Binding port 40885 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 56053...
[LightGBM] [Info] Binding port 56053 succeeded
[LightGBM] [Info] Trying to bind port 39767...
[LightGBM] [Info] Binding port 39767 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 34465...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Binding port 34465 succeeded
[LightGBM] [Info] Trying to bind port 56931...
[LightGBM] [Info] Binding port 56931 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Info] Trying to bind port 47941...
[LightGBM] [Info] Listening...
[LightGBM] [Info] Binding port 47941 succeeded
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Listening...
[LightGBM] [Info] Trying to bind port 41189...
[LightGBM] [Info] Binding port 41189 succeeded
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Listening...
[LightGBM] [Info] Trying to bind port 42587...
[LightGBM] [Info] Binding port 42587 succeeded
[LightGBM] [Info] Trying to bind port 57309...
[LightGBM] [Info] Binding port 57309 succeeded
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Listening...
[LightGBM] [Info] Trying to bind port 51349...
[LightGBM] [Info] Binding port 51349 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 48809...
[LightGBM] [Info] Trying to bind port 47085...
[LightGBM] [Info] Binding port 47085 succeeded
[LightGBM] [Info] Binding port 48809 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 200 milliseconds
[LightGBM] [Info] Listening...
machines source code ->  127.0.0.1:59689,127.0.0.1:53785,127.0.0.1:33347,127.0.0.1:55639,127.0.0.1:49899,127.0.0.1:37989,127.0.0.1:55235,127.0.0.1:38371
[LightGBM] [Info] Trying to bind port 43799...
[LightGBM] [Info] Binding port 43799 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 55275...
[LightGBM] [Info] Binding port 55275 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 17218 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 22383 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 6 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 29097 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 260 milliseconds
[LightGBM] [Info] Connected to rank 1
[LightGBM] [Info] Connected to rank 2
[LightGBM] [Info] Connected to rank 5
[LightGBM] [Info] Connected to rank 6
[LightGBM] [Info] Connected to rank 7
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 260 milliseconds
[LightGBM] [Info] Local rank: 0, total number of machines: 8
[LightGBM] [Warning] num_threads is set=2, n_jobs=-1 will be ignored. Current value: num_threads=2
[LightGBM] [Warning] bagging_fraction is set=0.9, subsample=1.0 will be ignored. Current value: bagging_fraction=0.9
[LightGBM] [Warning] feature_fraction is set=0.9, colsample_bytree=1.0 will be ignored. Current value: feature_fraction=0.9
[LightGBM] [Info] Connected to rank 0
[LightGBM] [Info] Connected to rank 2
[LightGBM] [Info] Connected to rank 5
[LightGBM] [Info] Connected to rank 6
[LightGBM] [Info] Connected to rank 7
[LightGBM] [Info] Local rank: 1, total number of machines: 8
[LightGBM] [Warning] num_threads is set=2, n_jobs=-1 will be ignored. Current value: num_threads=2
[LightGBM] [Warning] bagging_fraction is set=0.9, subsample=1.0 will be ignored. Current value: bagging_fraction=0.9
[LightGBM] [Warning] feature_fraction is set=0.9, colsample_bytree=1.0 will be ignored. Current value: feature_fraction=0.9
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 260 milliseconds
[LightGBM] [Info] Connected to rank 0
[LightGBM] [Info] Connected to rank 1
[LightGBM] [Info] Connected to rank 5
[LightGBM] [Info] Connected to rank 6
[LightGBM] [Info] Connected to rank 7
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 260 milliseconds
[LightGBM] [Info] Local rank: 2, total number of machines: 8
[LightGBM] [Warning] num_threads is set=2, n_jobs=-1 will be ignored. Current value: num_threads=2
[LightGBM] [Warning] bagging_fraction is set=0.9, subsample=1.0 will be ignored. Current value: bagging_fraction=0.9
[LightGBM] [Warning] feature_fraction is set=0.9, colsample_bytree=1.0 will be ignored. Current value: feature_fraction=0.9
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 260 milliseconds
distributed.scheduler - INFO - Remove client Client-worker-93612a86-7253-11ec-b5b5-0200170338e3
distributed.nanny - INFO - Worker process 30133 was killed by signal 11
distributed.scheduler - INFO - Remove worker <WorkerState 'tcp://127.0.0.1:39441', name: tcp://127.0.0.1:39441, memory: 6, processing: 5>
distributed.core - INFO - Removing comms to tcp://127.0.0.1:39441
distributed.scheduler - INFO - Close client connection: Client-worker-93612a86-7253-11ec-b5b5-0200170338e3
distributed.nanny - WARNING - Restarting worker
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 439 milliseconds
distributed.worker - INFO -       Start worker at:      tcp://127.0.0.1:36255
distributed.worker - INFO -          Listening to:      tcp://127.0.0.1:36255
distributed.worker - INFO -          dashboard at:            127.0.0.1:35889
distributed.worker - INFO - Waiting to connect to:       tcp://127.0.0.1:8786
distributed.worker - INFO - -------------------------------------------------
distributed.worker - INFO -               Threads:                          2
distributed.worker - INFO -       Local Directory: /tmp/olautoml.NTB74suIuO/dask-worker-space/worker-kn5k12ew
distributed.worker - INFO - -------------------------------------------------
distributed.scheduler - INFO - Register worker <WorkerState 'tcp://127.0.0.1:36255', name: tcp://127.0.0.1:36255, memory: 0, processing: 0>
distributed.scheduler - INFO - Starting worker compute stream, tcp://127.0.0.1:36255
distributed.core - INFO - Starting established connection
distributed.worker - INFO -         Registered to:       tcp://127.0.0.1:8786
distributed.worker - INFO - -------------------------------------------------
distributed.core - INFO - Starting established connection
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 4 failed, waiting for 4639 milliseconds
[LightGBM] [Fatal] Socket recv error, code: 104
distributed.scheduler - INFO - Remove worker <WorkerState 'tcp://127.0.0.1:43295', name: tcp://127.0.0.1:43295, memory: 6, processing: 6>
distributed.core - INFO - Removing comms to tcp://127.0.0.1:43295
distributed.nanny - INFO - Worker process 30119 was killed by signal//127.0.0.1:46173
distributed.core - INFO - Starting established connection
distributed.worker - INFO -         Registered to:       tcp://127.0.0.1:8786
distributed.worker - INFO - -------------------------------------------------
distributed.core - INFO - Starting established connection
distributed.core - INFO - Starting established connection
distributed.core - INFO - Starting established connection
distributed.core - INFO - Starting established connection
distributed.core - INFO - Starting established connection
Finding random open ports for workers
machines source code ->  127.0.0.1:32963,127.0.0.1:55109,127.0.0.1:56591,127.0.0.1:57205,127.0.0.1:34665,127.0.0.1:54907,127.0.0.1:37213,127.0.0.1:53191
Finding random open ports for workers
Finding random open ports for workers
Finding random open ports for workers
Finding random open ports for workers
[LightGBM] [Info] Trying to bind port 32963...
[LightGBM] [Info] Binding port 32963 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 55109...
[LightGBM] [Info] Binding port 55109 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
machines source code ->  127.0.0.1:58799,127.0.0.1:36661,127.0.0.1:36481,127.0.0.1:40383,127.0.0.1:34539,127.0.0.1:53015,127.0.0.1:60303,127.0.0.1:47631
machines source code ->  127.0.0.1:50151,127.0.0.1:59425,127.0.0.1:53269,127.0.0.1:41435,127.0.0.1:34057,127.0.0.1:40317,127.0.0.1:59965,127.0.0.1:60019
[LightGBM] [Info] Trying to bind port 34665...
[LightGBM] [Info] Trying to bind port 54907...
[LightGBM] [Info] Binding port 34665 succeeded
[LightGBM] [Info] Binding port 54907 succeeded
[LightGBM] [Info] Trying to bind port 56591...
[LightGBM] [Info] Binding port 56591 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Listening...
[LightGBM] [Info] Listening...
[LightGBM] [Info] Trying to bind port 57205...
[LightGBM] [Info] Binding port 57205 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 53191...
[LightGBM] [Info] Trying to bind port 37213...
[LightGBM] [Info] Binding port 53191 succeeded
[LightGBM] [Info] Binding port 37213 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Info] Listening...
[LightGBM] [Info] Trying to bind port 50151...
[LightGBM] [Info] Binding port 50151 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 53809...
[LightGBM] [Info] Binding port 53809 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 45151...
[LightGBM] [Info] Binding port 45151 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 49601...
[LightGBM] [Info] Binding port 49601 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 40769...
[LightGBM] [Info] Binding port 40769 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 34539...
[LightGBM] [Info] Binding port 34539 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Trying to bind port 53269...
[LightGBM] [Info] Binding port 53269 succeeded
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Listening...
[LightGBM] [Info] Trying to bind port 33649...
[LightGBM] [Info] Binding port 33649 succeeded
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 200 milliseconds
[LightGBM] [Info] Connected to rank 1
[LightGBM] [Info] Connected to rank 2
[LightGBM] [Info] Connected to rank 3
[LightGBM] [Info] Connected to rank 4
[LightGBM] [Info] Connected to rank 5
[LightGBM] [Info] Connected to rank 6
[LightGBM] [Info] Connected to rank 7
[LightGBM] [Info] Local rank: 0, total number of machines: 8
[LightGBM] [Warning] num_threads is set=2, n_jobs=-1 will be ignored. Current value: num_threads=2
[LightGBM] [Warning] bagging_fraction is set=0.9, subsample=1.0 will be ignored. Current value: bagging_fraction=0.9
[LightGBM] [Warning] feature_fraction is set=0.9, colsample_bytree=1.0 will be ignored. Current value: feature_fraction=0.9
[LightGBM] [Info] Connected to rank 0
[LightGBM] [Info] Connected to rank 2
[LightGBM] [Info] Connected to rank 3
[LightGBM] [Info] Connected to rank 4
[LightGBM] [Info] Connected to rank 5
[LightGBM] [Info] Connected to rank 6
[LightGBM] [Info] Connected to rank 7
[LightGBM] [Info] Local rank: 1, total number of machines: 8
[LightGBM] [Warning] num_threads is set=2, n_jobs=-1 will be ignored. Current value: num_threads=2
[LightGBM] [Warning] bagging_fraction is set=0.9, subsample=1.0 will be ignored. Current value: bagging_fraction=0.9
[LightGBM] [Warning] feature_fraction is set=0.9, colsample_bytree=1.0 will be ignored. Current value: feature_fraction=0.9
[LightGBM] [Info] Connected to rank 0
[LightGBM] [Info] Connected to rank 1
[LightGBM] [Info] Connected to rank 3
[LightGBM] [Info] Connected to rank 4
[LightGBM] [Info] Connected to rank 5
[LightGBM] [Info] Connected to rank 6
[LightGBM] [Info] Connected to rank 7
[LightGBM] [Info] Local rank: 2, total number of machines: 8
[LightGBM] [Warning] num_threads is set=2, n_jobs=-1 will be ignored. Current value: num_threads=2
[LightGBM] [Warning] bagging_fraction is set=0.9, subsample=1.0 will be ignored. Current value: bagging_fraction=0.9
[LightGBM] [Warning] feature_fraction is set=0.9, colsample_bytree=1.0 will be ignored. Current value: feature_fraction=0.9
[LightGBM] [Info] Connected to rank 0
[LightGBM] [Info] Connected to rank 1
[LightGBM] [Info] Connected to rank 2
[LightGBM] [Info] Connected to rank 3
[LightGBM] [Info] Connected to rank 4
[LightGBM] [Info] Connected to rank 5
[LightGBM] [Info] Connected to rank 6
[LightGBM] [Info] Connected to rank 0
[LightGBM] [Info] Connected to rank 1
[LightGBM] [Info] Connected to rank 2
[LightGBM] [Info] Connected to rank 3
[LightGBM] [Info] Connected to rank 0
[LightGBM] [Info] Connected to rank 4
[LightGBM] [Info] Connected to rank 1
[LightGBM] [Info] Connected to rank 5
[LightGBM] [Info] Connected to rank 2
[LightGBM] [Info] Connected to rank 7
[LightGBM] [Info] Connected to rank 4
[LightGBM] [Info] Connected to rank 0
[LightGBM] [Info] Connected to rank 5
[LightGBM] [Info] Connected to rank 1
[LightGBM] [Info] Connected to rank 6
[LightGBM] [Info] Connected to rank 2
[LightGBM] [Info] Connected to rank 7
[LightGBM] [Info] Connected to rank 3
[LightGBM] [Info] Connected to rank 5
[LightGBM] [Info] Connected to rank 0
[LightGBM] [Info] Connected to rank 6
[LightGBM] [Info] Connected to rank 1
[LightGBM] [Info] Connected to rank 7
[LightGBM] [Info] Connected to rank 2
[LightGBM] [Info] Connected to rank 3
[LightGBM] [Info] Connected to rank 4
[LightGBM] [Info] Connected to rank 6
[LightGBM] [Info] Connected to rank 7
[LightGBM] [Info] Local rank: 7, total number of machines: 8
[LightGBM] [Info] Local rank: 6, total number of machines: 8
[LightGBM] [Info] Local rank: 4, total number of machines: 8
[LightGBM] [Info] Local rank: 5, total number of machines: 8
[LightGBM] [Info] Local rank: 3, total number of machines: 8
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 439 milliseconds
[LightGBM] [Info] Listening...
[LightGBM] [Info] Listening...
[LightGBM] [Info] Listening...
[LightGBM] [Info] Listening...
[LightGBM] [Info] Listening...
[LightGBM] [Info] Listening...
[LightGBM] [Info] Listening...
[LightGBM] [Info] Listening...
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 200 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 260 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 338 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 439 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 570 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 741 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 963 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 1251 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 1626 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 2113 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 2746 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 3569 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 4639 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 6030 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 7838 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 10189 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 7 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 5 failed, waiting for 13245 milliseconds
[LightGBM] [Warning] Connecting to rank 3 failed, waiting for 13245 milliseconds

Environment:
Linux
Lightgbm: 3.2.1
dask: 2021.9.1
distributed: 2021.9.1

@jmoralez
Copy link
Collaborator

@rudra0713 may I ask what you're trying to do? It seems like you want to train several models in parallel changing only the number of trees. If that's the case you could just train a single model for the maximum number of iterations that you want and set num_iteration to the desired number of iterations when calling predict.

In case the number of trees is just to simulate setting a different hyperparameter and what you're trying to do is just train several models in parallel you could modify your fit function to just call the regular lightgbm sklearn API with something like the following:

def train_local_model(X, y, number_of_estimators):
    lgbm_cls = lgb.LGBMClassifier(boosting_type='gbdt', objective='binary', num_leaves=50,
                                  learning_rate=0.1, n_estimators=number_of_estimators, max_depth=5,
                                  bagging_fraction=0.9, feature_fraction=0.9, reg_lambda=0.2,
      )
    lgbm_cls.fit(X, y)
    return lgbm_cls


def main(client):
    X, y = make_classification(n_samples=n_samples, n_features=n_features, random_state=12345)
    futures = []
    # here I am invoking 5 train calls
    for i in range(100, 105):
        f1 = client.submit(train_local_model, X, y, i)
        futures.append(f1)
    results = client.gather(futures)
    return results

The dask API for lightgbm is meant to train a single model using several workers. The main use case is when your data doesn't fit in a single machine so you build a cluster of machines where each machine holds a piece of the data and train a model that way.

@rudra0713
Copy link
Author

Hi, thanks for your response. In my actual use case,

  1. I am working with a very large dataset, more than 10M rows and a high number of features. It does not fit in a single machine.That's why I am relying on dask to use a cluster of machines instead of a regular lightgbm setting.
  2. In this example, I only varied the number of estimators to keep things simple. In reality, I am varying a bunch of hyperparameters.

@jmoralez
Copy link
Collaborator

The distributed interface is designed to use a set of machines to train one model at a time. The dask interface takes your dask collection, checks which machines have at least one partition of that collection and assigns them to train the model. What you're doing here is asking each machine to train several models at the same time, which isn't possible. One possible solution would be to make smaller clusters (but big enough to hold the data) and use each one to train one model at a time. Let us know if this helps.

@rudra0713
Copy link
Author

Is there a way to at least pinpoint the technical reason for this failure? Random failures are making it hard for me to diagnose the problem. For ex: while training multiple models, can Lightgbm mess up the worker's knowledge regarding each data partition?

@jmoralez
Copy link
Collaborator

Looking a bit closer at the logs you posted it seems that some workers are dying, are you seeing this in the dashboard?. It could be that they run out of memory. If one worker dies when performing distributed training in LightGBM the training process will hang because the others will wait forever for that workers input.

@jameslamb
Copy link
Collaborator

I agree with @jmoralez, running multiple LightGBM workloads on the cluster at the same time could cause workers to die because of memory issues, and LightGBM distributed training (regardless of whether or not you use Dask) is not resilient to workers dying.

I think it's important to note that part of the root cause here is that lightgbm.dask is not "Dask all the way down". As @jmoralez has explained, lightgbm.dask is just collecting the data on each worker and starting up a LightGBM training process. Those training processes then all run (possibly for a long time) and communicate with each other over TCP sockets.

Dask can't see when those tasks allocate memory or talk to each other, and we don't allow Dask to pick them up and move them to other workers when a worker dies (#4132).

Also see #3775 for a bit more information.

@jameslamb jameslamb changed the title Distributed Lightgbm randomly hangs when multiple train calls are submitted [dask] Distributed Lightgbm randomly hangs when multiple train calls are submitted Jan 15, 2022
@rudra0713
Copy link
Author

I see. Thanks for your response. Is there any chance support for multiple simaltenous Lightgbm train calls will be added as a feature in near future? Also, if I want to implement this feature, do you have any suggestion on how can I do that? One thing I tried, is to provide 2 new ports in the machines param with each of the train calls. That kept randomly throwing binding socket failed error.

@jmoralez
Copy link
Collaborator

Are you actually seeing a speedup as opposed to training sequentially? It seems like there's a massive oversubscription, since by default each training process uses all available cores and you have a couple of processes using all available resources.

@rudra0713
Copy link
Author

Comparing the runtimes for distributed and non-distributed lightgbm, I think I am getting some surprising numbers,
The following experiments are done with a randomly created dataset with 1M rows and 30 features, my machine has 8 workers,

  1. Parallelly submitting 50 distributed lightgbm calls -> hangs (as I already mentioned)
  2. Sequentially submitting 50 distributed lightgbm calls -> takes 397sec
  3. Parallelly submitting 50 Non-distributed lightgbm calls (using lightgbm.LGBClassifier and client.submit as I showed in my code) -> takes 212 sec
  4. Sequentially submitting 50 Non-distributed lightgbm calls (using lightgbm.LGBClassifier) -> takes 379 sec

Currently, I am using the Non-distributed lightgbm by parallelly submitting multiple calls and my aim is to improve the numbers using the distributed lightgbm. But, based on the discussion so far, I do not see a way to improve upon my current numbers. Any suggestion?

@rudra0713
Copy link
Author

rudra0713 commented Jan 17, 2022

Also, looking at the dashboard while running multiple lightgbm calls at the same time, each worker memory seems to be will within limit. Besides, I am using the same dataset for every train call and I am using persist, so I am not sure why there would be a memory issue. Plus, the worker seem to get stuck at processing stage, no worker seems dead.
task_graph_db
worker_db

@jmoralez
Copy link
Collaborator

I'd say option 3 should be the fastest, because if your data fits in a single machine using (local) distributed training only introduces some overhead because of the communication between the workers. In the image above the number of connected squares is 16 (which is your number of threads) and the total number of squares is greater than 32, which could mean that every worker died while trying to train.

@rudra0713
Copy link
Author

@jmoralez I can agree that workers are dying, but I don't full understand why they will die because of memory issues.

  1. I am not creating multiple copies of the dataset, rather I am using persist() at the very beginning.
  2. The workers have access to 512GB RAM whereas, the dataset I am creating is hardly 1GB.
  3. From the dashboard, the worker's memory use seems to be less than 200MB.

Can there be any other reason for the workers dying?

@jmoralez
Copy link
Collaborator

jmoralez commented Feb 1, 2022

I am not creating multiple copies of the dataset, rather I am using persist() at the very beginning.

LightGBM will use some more memory because it needs to create a Dataset each time you call fit, so you could expect using about twice the size of your original dataset times the number of concurrent trainings you are running.

From the dashboard, the worker's memory use seems to be less than 200MB.

I believe this might be at the end, once they have all finished/died so maybe in the process the memory starts to go up.

There could be some more info in the workers' logs, have you tried looking there? There's a section in the dashboard where you can see the individual logs for each worker, if you look closely at one you might see the reason why it dies.

@no-response
Copy link

no-response bot commented Mar 3, 2022

This issue has been automatically closed because it has been awaiting a response for too long. When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened. If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one. Thank you for taking the time to improve LightGBM!

@no-response no-response bot closed this as completed Mar 3, 2022
@vishalvvs
Copy link

@jmoralez I can agree that workers are dying, but I don't full understand why they will die because of memory issues.

  1. I am not creating multiple copies of the dataset, rather I am using persist() at the very beginning.
  2. The workers have access to 512GB RAM whereas, the dataset I am creating is hardly 1GB.
  3. From the dashboard, the worker's memory use seems to be less than 200MB.

Can there be any other reason for the workers dying?

Faced the similar issue, Any updates?? The versions and all are same in this case

@jmoralez
Copy link
Collaborator

Hi @vishalvvs, from #4942 (comment) it seems that the original problem in this issue wasn't the right approach to achieving a speed up in training multiple models. Are you trying the same? If you're facing a different problem please open a new issue with the description of your problem.

@philip-2020
Copy link

philip-2020 commented Jun 8, 2023

I am receiving the Warning as bellow:
C:\Users\pwang\PycharmProjects\01_PL_Home\venv\lib\site-packages\lightgbm\dask.py:526: UserWarning: Parameter n_jobs will be ignored.
_log_warning(f"Parameter {param_alias} will be ignored.")
Finding random open ports for workers
[LightGBM] [Fatal] Machine list file doesn't contain the local machine
2023-06-08 15:22:57,309 - distributed.worker - WARNING - Compute Failed
Key: _train_part-5abf29b6-2c80-45a7-83fd-3532f41ccffa

import dask.array as da
from distributed import Client, LocalCluster
from sklearn.datasets import make_regression

import lightgbm as lgb

workspace = "C:/Users/pwang/PycharmProjects/Temp/"

----------------------------------------------------------------

https://github.com/microsoft/LightGBM/blob/master/examples/python-guide/dask/regression.py

----------------------------------------------------------------

if name == "main":
print("loading data")

X, y = make_regression(n_samples=1000, n_features=50)

print("initializing a Dask cluster")

cluster = LocalCluster(n_workers=2, local_directory=workspace)
client = Client(cluster)

print("created a Dask LocalCluster")

print("distributing training data on the Dask cluster")

dX = da.from_array(X, chunks=(100, 50))
dy = da.from_array(y, chunks=(100,))

print("beginning training")

dask_model = lgb.DaskLGBMRegressor(n_estimators=10)
dask_model.fit(dX, dy)
assert dask_model.fitted_

print("done training")

Dask workers look good on dashboard, each worker has 15.9GiB memory and 6 threads.
The laptop has 6 cores 2 threads per core. OS is Windows 10 Enterprise.
Ligbm 3.3.5, Dask 2023.5.1, distributed 2023.5.1, Python 3.10

Thank you for any help!

@jameslamb
Copy link
Collaborator

@philip-2020 thanks for using LightGBM. What you've reported looks very different from "randomly hangs when multiple train calls are submitted".

Please open a new issue at https://github.com/microsoft/LightGBM/issues/new/choose.

And please review https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax if you are new to writing text in GitHub-flavored markdown.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants