Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google site



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-23-2009
Registered User
 

Join Date: Jun 2009
Posts: 1
Problem with folder

Hello,

I have 10 servers on Debian 4.0. They are working fine, but I have one folder on each of them where programs are storing some files with their results.

Those are text files with few lines of text and nothing else.

There is another program that reading those files, delete them and their content write into mysql DB.

After some time of writing and removing those files, I can`t work with that folder normally. If I want to do ls command on it, it takes entire day to do that. But, if I remove that folder and create new one it works like charm.
And after some time, all over again.

Does anyone know what`s the broblem here?
Sponsored Links
  #2 (permalink)  
Old 06-24-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,738
The filedescriptor of directories grow, and never shrinks...and with lost of modification /deletion etc you create FS fragmentation...
When they are of huge size and have severe fragmentation, performance issue arise...
You are doing the right thing by creating a new one and removing the ancient...
Depending of your file sytem, you could try to defragment (e.g. VXFS has somt utilities...)
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
File Management: How do I move all JPGS in a folder structure to a single folder? guptaxpn Shell Programming and Scripting 4 06-11-2009 03:41 AM
How can I upload a zip folder on a unix path from my windows folder? ajit.yadav83 Windows & DOS: Issues & Discussions 2 01-29-2009 08:56 AM
script for Finding files in a folder and copying to another folder satish2712 Shell Programming and Scripting 5 09-11-2008 05:07 PM
Auto copy for files from folder to folder upon instant writing Bashar UNIX for Advanced & Expert Users 2 08-21-2008 03:44 PM



All times are GMT -4. The time now is 01:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0