Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

452 Error writing file & ulimit

Status
Not open for further replies.

gatetec

MIS
Mar 22, 2007
420
0
0
US
I have files to be ftp'ed:

-rw-r----- 1 root sys 1073741312 Sep 19 10:27 expref3.dmp
-rw-r----- 1 root sys 1073741312 Sep 19 10:29 expref4.dmp

but, I am getting this error:

ftp> put expref3.dmp
200 PORT command successful.
150 Opening data connection for expref3.dmp
452 Error writing file: A file cannot be larger than the value set by ulimit.

What is wrong with ulimit here?????

oracle@milt:/>
PDC # ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000


thx much
 
What's the ulimit of the user@server you're sending *to*?
 
ok....

root has:

time(seconds) unlimited
file(blocks) 2097151
data(kbytes) 131072
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000

How do I make the "unlimited" for file(blocks) and data(kbytes) ?
 
Chapter11 ,

it is:

time(seconds) unlimited
file(blocks) 2097151
data(kbytes) 131072
 
ulimit -f unlimited
ulimit -d unlimited


root:/ > ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000

This allows me change the limits.

But, I am still getting:

A file cannot be larger than the value set by ulimit.
 
The only reason I can think of is the single file is 1 GB (=0.9999995231628418 GB).
I am on 5.3.6. Any solutions for this?

thx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top