NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: server reboots after upgrade to postgres13



(Repointed to netbsd-users as this is about a problem in NetBSD release
versions, and not clearly about anything in particular.)

You are as far as I know the first to report this.

Looking at your crash:

Derrick Lobo <derrick.lobo%givex.com@localhost> writes:

> crash -M netbsd.0.core
> Crash version 7.1.2, image version 7.1.2.
> System panicked: pmap_get_physpage: out of memory
> Backtrace from time of crash is available.
> crash> bt
> _KERNEL_OPT_NARCNET() at 0
> _KERNEL_OPT_ACPI_SCANPCI() at _KERNEL_OPT_ACPI_SCANPCI+0xf
> vpanic() at vpanic+0x145
> snprintf() at snprintf
> pmap_growkernel() at pmap_growkernel+0x32c
> uvm_map_prepare() at uvm_map_prepare+0x1d1
> uvm_map() at uvm_map+0x74
> uvm_km_alloc() at uvm_km_alloc+0x73
> pool_grow() at pool_grow+0x2f
> pool_catchup() at pool_catchup+0x17
> pool_get() at pool_get+0x217
> allocbuf() at allocbuf+0xea
> getblk() at getblk+0xfc
> bio_doread.isra.4() at bio_doread.isra.4+0x19
> bread() at bread+0x1a
> ffs_loadvnode() at ffs_loadvnode+0xc7
> vcache_get() at vcache_get+0x2fa
> ufs_lookup() at ufs_lookup+0x8fc
> VOP_LOOKUP() at VOP_LOOKUP+0x34
> lookup_once() at lookup_once+0x18b
> namei_tryemulroot() at namei_tryemulroot+0x58a
> namei() at namei+0x43
> fd_nameiat.isra.0() at fd_nameiat.isra.0+0x54
> do_sys_statat() at do_sys_statat+0x72
> sys___lstat50() at sys___lstat50+0x25
> syscall() at syscall+0x9a
> --- syscall (number 441) ---
> 7f7ff70a6f5a:

it looks like a normal stat syscatl, but also like there is some
invocation of the emulation layer.

So can you describe the setup more precisely?  You are running amd64
presumably, but how are the packages built?  Are they all native NetBSD
amd64?

What is your postgresql workload like?  Are you able to do anything to
provoke the crash?

Is this system doing anything else heavy?

Do you have enough RAM that there is no swapping?

Have you run a memory test? (I know this happens on multiple, and it
started recently, but I never like to assuem one bug.)

How many CPUs do you have?  What if you boot with only a single cpu?

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index