Reiser4 DOS
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm running linux-2.6.5 with latest reiser4 snapshot patch. The following script makes my system completely unresponsive in a short time.
#!/bin/sh
mount -treiser4 /dev/hdX /mnt/reiser4
cd /mnt/reiser4
while /bin/true; do
cd metas
done
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAlPn4FGK1OIvVOP4RApOgAJ9JRZIll4hLLIL2Ml0ve7Xb3qagYQCeP9xp puYCi/4tQPJfrffz0VatWck=
=6bBp
-----END PGP SIGNATURE-----
Hi,
On: Sun, 2 May 2004 15:38:47 +0200,
Quoted 6 lines · Michael Buesch
#!/bin/sh
mount -treiser4/dev/hdX/mnt/reiser4
cd/mnt/reiser4
while/bin/true; do
cd metas
done
Are you sure this does not happen on other filesystem? This loop mainly creates process creation pressure and is more likely some scheduler thing than Reiser4.
Maybe you can cure this using:
while : ; do
...
Sincerely yours,
René Rebe
- ROCK Linux stable release maintainer
Signature · 3 lines
René Rebe - Europe/Germany/Berlin [email protected] [email protected] http://www.rocklinux.org http://www.rocklinux-consulting.de
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 1 line · you
Are you sure this does not happen on other filesystem? This loop
No, I don't know another filesystem with some kind of these meta-files and directories.
Quoted 7 lines
mainly creates process creation pressure and is more likely some scheduler thing than Reiser4.
Maybe you can cure this using:
while : ; do
...
Same thing. Memory usage grows and grows until the system is dead.
Quoted 4 lines
Sincerely yours,
René Rebe
- ROCK Linux stable release maintainer
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAlQHkFGK1OIvVOP4RAogNAJ4x4OsLwitzzkz0wHkISY6ifmE1+wCfZ6GY cONDV0t989B5RuCWiDh65ZM=
=Bfys
-----END PGP SIGNATURE-----
T�rnqvist
Quoted 7 lines · Michael Buesch
#!/bin/sh
mount -treiser4/dev/hdX/mnt/reiser4
cd/mnt/reiser4
while/bin/true; do
cd metas
done
Do I remember something of my own, or wasn't there some discussion about this?
"Should meta files have meta files"
I'd say this is a bug, meta files seem like they shouldn't have meta data, by definition.
Is this going away in the next snapshot?
What about the metas dir inheriting +x from it's parent DIRECTORY, and not necessarily parent FILE?
Signature · 1 line
mjt
Quoted 12 lines · Markus Törnqvist
Quoted 8 lines · Michael Buesch
#!/bin/sh
mount -treiser4/dev/hdX/mnt/reiser4
cd/mnt/reiser4
while/bin/true; do
cd metas
done
Quoted 9 lines
Do I remember something of my own, or wasn't there some discussion about this?
"Should meta files have meta files"
I'd say this is a bug, meta files seem like they shouldn't have meta data, by definition.
Nikita....
Quoted 7 lines
Is this going away in the next snapshot?
What about the metas dir inheriting +x from it's parent DIRECTORY, and not necessarily parent FILE?
Quoted 9 lines · Michael Buesch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi,
I'm running linux-2.6.5 with latest reiser4 snapshot patch. The following script makes my system completely unresponsive in a short time.
Quoted 6 lines
#!/bin/sh
mount -treiser4/dev/hdX/mnt/reiser4
cd/mnt/reiser4
while/bin/true; do
cd metas
done
One can DoS any Linux file-system by
$ while : ;do mkdir x && cd x ;done
Due to some shell peculiarities (like doing getcwd() on each cd), it may be necessary to re-write this in C. Problem is less grave on SMP system, but it's only matter of running enough instances of this in parallel. :)
Nikita.
Quoted 11 lines
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)iD8DBQFAlPn4FGK1OIvVOP4RApOgAJ9JRZIll4hLLIL2Ml0ve7Xb3qagYQCeP9xp puYCi/4tQPJfrffz0VatWck=
=6bBp
-----END PGP SIGNATURE-----
Quoted 9 lines · Michael Buesch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi,
I'm running linux-2.6.5 with latest reiser4 snapshot patch. The following script makes my system completely unresponsive in a short time.
Quoted 7 lines
#!/bin/sh
mount -treiser4/dev/hdX/mnt/reiser4
cd/mnt/reiser4
while/bin/true; do
cd metas
done
i tried this, my system doesent lock in any form :) however, it does use alot cpu, but still my system runs strong
Quoted 10 lines
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)iD8DBQFAlPn4FGK1OIvVOP4RApOgAJ9JRZIll4hLLIL2Ml0ve7Xb3qagYQCeP9xp puYCi/4tQPJfrffz0VatWck=
=6bBp
-----END PGP SIGNATURE-----
Signature · 3 lines
Regards, Redeeman () ascii ribbon campaign - against html e-mail /\ - against microsoft attachments
why does it work? Does it really work, or does it just make the machine heavily loaded?