SUSE 10.0-EVAL KTorrent: 2 GB limitation?
Hi, While downloading a Knoppix-DVD-image with "KTorrent-1.1rc1" the program terminates suddenly at a filesize of 2 GB. The last lines of 'strace -f ktorrent' are: -------------------------------------------- [...] open("/home/akoenecke/.kde/share/apps/ktorrent/tor0/cache/KNOPPIX_V4.0.2DVD-2005-09-23-DE.iso",\ O_RDWR) = 18 fstat64(18, {st_mode=S_IFREG|0644, st_size=2147483647, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,0) = 0x40035000 fstat64(18, {st_mode=S_IFREG|0644, st_size=2147483647, ...}) = 0 _llseek(18, 2147479552, [2147479552], SEEK_SET) = 0 read(18, "\340\351O\220\\K\354E\257\252\376=\240\0271\30d\260f\364"...,4095) = 4095 write(18, "\10", 1) = -1 EFBIG (File too large) --- SIGXFSZ (File size limit exceeded) @ 0 (0) --- ---------------------------------------------- Is it a bug or a misconfiguration and what can I do? (Filesystem is reiserfs.) Andreas -- XMMS spielt gerade nichts... PGP-ID/Fingerprint: BD7C2E59/3E 11 E5 29 0C A8 2F 49 40 6C 2D 5F 12 9D E1 E3 PGP-Key on request or on public keyservers --
On Wed, 19 Oct 2005, Andreas Koenecke wrote:
While downloading a Knoppix-DVD-image with "KTorrent-1.1rc1" the program terminates suddenly at a filesize of 2 GB. The last lines of 'strace -f ktorrent' are:
-------------------------------------------- [...] open("/home/akoenecke/.kde/share/apps/ktorrent/tor0/cache/KNOPPIX_V4.0.2DVD-2005-09-23-DE.iso",\ O_RDWR) = 18
fstat64(18, {st_mode=S_IFREG|0644, st_size=2147483647, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,0) = 0x40035000
fstat64(18, {st_mode=S_IFREG|0644, st_size=2147483647, ...}) = 0
_llseek(18, 2147479552, [2147479552], SEEK_SET) = 0
read(18, "\340\351O\220\\K\354E\257\252\376=\240\0271\30d\260f\364"...,4095) = 4095
write(18, "\10", 1) = -1 EFBIG (File too large)
--- SIGXFSZ (File size limit exceeded) @ 0 (0) ---
----------------------------------------------
Is it a bug or a misconfiguration and what can I do? (Filesystem is reiserfs.)
Looks like a bug in Ktorrent. It should have opened the file with O_LARGEFILE. Please file a bugreport on this! Regards Christoph
* Mittwoch, 19. Oktober 2005 um 14:24 (+0200) schrieb Christoph Thiel:
On Wed, 19 Oct 2005, Andreas Koenecke wrote:
While downloading a Knoppix-DVD-image with "KTorrent-1.1rc1" the program terminates suddenly at a filesize of 2 GB.
Looks like a bug in Ktorrent. It should have opened the file with O_LARGEFILE. Please file a bugreport on this!
OK, done (Bug #129351). Andreas -- XMMS spielt gerade nichts... PGP-ID/Fingerprint: BD7C2E59/3E 11 E5 29 0C A8 2F 49 40 6C 2D 5F 12 9D E1 E3 PGP-Key on request or on public keyservers --
Hello, Am Mittwoch 19 Oktober 2005 14:24 schrieb Christoph Thiel:
On Wed, 19 Oct 2005, Andreas Koenecke wrote:
While downloading a Knoppix-DVD-image with "KTorrent-1.1rc1" the program terminates suddenly at a filesize of 2 GB. [...] Looks like a bug in Ktorrent. It should have opened the file with O_LARGEFILE. Please file a bugreport on this!
It could also be a problem with the older (3.5) ReiserFS format that didn't allow files > 2 GB. Which distribution did you use for creating the ReiserFS partition? If it was an older one, run mount -o remount,conv /your/filesystem once. This will switch your partition to the 3.6 filesystem and make it incompatible to old reiserfs tools - but it allows creation of _new_ files > 2 GB. However, it doesn't allow existing files to grow > 2 GB. As a footnote: This mail is IIRC and manpage-based since I only use ext3 ;-) Regards, Christian Boltz --
Und _WEHE!_ einer faengt von PHP5 an, dann bekomm ich nen Schreikrampf! Hol schonmal Luft. Sobald das Teil in unstable auftaucht... :-) [> David Haller und Ratti in fontlinge-devel]
* Donnerstag, 20. Oktober 2005 um 01:20 (+0200) schrieb Christian Boltz:
On Wed, 19 Oct 2005, Andreas Koenecke wrote:
While downloading a Knoppix-DVD-image with "KTorrent-1.1rc1" the program terminates suddenly at a filesize of 2 GB. [...]
It could also be a problem with the older (3.5) ReiserFS format that didn't allow files > 2 GB.
No, it's a "freshmade" reiserfs 3.6. Andreas -- XMMS spielt gerade nichts... PGP-ID/Fingerprint: BD7C2E59/3E 11 E5 29 0C A8 2F 49 40 6C 2D 5F 12 9D E1 E3 PGP-Key on request or on public keyservers --
participants (3)
-
Andreas Koenecke
-
Christian Boltz
-
Christoph Thiel