go to 'datacenter -> storage' select the storage (in your case "local") and edit the prune settings to your liking, this should remove the 'maxfiles' automatically if i remember correctly
Well, I didn't find option 'maxfiles' within the GUI, but it is defined in /etc/pve/storage.cfg
as manual states here : https://pve.proxmox.com/wiki/Storage