Sponsored Content
Full Discussion: MAX file size limited to 2GB
Top Forums UNIX for Dummies Questions & Answers MAX file size limited to 2GB Post 302183742 by mhbd on Thursday 10th of April 2008 12:50:19 AM
Old 04-10-2008
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 find any error in application despite debug file is incomplete.

Is the debug file size limited to 2GB size due to any of the 3 kernel parameters value change? If not, how to find out the problem?

Any suggestion will help us greatly.

Thanks in advance
 

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. Shell Programming and Scripting

setting max log file size...

Hello all! I have found a new home, this place is great! I have been searching for days to find a way to set a max size for a log.txt file using a cron job exicuting a shell script. Is it possible for a script to remove older entries in a log file to maintain a limited file size? If so,... (5 Replies)
Discussion started by: v-rod
5 Replies

3. Programming

Max file size can't exceed 2 GB

We have Sun OS 5.9 we are doing a backup process (ProC program) that uses the function... fprintf(fp,"%s;%s;%s;%s;%s;%ld;%ld;%ld;%ld;%s;%s;%s;%d;%s;%s;%s;%ld;%s;%s;%s;%ld;%ld;%s;%ld;%s;%ld;%s;%s;%c%c",x_contrno, x_subno, x_b_subno,x_transdate,x_last_traffic_date,BillAmt_s, x_billamount_int,... (10 Replies)
Discussion started by: atiato
10 Replies

4. Solaris

SUN Solaris 9 - Is there a 2GB file size limit?

Hi I am using SUN/Solaris 9 and I was told that some unix versions have 2GB size limit. Does this applies to SUN/Solaris 9? Thanks. (2 Replies)
Discussion started by: GMMike
2 Replies

5. UNIX for Advanced & Expert Users

How to determine the max file size

Does anyone know a way to determine the maximum filesize on a file system on Solaris, HP-UX, AIX, Linux, and OSF1 using the command line? TIA (2 Replies)
Discussion started by: dknight
2 Replies

6. Solaris

max. size of file

I wants to ask that what is the max size of file that we can create in the unix file system. (2 Replies)
Discussion started by: sameerghogre
2 Replies

7. UNIX for Advanced & Expert Users

Max. file size

i want to know what is the maximum file size supported by linux with ext3 file system. (1 Reply)
Discussion started by: nagalenoj
1 Replies

8. UNIX for Dummies Questions & Answers

Restrict Max file size

Hello All, I am working on an issue, where I need to check the max file size of a file. If the file size exceeds 2 GB, then I need to generate an error message. Since the file system does not allow a file to be created larger than 2 GB, I am planning to use named pipes & AWK file to acheive my... (6 Replies)
Discussion started by: puru2121
6 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. Solaris

Clamd max file size Solaris 10

Hi, I've compiled a 64-bit version of ClamAV 0.98.7 on my Solaris 10 SPARC server. I have a selection of files all containing the eicar signature but clamd is only picking up the signature in the files <2GB. I have the following set in clamd.conf, to remove file size checking: MaxScanSize 0... (4 Replies)
Discussion started by: Troutfest
4 Replies
base_pagesize(5)						File Formats Manual						  base_pagesize(5)

NAME
base_pagesize - size (in kilobytes) of a base page VALUES
Default Allowed values DESCRIPTION
A base page is the smallest block of physical memory that can be allocated for storing data and code by the HP-UX kernel. Base pages are also the smallest unit of memory protection. The kernel maintains a number of tables, each of which has one entry for each base page. In large-memory systems, this can result in a significant amount of physical memory being consumed by these tables. When a larger base page size is selected, fewer entries are required, and therefore more physical memory becomes available for other uses. Who is Expected to Change This Tunable? The system administrator who wants to change the size of a base page. Restrictions on Changing Changes to this tunable require a reboot to take effect. When Should the Value of This Tunable Be Raised? To decrease the amount of memory consumed by kernel memory management tables. What Are the Side Effects of Raising the Value? Programs with small text and/or data segments will consume more memory that they would otherwise. This is because at least one base page is allocated for each of these segments. Memory fragmentation may also increase, which can lead to lower performance. The value returned by the and system calls will reflect the base_pagesize setting of the currently running kernel. Applications which make assumptions about the size of a base page, and do not call either or to obtain this value, may fail in unpredictable ways. See the white paper referenced below for more details. When Should the Value of This Tunable Be Lowered? To reverse a situation in which the larger base page size has lowered performance or introduced application misbehavior. What Are the Side Effects of Lowering the Value? Kernel memory consumption will increase, due to larger tables being required to manage physical memory. The larger tables may also result in lower performance in configurations which use large virtual pages aggressively. What Other Tunables Should Be Changed at the Same Time? Changes to and should be considered. CONFIGURATION RESTRICTIONS
The HFS filesystem does not support configurations where the HFS block size is smaller than the system base page size. Misconfigured HFS filesystems will cause the command to fail. There are two ways to avoid this problem: 1. Use only VxFS filesystems (the preferred solution). 2. Make your HFS filesystems with It is strongly recommended that systems configured with non-default settings of the tunable use only the VxFS filesytem to avoid problems with HFS. WARNINGS
Setting this tunable to other than the default can increase application and system performance. However, it can also cause some applica- tions to fail. It is important to understand the tradeoffs described in the white paper before changing this tunable. All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
vps_pagesize(5), vps_ceiling(5). There are more details in the white paper entitled located at Tunable Kernel Parameters base_pagesize(5)
All times are GMT -4. The time now is 07:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy