Sponsored Content
Full Discussion: Creating > 2GB file
Operating Systems AIX Creating > 2GB file Post 302214055 by markper on Friday 11th of July 2008 07:36:46 PM
Old 07-11-2008
Creating > 2GB file

I am trying to execute a database dump to a file, but can't seem to get around the 2GB file size. I have tried setting the user limit to -1, but no luck.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

File size exceeding 2GB

I am working on HP-Unix. I have a 600 MB file in compressed form. During decompression, when file size reaches 2GB, decompression aborts. What should be done? (3 Replies)
Discussion started by: Nadeem Mistry
3 Replies

2. Programming

C++ Problem, managing >2Gb file

My C++ program returns 'Disk Full' Message when I tried to manage a file larger than 2Gb. the process is very simple: based on a TXT file, the process combine the information generating another temporary file (generating the error) to fillup a database. My FS, during the process, reaches 40%...... (4 Replies)
Discussion started by: ASOliveira
4 Replies

3. UNIX for Advanced & Expert Users

Problem creating files greater than 2GB

With the C code I am able to create files greater than 2GB if I use the 64 bit compile option -D_FILE_OFFSET_BITS=64. There I am using the function fprintf to write into the file. But when I use C++ and ofstream the file is getting truncated when the size grows beyond 2GB. Is there any special... (1 Reply)
Discussion started by: bobbyjohnz
1 Replies

4. Shell Programming and Scripting

efficiently split a 2GB text file into two

Can an expert kindly write an efficient Linux ksh script that will split a large 2 GB text file into two? Here is a couple of sample record from that text file: "field1","field2","field3",11,22,33,44 "TG","field2b","field3b",1,2,3,4 The above rows are delimited by commas. This script is to... (2 Replies)
Discussion started by: ihot
2 Replies

5. UNIX for Dummies Questions & Answers

MAX file size limited to 2GB

Hi All, We are running HP rp7400 box with hpux 11iv1. Recently, we changed 3 kernel parameters a) msgseg from 32560 to 32767 b) msgmnb from 65536 to 65535 c) msgssz from 128 to 256 Then we noticed that all application debug file size increase upto 2GB then it stops. So far we did not... (1 Reply)
Discussion started by: mhbd
1 Replies

6. Programming

Can't create file bigger than 2GB with my application

Hi, I've created a simple application that is supposed to fill up a file with messages up to the size I pass as parameter. The problem is that once the file reaches the 2GB size, it stops growing. The flow of the application, for what is worth, is as follows: while ( bytes written <... (7 Replies)
Discussion started by: emitrax
7 Replies

7. Linux

unzipping file > 2gb

I am not able to unzip file greater then 2gb, Any suggestions how to do that in linux? Regards, Manoj (5 Replies)
Discussion started by: manoj.solaris
5 Replies

8. UNIX for Advanced & Expert Users

How to create a file more than 2GB

Hi, I am executing a SQL query and the output is more than 2GB. Hence the process is failing. How can I have a file created more than 2GB ? Thanks, Risshanth (1 Reply)
Discussion started by: risshanth
1 Replies

9. HP-UX

2GB file size limit

Greetings, I'm attempting to dump a filesystem from a RHEL5 Linux server to a VXFS filesystem on an HP-UX server. The VXFS filesystem is large file enabled and I've confirmed that I can copy/scp a file >2GB to the filesystem. # fsadm -F vxfs /os_dumps largefiles # mkfs -F vxfs -m... (12 Replies)
Discussion started by: bkimura
12 Replies

10. UNIX for Dummies Questions & Answers

Delete the file which crossed 2GB

Hi , I wants to create the bash script for deleting the specified 2gb file and wants to take the backup before doing that. please help me how to do the same,I use RHEL5 server (22 Replies)
Discussion started by: Rahulne25
22 Replies
resource.h(3HEAD)						      Headers							 resource.h(3HEAD)

NAME
resource.h, resource - definitions for resource operations SYNOPSIS
#include <sys/resource.h> DESCRIPTION
The <sys/resource.h> header defines the symbolic constants listed below as possible values of the which argument of getpriority() and set- priority(). See getpriority(3C). PRIO_PROCESS identifies the who argument as a process ID PRIO_PGRP identifies the who argument as a process group ID PRIO_USER identifies the who argument as a user ID The following type is defined through typedef: rlim_t unsigned integer type used for limit values The following symbolic constants are defined: RLIM_INFINITY a value of rlim_t indicating no limit RLIM_SAVED_MAX a value of type rlim_t indicating an unrepresentable saved hard limit RLIM_SAVED_CUR a value of type rlim_t indicating an unrepresentable saved soft limit The symbolic constants listed below are defined as possible values of the who parameter of getrusage(). See getrusage(3C). RUSAGE_SELF returns information about the current process RUSAGE_CHILDREN returns information about children of the current process The <sys/resource.h> header defines the rlimit structure, which includes the following members: rlim_t rlim_cur /* the current (soft) limit */ rlim_t rlim_max /* the hard limit */ The <sys/resource.h> header defines the rusage structure, which includes the following members: struct timeval ru_utime /* user time used */ struct timeval ru_stime /* system time used */ The timeval structure is defined as described in <sys/time.h>. The symbolic constants listed below are defined as possible values for the resource argument of getrlimit() and setrlimit(). See getr- limit(2). RLIMIT_CORE limit on size of core dump file RLIMIT_CPU limit on CPU time per process RLIMIT_DATA limit on data segment size RLIMIT_FSIZE limit on file size RLIMIT_NOFILE limit on number of open files RLIMIT_STACK limit on stack size RLIMIT_AS limit on address space size The id_t type is defined through typedef as described in <sys/types.h>. See types.h(3HEAD). Inclusion of the <sys/resource.h> header can also make visible all symbols from <sys/time.h>. See time.h(3HEAD). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
getrlimit(2), getpriority(3C), time.h(3HEAD), types.h(3HEAD), attributes(5), standards(5) SunOS 5.11 10 Sep 2004 resource.h(3HEAD)
All times are GMT -4. The time now is 06:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy