|
"Directory does not exist" error
Hi all,
I have a code which repeatedly scans through a directory for some files.
The code works fine for a limited number of passes but returns an error
"<Directory name> does not exist" when executed repeatedly for a long time.
I can assure you that the file handling part of it is done properly as in
every file is closed after it is opened .At times the directory remains open tho when i get out of the pass due to an error condition.
Can anyone tell me as to why this is happening ?
Is there a limit to the size of a directory in Linux or the number of files that can be present in a directory ?
|