If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > File size too large

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-01-04, 15:13
pinecone pinecone is offline
Registered User
 
Join Date: Apr 2004
Posts: 58
Exclamation File size too large

We have a program which extracts records from two large tables (50 million rows each). The program fails after the file size reached 2.1 GB. From the log, it says 'file size too large'. Our fsize in /etc/security/limits is default to
-1 (unlimited).

Any ideas or suggestions would be greatly appreciated.
Thank you!
Reply With Quote
  #2 (permalink)  
Old 12-01-04, 16:26
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
Create multiple files.

Hi.

We faced an issue like that only when we were working with db2 data propogator where the system would hang when the spill file went to 2.1GB.

If it is possible u can create multiple files of smaller sizes that would resolve your issue temporarily.

Try giving it a shot..
__________________
HTH

Nitin

Ask the experienced rather than the learned
Reply With Quote
  #3 (permalink)  
Old 12-01-04, 17:35
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
check your user limits if your using AIX, if the file size is set, make it unlimited.
__________________
David Quigley
Reply With Quote
  #4 (permalink)  
Old 12-01-04, 17:51
pinecone pinecone is offline
Registered User
 
Join Date: Apr 2004
Posts: 58
The file(blocks) is already set to unlimited.
We are on AIX. Isn't the file size limit 64G?
If so, why program stops when it reaches 2.1G?
Please advise. Thanks.
Reply With Quote
  #5 (permalink)  
Old 12-01-04, 18:01
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
as the id thats running db2 type ulimit -a and see what its set too, also if its JFS, its is 64 gig, jfs2, its over 2T.
__________________
David Quigley
Reply With Quote
  #6 (permalink)  
Old 12-01-04, 18:01
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
as the id thats running db2 type ulimit -a and see what its set too, also if its JFS, its is 64 gig, jfs2, its over 2T.

Also make sure the file is if LARGE FILE ENABLED, if not that will cause a problem too
__________________
David Quigley
Reply With Quote
  #7 (permalink)  
Old 12-02-04, 14:27
pinecone pinecone is offline
Registered User
 
Join Date: Apr 2004
Posts: 58
We have large file enabled. 'ulimit' setting for user running the program is unlimited. However, still get 'file size too large'. Please advise. Thank you.
Reply With Quote
  #8 (permalink)  
Old 12-03-04, 07:21
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
did you recycle db2 after you changed the ulimits??
__________________
David Quigley
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On