[comp.unix.microport] uport problems with large files?

felix@netmbx.UUCP (Felix Gaehtgens) (06/02/88)

I've had problems when trying to write a file larger than 1.2 Mb to /usr
with uport version 2.3. there was enough space, but he didn't seem to like
files bigger than 1228800 bytes. anybody else had this problems? any solu-
tions? or am i just making a stupid mistake?

so long,
	felix

{backbone}!pyramid!tub!tmpmbx!netmbx!felix
...unido!tub!tmpmbx!netmbx!felix

rsj@wa4mei.UUCP (06/03/88)

In article <1878@netmbx.UUCP> felix@netmbx.UUCP (Felix Gaehtgens) writes:
>I've had problems when trying to write a file larger than 1.2 Mb to /usr
>with uport version 2.3. there was enough space, but he didn't seem to like
>files bigger than 1228800 bytes. anybody else had this problems? any solu-
>tions? or am i just making a stupid mistake?

There are two ways to get around this problem. The temporary fix is to use
the command 'ulimit xxxx' and set the ulimit larger, but this only will work
for root. A permanent way is to use /etc/patch and change it in the kernal.
To do this you need to be logged on as root and execute the command:
	/etc/patch /system5 ulpatch 10000
You will then need to reboot the system.  The default ulimit is set somewhere
around 2500 blocks (1.2M). You can find info on doing this in the release notes
that came with your software.

-- 
Randy Jarrett  WA4MEI 
uucp  ...!{decvax,hplabs,ihnp4,linus,rutgers,seismo}!gatech!emcard!wa4mei!rsj  
(404) 493-9017

jmb@patton.SGI.COM (Jim Barton) (06/03/88)

In article <1878@netmbx.UUCP>, felix@netmbx.UUCP (Felix Gaehtgens) writes:
> I've had problems when trying to write a file larger than 1.2 Mb to /usr
> with uport version 2.3. there was enough space, but he didn't seem to like
> files bigger than 1228800 bytes. anybody else had this problems? any solu-
> tions? or am i just making a stupid mistake?
> 
> so long,
> 	felix
> 
> {backbone}!pyramid!tub!tmpmbx!netmbx!felix
> ...unido!tub!tmpmbx!netmbx!felix


You >are< making a silly mistake.  The ulimit value for file size
( see intro(2), ulimit(1) ) is limited on the Microport to 1.2Mb so you
can write a high-density floppy.  To change, become super-user and
raise it: ( $ ulimit 50000 ).  The number is in blocks (512 bytes each).
I believe this is documented somewhere in the "well organized" microport
documentation.

-- Jim Barton
Silicon Graphics Computing Systems    "UNIX: Live Free Or Die!"
jmb@sgi.sgi.com, sgi!jmb@decwrl.dec.com, ...{decwrl,sun}!sgi!jmb

  "I used to be disgusted, now I'm just amused."
			- Elvis Costello, 'Red Shoes'
--

hans@let.vu.nl (Hans Varkevisser) (06/05/88)

In article <1878@netmbx.UUCP>, felix@netmbx.UUCP (Felix Gaehtgens) writes:
> I've had problems when trying to write a file larger than 1.2 Mb to /usr
> with uport version 2.3. there was enough space, but he didn't seem to like
> files bigger than 1228800 bytes. anybody else had this problems? any solu-
> tions? or am i just making a stupid mistake?
> 
> so long,
> 	felix
> 
> {backbone}!pyramid!tub!tmpmbx!netmbx!felix
> ...unido!tub!tmpmbx!netmbx!felix

 I have had the same problem, but there is a very easy solution.
Just look in the manual by SH(1) there is a command ulimit, you can
set the file size with ulimit 10000 = 10000 x 512 or 5 Mb.
To use the bigger filesize you must use the SH shell and not the 
CSH shell.

Hans Varkevisser

-- 
Organisation:	Free University, Faculty of Literature
                Amsterdam, the Netherlands      
Name:		Hans Varkevisser (system administrator) 
                hans@let.vu.nl  or let.vu.nl!hans