[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sort -g bug
From: |
Seemant Kulleen |
Subject: |
sort -g bug |
Date: |
Sun, 16 May 2004 17:27:33 -0700 |
Hi,
There's a bug in all coreutils versions higher than 5.0; essentially,
sort -g on a file larger than 25 MB (I tested on a 50MB file -- cat'd
/usr/share/dict/words onto itself 10 times). All the memory gets eaten
up and all the swap gets eaten up, slowing the machine to a crawl.
Regular sort seems to work fine (after a bit of slowdown), but sort -g
is relentless and just eats memory/swap.
The other bug is explained here:
http://bugs.gentoo.org/show_bug.cgi?id=44403
The patch there is a very simple one, and seems to be ok for us (note
that we do apply the i18n patch that's distributed at i18n.org).
Thanks,
--
Seemant Kulleen
http://dev.gentoo.org/~seemant
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3458780E
Key fingerprint = 23A9 7CB5 9BBB 4F8D 549B 6593 EDA2 65D8 3458 780E
signature.asc
Description: This is a digitally signed message part
- sort -g bug,
Seemant Kulleen <=