The number of inodes on a filesystem is typically determined at the time of filesystem creation and is fixed. If a filesystem runs out of available inodes, it can cause issues even if there is still plenty of free space in terms of storage capacity.
Regularly clean up your filesystem by deleting files that are no longer needed. This will free up both storage space and inodes.
Instead of keeping a large number of small files, consider archiving or compressing them into a single file. This reduces the number of inodes used.
If possible, consolidate small directories into larger ones. Having many small directories can consume more inodes compared to a smaller number of larger directories.
Organize your files and directories efficiently. For example, avoid having a large number of small files in the root directory; instead, create subdirectories to organize them.