HELP! UNIX maximum file size exceeded. . (303)

Nikolai

New Member
OS: AIX Version 5.3
Progress: 9.1D

All filesystem are jfs2

I use root user to run transaction Archive/Delete
Whilt the outfile file is 2G and the delete still is not completed.
it pops up an error

*** 4GL Call Stack ***
Last action: EXPORT (91)
8607: us/ic/ictrup.r (/usr/apps/qadeB2/us/ic/ictrup.r)
2089: us/gp/gpwinrun.p (/usr/apps/qadeB2/us/gp/gpwinrun.r)
5184: us/mfmenu.p (/usr/apps/qadeB2/us/mfmenu.r)
11504: us/mf1a.p (/usr/apps/qadeB2/us/mf1a.r)
1684: mf1.p (/usr/apps/qadeB2/mf1.r)
122: mf.p (/usr/apps/qadeB2/mf.r)
^L
02/21/08 21:36:13 [368736]
Progress Recent Message(s):
(303)
** UNIX maximum file size exceeded. . (303)

Then I check my root user's limit in /etc/security/user.
file size for root is unlimit.

And I have enabled the largers file by running
proutil db-name -C EnableLargeFiles

But Why I can't output a >2G file?
Thank you!!
 

Casper

ProgressTalk.com Moderator
Staff member
from KB 21184 regarding Large file support:

The following files will be allowed to exceed 2GB in size when large
file processing is enabled:
After Image Extents (.an)
Before Image Extents (.bn)
Control Area Extent (.db)
Data Extents (.dn)
Transaction Log File (.tn)


Please note the following:
- Other files, in particular those that are directly accessed by 4GL
client code (such as Data Dictionary .d files), still have a 2GB size
restriction.

So I guess it is expected behaviour. Split up the output file in your code in order to stay below the 2GB.

Casper
 

Nikolai

New Member
from KB 21184 regarding Large file support:



So I guess it is expected behaviour. Split up the output file in your code in order to stay below the 2GB.

Casper

Hello,
I run it in a windows, not using a command.
so.. is there any methor to fix the limit?
Thank you
 

TomBascom

Curmudgeon
No. You cannot output a file larger than 2GB.

You need to modify the Archive/Delete program. Or Archive less data at a time.

Is this code that you wrote or is it a vendor-supplied application? If it is a vendor app then someone may know of a work-around if you tell us what application it is.

Is the error coming from something running on UNIX or is it coming from a Windows session connected to a UNIX server?

You shouldn't be running as "root" either. That's just asking for trouble.
 

Nikolai

New Member
No. You cannot output a file larger than 2GB.

You need to modify the Archive/Delete program. Or Archive less data at a time.

Is this code that you wrote or is it a vendor-supplied application? If it is a vendor app then someone may know of a work-around if you tell us what application it is.

Is the error coming from something running on UNIX or is it coming from a Windows session connected to a UNIX server?

You shouldn't be running as "root" either. That's just asking for trouble.

It's an application on AIX, I just use root to do a test on lab machine.
and how to modify the Archive/Delete program?
or is there a command to run for delete archive?
I am running a application called "B-client" to delete the archive.
Thank you.
 

TomBascom

Curmudgeon
I'd have to see the archive/delete program to know for sure but, usually, you would arrange for it to either:

1) change the file names every so often -- such as every 1,000,000 records

or

2) detect the error and change the file name when the file gets too big (this is what the Progress dictionary dump process does).

#1 is simpler.

Of course that supposes that you have the source code and that you have a Progress programmer available.

Another option, as I said previously, would be to choose less data to archive. You would just do the archive in multiple passes.

"b-client" sounds like the name of an icon not the name of an application. Is this a purchased application or was it developed in-house? If it was purchased, who was it purchased from?
 

Nikolai

New Member
here is the scripts to run b-client:

$DLC/bin/_progres \
-db /db-name -ld db-name -trig triggers \
-db /hlpprod -ld qadhelp \
-db /admprod -ld qadadm -trig triggers \
-db /db-name2 -ld db-name2 -trig triggers \
-c 30 -d mdy -yy 1920 -Bt 350 -D 100 -mmax 3000 -nb 200 -s 63 -noshvarfix -p mf.p

Can I modify it to make it out put a file > 2GB?
 

Casper

ProgressTalk.com Moderator
Staff member
No,

Like said earlier you cannot output to a file larger then 2GB. The only way to do this is by changing the program.

Do you have access to the source code or any documentation regarding this program?

This looks like being mfg-pro and I can imagine there is maybe already some functionality within the program to split up the files if they grow to big. If so then it probably is documented somewhere....

Casper.
 

TomBascom

Curmudgeon
There is no magic startup parameter that will allow you to create larger files.

You're running MFG/Pro from QAD. That is a very well known application. You should contact their support team or post a question in the QAD forum asking how to split up your archive into smaller chunks.
 
Top