|
| From: | Douglas Moyes |
| Subject: | bash 3.2.39 -- race condition |
| Date: | Wed, 25 Nov 2009 16:35:02 -0800 |
| User-agent: | Thunderbird 2.0.0.23 (X11/20090817) |
I nearly brought down a server today.
# alias d="perl-script "
....
# d() {
# perl-script $1 |grep something|cut -d ' ' -f 3
# }
# d something
..... ..... .... CRASH
turns out bash went into a loop calling d over and over again, which
resulted in thousands of grep, bash, and -d processes being executed. It
wasn't pretty.
| [Prev in Thread] | Current Thread | [Next in Thread] |