[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#200750: marked as done (pdksh ulimit file size problem, file can not be over 2GB)



Your message dated Wed, 27 Jun 2012 11:08:33 +0000 (UTC)
with message-id <Pine.BSM.4.64L.1206271108050.3110@herc.mirbsd.org>
and subject line pdksh ulimit file size problem, file can not be over 2GB
has caused the Debian Bug report #200750,
regarding pdksh ulimit file size problem, file can not be over 2GB
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
200750: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=200750
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: pdksh
Version: 5.2.14-8

The following perl script should create a file of 2147491840 bytes, but
it stops at 2147483647 (2^31-1).
As far as I remember this has something to do with changed ulimit
structure: 64 <-> 32 bit gives (int32)-1 == (int64)0x00000000ffffffff

$ ulimit -a
time(cpu-seconds)    unlimited
file(blocks)         unlimited
coredump(blocks)     0
data(kbytes)         unlimited
stack(kbytes)        8192
lockedmem(kbytes)    unlimited
memory(kbytes)       unlimited
nofiles(descriptors) 1024
processes            256
flocks               unlimited

$ perl -e 'open(FH,">x");$x="X"x1023 . "\n";for($n=0;$n<2097160;$n++){
print FH $x;} close(FH);'

$ wc x
2097151 2097152 2147483647 x


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


--- End Message ---
--- Begin Message ---
Hi,

closing with the pdksh → mksh migration, just tested this
on amd64, and it works.

bye,
//mirabilos
-- 
13:37⎜«Natureshadow» Deep inside, I hate mirabilos. I mean, he's a good
guy. But he's always right! In every fsckin' situation, he's right. Even
with his deeply perverted taste in software and borked ambition towards
broken OSes - in the end, he's damn right about it :(! […] works in mksh


--- End Message ---

Reply to: