public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Long LS times
@ 2004-08-18 15:17 Simon Haynes
  0 siblings, 0 replies; only message in thread
From: Simon Haynes @ 2004-08-18 15:17 UTC (permalink / raw)
  To: linux-mtd


I have many systems which use a JFFS2/SMC filesystem as root.
On a couple of systems running this I noticed that the system paused
on startup while trying to start syslogd. I thought initially that this what 
due to a large logfile. I decided to delete the logfile and try that. This 
had some effect but it still took 50 seconds. I changed the startup script to 
use strace on starting syslogd and the process stalled while trying to open
a fifo, made with, mkfifo. I later discovered that if I mounted the JFFS2 
filesystem. not as root and performed an 'ls' of the directory containing the 
fifo file, it took 50 seconds. This directory contains only 10 files and the 
only one that is written to is the fifo. 

I then copied this directory and contents to a new one, deleted the original
and renamed the new directory to that of the old, thus recreating the 
directory. I then umounted/mounted the filesystem and the ls took no time at 
all. 

Can anyone explain what is happening to this directory and how I may stop
it or clean it ?

Cheers


Simon. 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-18 15:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-18 15:17 Long LS times Simon Haynes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox