Failed to load BPF program %s: %s" % Exception: Failed to load BPF program b'collector': Argument list too long
I'm using a application that is using bcc, the BPFCollector. I'm trying to run a InfluxDB server and I keep receiving this error coming from bcc package:
Traceback (most recent call last):
File "InDBClient.py", line 49, in
How do I fix it?
There are many cases error code -E2BIG could be returned to kernel. This error typically indicates something is off the limit. If you can have a self-reproducible test case, somebody in the community might be able to help you.
I followed this README https://gitlab.com/tunv_ebpf/BPFCollector and ran
sudo python3 InDBClient.py veth_1
I resolved this issue by replacing the kernel with 4.15