Error running local validator node

I am running into errors running a local validator node.

Below if my log

cargo run -p libra_swarm – -s

Finished dev [unoptimized + debuginfo] target(s) in 0.31s

Running target/debug/libra_swarm -s

Faucet account created in file “/tmp/keypair.DG1k77JBQhhN/temp_faucet_keys”

Base directory containing logs and configs: “/tmp/.tmp1KkDfG”

thread ‘main’ panicked at 'Libra node ‘8deeeaed65f0cd7484a9e4e5ac51fbac548f2f71299a05e000156031ca78fb9f’ has crashed with status ‘signal: 6’. Log output: ‘’'I0619 16:43:37.512749 123145356881920 common/executable_helpers/src/helpers.rs:27] Loading node config from: /tmp/.tmp1KkDfG/8deeeaed65f0cd7484a9e4e5ac51fbac548f2f71299a05e000156031ca78fb9f.node.config.toml

IUsing node config NodeConfig { base: BaseConfig { peer_id: “8deeeaed65f0cd7484a9e4e5ac51fbac548f2f71299a05e000156031ca78fb9f”, peer_keypairs: KeyPairs { network_signing_private_key: SecretKey: [130, 0, 21, 115, 160, 3, 253, 59, 127, 215, 47, 251, 14, 175, 99, 170, 198, 47, 18, 222, 182, 41, 220, 167, 39, 133, 166, 98, 104, 236, 117, 139], network_signing_public_key: 664f6e8f36eacb1770fa879d86c2c1d0fafea145e84fa7d671ab7a011a54d509, network_identity_private_key: , network_identity_public_key: b1df0ea1b4c1400454bab824e2e3ef6669e4231e2b9332020d9630fe1cfb2808, consensus_private_key: SecretKey: [251, 28, 18, 193, 239, 203, 100, 197, 96, 60, 161, 90, 200, 150, 209, 171, 193, 8, 43, 23, 176, 150, 201, 23, 101, 71, 153, 46, 170, 14, 182, 70], consensus_public_key: 90bba9133465da772eea2823cd0d871dbf0f27580ec8b791ebfa21ce18baae7a }, peer_keypairs_file: “8deeeaed65f0cd7484a9e4e5ac51fbac548f2f71299a05e000156031ca78fb9f.node.keys.toml”, data_dir_path: “/tmp/.tmpsKhtHR”, temp_data_dir: 0619 Some(TempDir { path: “/tmp/.tmpsKhtHR” }), trusted_peers_file: “trusted_peers.config.toml”, trusted_peers: TrustedPeersConfig { peers: {“8deeeaed65f0cd7484a9e4e5ac51fbac548f2f71299a05e000156031ca78fb9f”: TrustedPeer { network_signing_pubkey: 664f6e8f36eacb1770fa879d86c2c1d0fafea145e84fa7d671ab7a011a54d509, network_identity_pubkey: b1df0ea1b4c1400454bab824e2e3ef6669e4231e2b9332020d9630fe1cfb2808, consensus_pubkey: 90bba9133465da772eea2823cd0d871dbf0f27580ec8b791ebfa21ce18baae7a }} }, node_sync_batch_size: 1000, node_sync_retries: 3, node_sync_channel_buffer_size: 10, node_async_log_chan_size: 256 }, metrics: MetricsConfig { dir: “/tmp/.tmpsKhtHR/metrics”, collection_interval_ms: 1000, push_server_addr: “” }, execution: ExecutionConfig { address: “localhost”, port: 55110, testnet_genesis: false, genesis_file_location: “/tmp/.tmp1KkDfG/genesis.blob” }, admission_control: AdmissionControlConfig { address: “0.0.0.0”, admission_control_service_port: 55100, need_to_check_mempool_before_validation: false }, 16:43:37.518584 debug_interface: DebugInterfaceConfig { admission_control_node_debug_port: 55102, secret_service_node_debug_port: 55106, storage_node_debug_port: 55108, metrics_server_port: 55104, address: “0.0.0.0” }, storage: StorageConfig { address: “localhost”, port: 55120, dir: “/tmp/.tmpiUifRe/8deeeaed65f0cd7484a9e4e5ac51fbac548f2f71299a05e000156031ca78fb9f/db” }, network: NetworkConfig { seed_peers_file: “seed_peers.config.toml”, seed_peers: SeedPeersConfig { seed_peers: {“8deeeaed65f0cd7484a9e4e5ac51fbac548f2f71299a05e000156031ca78fb9f”: ["/ip4/0.0.0.0/tcp/55098"]} }, listen_address: “/ip4/0.0.0.0/tcp/55098”, advertised_address: “/ip4/0.0.0.0/tcp/55098”, discovery_interval_ms: 1000, connectivity_check_interval_ms: 5000, enable_encryption_and_authentication: true }, consensus: ConsensusConfig { max_block_size: 100, proposer_type: “rotating_proposer”, contiguous_rounds: 2, max_pruned_blocks_in_mem: None, pacemaker_initial_timeout_ms: None }, mempool: MempoolConfig { broadcast_transactions: true, 123145356881920 common/executable_helpers/src/helpers.rs:30] Starting Full 8deeeaed65f0cd7484a9e4e5ac51fbac548f2f71299a05e000156031ca78fb9fshared_mempool_tick_interval_ms: 50, shared_mempool_batch_size: 100, shared_mempool_max_concurrent_inbound_syncs: 100, capacity: 10000000, capacity_per_user: 100, sequence_cache_capacity: 1000, system_transaction_timeout_secs: 86400, system_transaction_gc_interval_ms: 180000, mempool_service_port: 55112, address: “localhost” }, log_collector: LoggerConfig { http_endpoint: None, is_async: true, chan_size: None, use_std_output: true }, vm_config: VMConfig { publishing_options: Locked({[43, 179, 130, 143, 85, 188, 100, 10, 133, 177, 125, 156, 110, 18, 14, 132, 248, 192, 104, 201, 253, 133, 14, 26, 29, 97, 210, 249, 30, 210, 149, 253], [136, 192, 198, 69, 149, 246, 206, 199, 208, 192, 191, 226, 158, 27, 225, 136, 108, 115, 110, 195, 210, 104, 136, 208, 73, 227, 9, 9, 247, 167, 40, 54], [238, 49, 214, 91, 85, 154, 213, 163, 0, 230, 165, 8, 255, 62, 219, 45, 35, 241, 88, 158, 246, 141, 14, 173, 18, 77, 143, 3, 116, 7, 61, 132], [211, 73, 55, 86, 160, 11, 122, 158, 77, 156, 168, 72, 46, 128, 253, 5, 84, 17, 206, 83, 136, 43, 220, 176, 143, 236, 151, 212, 46, 239, 11, 222]}) }, secret_service: SecretServiceConfig { address: “localhost”, secret_service_port: 55118 } }

