I had a server with plenty of disk space, like gigs of space but was out of inodes. This is a seldom ever used server and it didn’t make any sense to me. It was used for pentesting and had a minimal install of some vulnerable apps running under nginx. Anywho, this is the command I used to find the two folders using a combined 100% of inodes:
find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n