I'm using the Network Toolkit (v1.5.1) to schedule regular ping tests against about 200 hosts every few minutes. This works really well, but after about a week the pings stop working and I can see something like this in the logs:
2021-06-15 08:07:12,023 ERROR [Errno 12] Cannot allocate memory Traceback (most recent call last): File "/opt/splunk/etc/apps/network_tools/bin/ping.py", line 203, in run_ping results = ping_all(dest, count=runs, logger=self.logger, callback=output_result_callback) File "/opt/splunk/etc/apps/network_tools/bin/network_tools_app/ping_network.py", line 54, in ping_all _, return_code, result = ping(str(dest_network.network_address), count, index=index, logger=logger) File "/opt/splunk/etc/apps/network_tools/bin/network_tools_app/init.py", line 416, in ping raise exception OSError: [Errno 12] Cannot allocate memory
I'm honestly not sure whether this is a Splunk problem or a Python thing - can you help me investigate this further?
Previously asked here: https://community.splunk.com/t5/All-Apps-and-Add-ons/Network-Toolkit-stops-working/m-p/555745
I'm using the Network Toolkit (v1.5.1) to schedule regular ping tests against about 200 hosts every few minutes. This works really well, but after about a week the pings stop working and I can see something like this in the logs:
2021-06-15 08:07:12,023 ERROR [Errno 12] Cannot allocate memory Traceback (most recent call last): File "/opt/splunk/etc/apps/network_tools/bin/ping.py", line 203, in run_ping results = ping_all(dest, count=runs, logger=self.logger, callback=output_result_callback) File "/opt/splunk/etc/apps/network_tools/bin/network_tools_app/ping_network.py", line 54, in ping_all _, return_code, result = ping(str(dest_network.network_address), count, index=index, logger=logger) File "/opt/splunk/etc/apps/network_tools/bin/network_tools_app/init.py", line 416, in ping raise exception OSError: [Errno 12] Cannot allocate memory
I'm honestly not sure whether this is a Splunk problem or a Python thing - can you help me investigate this further?
Previously asked here: https://community.splunk.com/t5/All-Apps-and-Add-ons/Network-Toolkit-stops-working/m-p/555745