Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Matts (1087)

  (email not shown publicly)

I work for MessageLabs [] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.

Journal of Matts (1087)

Thursday September 20, 2007
10:42 AM

Cwd failing?

[ #34492 ]

Has anyone seen cwd() failing on an extremely high load server? I don't really understand why it fails (only happens under extreme load), and wondered if anyone had any insight.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • There's a race condition of some sort.

    Googling for "getcwd" + "heavy load" turned up some other possible clues, and NFS is mentioned on occasion.

    • Thanks. For now I've just moved getcwd() out of the loop so I only have to do it once. I'm still curious why it fails though - google hasn't been very helpful in this.