Re: Limitation on core file size (314 Views)
Reply
Advisor
kaushikbramesh
Posts: 31
Registered: ‎10-20-2005
Message 1 of 7 (314 Views)
Accepted 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
Honored Contributor
Arunvijai_4
Posts: 4,194
Registered: ‎04-07-2005
Message 2 of 7 (314 Views)

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"
Honored Contributor
Muthukumar_5
Posts: 4,030
Registered: ‎06-09-2004
Message 3 of 7 (314 Views)

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
Antonio Cardoso_1
Posts: 244
Registered: ‎10-21-2002
Message 4 of 7 (314 Views)

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
Advisor
kaushikbramesh
Posts: 31
Registered: ‎10-20-2005
Message 5 of 7 (314 Views)

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
Advisor
kaushikbramesh
Posts: 31
Registered: ‎10-20-2005
Message 6 of 7 (314 Views)

Re: Limitation on core file size

Hi,

fsadm -F vxfs /usr/temip_homes
largefiles

Regards
Kaushik
Advisor
kaushikbramesh
Posts: 31
Registered: ‎10-20-2005
Message 7 of 7 (314 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.