OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Big stack HUGE coredump

From: Alexander Nasonov (alnsnyandex.ru)
Date: Sat Feb 23 2008 - 17:47:29 CST


Stefan Kell wrote:
> just curious: what problem do you want to correct? 8GB coredump is surely
> a big file but so is ulimit -s 32768. This ulimit means 32768 x 1024 bytes
> for stack as you probably know and this is the exact amount which is shown
> in the coredump (33.554.432 = 32768x1024).
8G is can hold 246 coredumps of the crashed program.

Problem 1
> >Wait 7-8 minutes ....

During this time my system responds like it were using /usr
mounted to NSF server on the moon.

Problem 2
> >So, first 991232 bytes at 0xcdbfe000 had been written to the core file
> >496 times, 65536 bytes at 0xcdbfe000+991232 - 495 times and so on.
It's a huge repetition of data, isn't it?

--
Alexander Nasonov