ERROR Too many open files during node syncing

Hi guys! I got this errors in logs during node syncing.

ERROR new{name=node}:initialize_loop{service="ImportTask"}:import:launch_stream{range=2786820..=3985393}:execute_and_commit{height=2786820 id=859cbbb0167f94a266a34bb8b9b41f279bea4246befaa0a2009bfa058bd91aca}: fuel_core_sync::import: 663: Execution of height 2786820 failed: error occurred in the underlying datastore `Other(IO error: While open a file for appending: /home/ubuntu/node/on_chain/233368.sst: Too many open files)`
2024-08-27T08:09:27.447658Z 
ERROR new{name=node}:initialize_loop{service="ImportTask"}:import:launch_stream{range=2786820..=3985393}:execute_and_commit{height=2786820 id=859cbbb0167f94a266a34bb8b9b41f279bea4246befaa0a2009bfa058bd91aca}: fuel_core_sync::import: 641: error=error occurred in the underlying datastore `Other(IO error: While open a file for appending: /home/ubuntu/node/on_chain/233368.sst: Too many open files)`
2024-08-27T08:09:27.447687Z 
ERROR new{name=node}:initialize_loop{service="ImportTask"}:import:launch_stream{range=2786820..=3985393}: fuel_core_sync::import: 324: Failed to execute and commit block from peer Some(PeerId([0, 37, 8, 2, 18, 33, 3, 65, 104, 87, 114, 67, 11, 201, 253, 20, 56, 203, 177, 154, 30, 59, 96, 214, 202, 239, 96, 84, 226, 212, 194, 59, 2, 182, 59, 187, 72, 108, 240])): error occurred in the underlying datastore `Other(IO error: While open a file for appending: /home/ubuntu/node/on_chain/233368.sst: Too many open files)`

How i can solve this problem?

Hi Paul,

Perhaps this is relevant for you:

Try adjusting the ulimit higher.

1 Like