LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-22-2009, 10:44 PM   #1
weeshalll
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Rep: Reputation: 0
"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 ?
 
Old 11-22-2009, 11:11 PM   #2
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,116

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Quote:
Originally Posted by weeshalll View Post
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 ?
Is the directory accessed through automounter ?
 
Old 11-22-2009, 11:21 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: washington U.S.
Distribution: Damn Small Linux, KateOs, M$ Ickdows Vista, My own OS
Posts: 2,094

Rep: Reputation: 104Reputation: 104
code?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recovery from tar backup error occurred "error exist delayed from previous errr" rakesh_sni Linux - Software 2 08-29-2009 06:56 AM
Postgresql error FATAL: user "root" does not exist" cgetty Ubuntu 4 06-21-2005 02:11 PM
CVS-"no repository exist" ERROR sm_it_101 Programming 2 10-06-2004 04:28 AM
sendmail error 553 5.1.8 error "domain doesnot exist" kevinm2 Linux - Newbie 8 09-16-2004 12:39 AM
RH9 NIS login error: "home directory does not exist" airrr Linux - Networking 2 08-06-2003 01:47 PM


All times are GMT -5. The time now is 01:19 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration