handle permission denied errors

reading from /proc/<pid>/smaps is not available inside of Docker container