Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2011 22:01:01 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        "Dr. Baud" <drbaud@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: spontaneous reboot - ptrace
Message-ID:  <20110215200101.GE78089@deviant.kiev.zoral.com.ua>
In-Reply-To: <628608.40948.qm@web120708.mail.ne1.yahoo.com>
References:  <628608.40948.qm@web120708.mail.ne1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--xgtqT0tr7NoD/uy/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 15, 2011 at 09:46:05AM -0800, Dr. Baud wrote:
>     I've an interesting anomaly I'd appreciate some help with.
>=20
> As a result of looking at a threading problem I modified gcore=20
> to dump all memory segments associated with a process;
> basically comment out the "Ignore" conditional in readmap().
>     The result is that the box spontaneously reboots sometime
> Between 40 and 50 seconds into the dump; this is an application
> that is indeed a memory hog. I commented out the actual
> write to disk and the result is the same. I???ve even disabled the
> watchdog to no avail.
>=20
>     This is a vanilla 8.1 install:
>=20
> FreeBSD pollyanna 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49=
 UTC=20
> 2010
>      root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>=20
>     running on fairly vanilla hardware:
>=20
> CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3212.93-MHz K8-class CPU)
>   Origin =3D "GenuineIntel"  Id =3D 0xf49  Family =3D f  Model =3D 4  Ste=
pping =3D 9
>   Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,=
PGE,MCA,C
> MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Features2=3D0x641d<SSE3,DTES64,MON,DS_CPL,CNXT-ID,CX16,xTPR>
>   AMD Features=3D0x20000800<SYSCALL,LM>
>   AMD Features2=3D0x1<LAHF>
>   TSC: P-state invariant
>=20
> =20
>     Any thoughts on how to proceed?

First, do you have a console output during the run ? Is it possible
that machine paniced ? If not, were there any kernel messages before
reboot ?

Second, what is the process you are dumping ? Can you show at least
the procstat -v <pid> output for the process ?

--xgtqT0tr7NoD/uy/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk1a230ACgkQC3+MBN1Mb4gz2wCgqCUROYg5ZhMA8uB5Jut9iID6
pvYAoLEusSihA+4MWPgnZdmsEuBHFpRs
=0aRP
-----END PGP SIGNATURE-----

--xgtqT0tr7NoD/uy/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110215200101.GE78089>