Hello Sohail,
Do you mean many files within a repository of size 0 bytes each?
Then that's a problem. (Useful Attachment) files should not be of 0 bytes in size.
See:
Zero-byte file - Wikipedia
What is a zero-byte file?
You need to investigate this. It could indicate that the Attachment upload is starting, but failing to complete.
- Potentially the "full drive" you mentioned was allowing the creation of the file name, but stopping after that.
- See if you can work out where the files are coming from. What and who is producing them? What size should they be? Can Wireshark help?
- Make sure that the drive is not corrupt (run chkdsk or equivalent.).
- Run Anti-virus check, and check it is not blocking anything. Same with the firewall rules.
- Make sure that a valid Attachment of positive byte size works. Is the 0 byte file issue reproducible? How often?
- Backup your database and Attachments as a precaution. (Although the 0 byte files won't be useful to keep)
Check out everything that you can about these files and the file storage environment. You need to be sure the file system is stable in the first instance.
Then check out Service Desk. You may need to log a Support issue to put additional logging on.
But this helps answer part of your original question - I would be deleting all of the 0 byte files, as they serve no use.
Thanks, Kyle.