Skip site navigation (1) Skip section navigation (2)

Re: PostgreSQL, NetBSD and NFS

From: Bill Studenmund <wrstuden(at)netbsd(dot)org>
To: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org>,<current-users(at)netbsd(dot)org>
Subject: Re: PostgreSQL, NetBSD and NFS
Date: 2003-01-31 17:14:39
Message-ID: Pine.NEB.4.33.0301310911240.4728-100000@vespasia.home-net.icnt.net (view raw or flat)
Thread:
Lists: pgsql-hackers
On Fri, 31 Jan 2003, D'Arcy J.M. Cain wrote:

> On Thursday 30 January 2003 12:07, Tom Lane wrote:
> > Perhaps the next thing to do is to strace (ktrace, trace, truss,
> > whatever system-call tracing utility you got) the postmaster and
> > child processes.  If we could determine what system call is hanging up,
> > we might be a little closer to solving the mystery.
>
> Ktrace.  Yes, am doing another test at the moment - using 100Mb to 100Mb and
> TCP option to the mount.  Before I was using the default UDP and going 100Mb
> to 1000 Mb.  If this works I will try my "guaranteed" fail next and will add
> ktrace.  In fact, I will do that regardless.

Look at the -t option to ktrace. It controls what ktrace looks at
(syscalls, NAMEI lookups, etc.). Most importantly, you might want to NOT
include the 'i' option in there, which is in there by default. It logs the
data of all i/o transfers, which baloons the logs. While you may need the
data in the end, tracing w/o 'i' could show you the syscalls around the
failure which might be enough.

Take care,

Bill


In response to

pgsql-hackers by date

Next:From: mlwDate: 2003-01-31 18:13:59
Subject: Re: PostgreSQL, NetBSD and NFS
Previous:From: D'Arcy J.M. CainDate: 2003-01-31 16:54:27
Subject: Re: PostgreSQL, NetBSD and NFS

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group