System Administration
Showing results for 
Search instead for 
Do you mean 

Limitation on core file size

SOLVED
Go to Solution

Limitation on core file size

Hi,

We are running HP-UX B 11.23 on a rx7620 based systems. the core files generated on these boxes seem to truncate after a 2 Gig limit. Is there any kernel parameter or any setting which places this limit on the core files. The logical volumes on these machines can support Largefiles.

Thanks in advance for all your help.

Regards
Kaushik
6 REPLIES
Honored Contributor Honored Contributor

Re: Limitation on core file size

Hi Kaushik,

What is your # ulimit -a ?
You can use "ulimit -c to limit the size

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Highlighted
Honored Contributor Honored Contributor

Re: Limitation on core file size

check the setting of core limit as,

# ulimit -HSc

what it is saying? If you want to have unlimited then,

# ulimit -HSc unlimited.

--
Muthu
(Assign 0 points - Not willing to have points)
Easy to suggest when don't know about the problem!
Trusted Contributor Trusted Contributor

Re: Limitation on core file size

Hi,

Limit at 2Gb seems more to be a filesystem limitation. Is largefiles option activated on this filesystem:
# fsadm -F vxfs /filesystem_path

if reply includes "nolargefiles", that's the reason.
You can allow largefiles using:
# fsadm -F vxfs -o largefiles /filesystem_path

Re: Limitation on core file size

Hi,

Core files truncated at 2G limit

-rw------- 1 temip users 2147483646 Mar 31 09:27 core.6298
-rw------- 1 temip users 2147483646 Mar 27 16:51 core.7691


ulimit -HSc
4194303

Regards
Kaushik

Re: Limitation on core file size

Hi,

fsadm -F vxfs /usr/temip_homes
largefiles

Regards
Kaushik

Re: Limitation on core file size

Hi,

My understanding is the coredump (blocks) is set to 4194303 blocks, and block size being 512 bytes. This sets the limit to around 2G.
I have changed the ulimit to unlimited. Will try again.

Thanks for all your help.

Regards
Kaushik