Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: readdir inconsistent!

by LostShootingStar (Novice)
on Jun 27, 2007 at 19:28 UTC ( [id://623715]=note: print w/replies, xml ) Need Help??


in reply to Re: readdir inconsistent!
in thread readdir inconsistent!

I just tried the 'find' command suggestion, and found that the exact same thing is happening. different results each time. So i guess its not a perl issue, but if anyone has any suggestions im open too them. One thing i found is that if I run the script back to back to back, really fast, i get the same results. but if i wait a few min, or do other things on the system inbetween, the results are different. Again, im positive the directory contents are NOT changing.

Replies are listed 'Best First'.
Re^3: readdir inconsistent!
by shmem (Chancellor) on Jun 27, 2007 at 19:35 UTC
    Again, im positive the directory contents are NOT changing.

    How do you back up that claim? Did you stat the '.' entry of the directories at each run? any differences?

    You might be hitting a bug of the underlying file system. What kind is it? xfs?

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://623715]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-23 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found