I0619 16:43:37.519314 123145356881920 common/metrics/src/lib.rs:45] Using metrics file /tmp/.tmpsKhtHR/metrics/8deeeaed65f0cd7484a9e4e5ac51fbac548f2f71299a05e000156031ca78fb9f.metrics

I0619 16:43:37.696663 123145356881920 storage/libradb/src/lib.rs:105] Opened LibraDB at “/tmp/.tmpiUifRe/8deeeaed65f0cd7484a9e4e5ac51fbac548f2f71299a05e000156031ca78fb9f/db/libradb” in 176 ms

D0619 16:43:37.710248 123145356881920 libra_node/src/main_node.rs:219] Storage service started in 190 ms

D0619 16:43:37.712670 123145356881920 storage/storage_service/src/lib.rs:271] [GRPC] Storage::get_executor_startup_info

I0619 16:43:37.713980 123145356881920 execution/executor/src/lib.rs:85] Startup info is empty. Will start from GENESIS.

D0619 16:43:37.717773 123145356881920 execution/executor/src/lib.rs:172] Received request to execute block. Parent id: 5052455f47454e455349535f424c4f434b5f4944000000000000000000000000. Id: 47454e455349535f424c4f434b5f494400000000000000000000000000000000.

D0619 16:43:37.721766 123145356881920 execution/executor/src/block_processor.rs:619] Execution status: [Keep(Execution(Executed))]

D0619 16:43:37.727224 123145356881920 execution/executor/src/lib.rs:204] Received request to commit block 47454e455349535f424c4f434b5f494400000000000000000000000000000000.

D0619 16:43:37.729018 123145356881920 storage/storage_service/src/lib.rs:259] [GRPC] Storage::save_transactions

I0619 16:43:37.740101 123145356881920 execution/executor/src/lib.rs:162] GENESIS transaction is committed.

D0619 16:43:37.752901 123145356881920 libra_node/src/main_node.rs:226] Execution service started in 42 ms

D0619 16:43:37.756678 123145356881920 network/src/peer_manager/mod.rs:528] listening on “/ip4/0.0.0.0/tcp/55098”

D0619 16:43:37.758107 123145356881920 network/src/peer_manager/mod.rs:545] Incoming connections listener Task started

D0619 16:43:37.758815 123145356881920 libra_node/src/main_node.rs:237] Network started in 5 ms

D0619 16:43:37.765347 123145356881920 libra_node/src/main_node.rs:242] AC started in 6 ms

D0619 16:43:37.774251 123145356881920 libra_node/src/main_node.rs:247] Mempool started in 8 ms

E0619 16:43:37.774887000 123145361674240 tcp_server_posix.cc:492] clone_port: {“created”:"@1560980617.774870000",“description”:“OS Error”,“errno”:24,“file”:"/Users/nserrao/.cargo/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.4.4/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc",“file_line”:379,“os_error”:“Too many open files”,“syscall”:“socket”,“target_address”:"[::]:55102"}

E0619 16:43:37.774932000 123145361674240 tcp_server_posix.cc:492] assertion failed: GRPC_LOG_IF_ERROR( “clone_port”, clone_port(sp, (unsigned)(pollset_count - 1)))

‘’’’, libra_swarm/src/swarm.rs:308:25

note: Run with RUST_BACKTRACE=1 environment variable to display a backtrace.

logs located: “/tmp/.tmp1KkDfG”

Any ideas on what I could be doing wrong here ?

Please take a look at https://github.com/libra/libra/issues/81 and see if that resolves your issue

Thanks. Yes, that did fix it for me.

Appreciate your help.