Segmentation fault when run 200 nodes
michaelmirkin opened this issue · comments
When I tried to run 100 nodes, Shadow was able to complete the simulation.
When I increased the number of nodes, I received the following error message:
** Starting Shadow v1.13.0-53-ga31f3e21 2019-04-22 (built 2019-04-27) with GLib v2.56.3 and IGraph v0.7.1
/home/mitik/workspace/shadow/src/external/elf-loader/vdl-map.c:805:vdl_file_map_single: Could not open ro target file: /home/mitik/.shadow/bin/gossip
/home/mitik/workspace/shadow/src/external/elf-loader/vdl-map.c:979, vdl_file_map_single_maybe, Attempted mapping failed. Try adjusting your system's max_map_count.
Error: signal 11:
I tried to adjust the max_map_count to the same value that was recommended in the wiki, but I keep getting the mentioned above error.
You also need to change both the system and the user file limits, as is also described on the wiki:
https://github.com/shadow/shadow/wiki/1.1-Shadow#system-configs-and-limits
Did you change the file limits?
I did, but apparently, it had no effect. I had to follow this answer:
It seems to solve the issue. Thanks!