While trying to fix the issue, i found that i had the following filesystems mounted on my system (/proc/mounts):
tmpfs /dev/shm tmpfs rw,size=278528k 0 0 tmpfs /dev/shm/var.run tmpfs rw,nosuid,nodev,noexec,mode=755 0 0 tmpfs /dev/shm/var.lock tmpfs rw,nosuid,nodev,noexec 0 0 tmpfs /dev/shm tmpfs rw,size=278528k 0 0
So, i unmounted them, and left only tmpfs /dev/shm tmpfs rw,size=278528k 0 0 . It seems to be working fine now. Also you can try updating you're version of lsof.
While trying to fix the issue, i found that i had the following filesystems mounted on my system (/proc/mounts):
tmpfs /dev/shm tmpfs rw,size=278528k 0 0 nodev,noexec, mode=755 0 0 nodev,noexec 0 0
tmpfs /dev/shm/var.run tmpfs rw,nosuid,
tmpfs /dev/shm/var.lock tmpfs rw,nosuid,
tmpfs /dev/shm tmpfs rw,size=278528k 0 0
So, i unmounted them, and left only tmpfs /dev/shm tmpfs rw,size=278528k 0 0 . It seems to be working fine now. Also you can try updating you're version of lsof.