Maximum core file size in Linux

Amrith Kumar (akumar@netezza.com)
Thu, 27 Jun 2002 08:30:34 -0400


Appears that there's an implicit 2Gb limit on the size of core files because
it's being created without O_LARGEFILE.

A small change in fs/exec.c (do_coredump) gets me past the limit and I can
now generate a core file in excess of 2Gb but then gdb complains that the
core dump is too large ...

Looks like there's a broader underlying issue here that would involve
changes to other places than I had thought would be required.

Anyone else out there run into a similar problem ? And if so, could you let
me know what other things I may run into ... Also, is this something that
has been fixed in a forthcoming release ?

Thanks,

/a

--
Amrith Kumar
akumar@netezza.com
508-665-6835

#include <std_disclaimer.h> This e-mail message is for the sole use of the intended recipient(s) and may contain Netezza Corporation confidential and privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/