9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Dan Cross <cross@math.psu.edu>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Weird timeout thing in smtpd?
Date: Mon, 15 Nov 2004 23:44:22 -0500	[thread overview]
Message-ID: <200411160444.iAG4iMJ05266@augusta.math.psu.edu> (raw)
In-Reply-To: Your message of "Mon, 15 Nov 2004 21:35:59 EST." <200411160235.iAG2ZxJ04878@augusta.math.psu.edu>

Dan Cross <cross@math.psu.edu> writes:
> 
> Russ Cox <russcox@gmail.com> writes:
> > is your client connecting from a trusted ip address?
> > if not, it's subject to /mail/lib/validatesender, which
> > may be taking too long for your client.
> 
> Maybe that's it.  I'm connected from whatever IP address my DSL
> provider gives me, which is certainly not trusted in any way that I
> know about.  However, I'm authenticating to the server, which I thought
> would turn off such things.

Hmm, a little more digging shows that it's hanging on reading the
output of /bin/upas/send in data() in smtpd.c.  I worked around that by
only reading send's stderr output if status is non-zero.  Moving
beyond that, it seems to hang forever in proc_wait(), which is sort
of strange.  That would be, I think, waiting for send's exit status.
This is a bit complex for me as I'm debugging this over SSH using
ed, so the more productivly enhancing tools are unavailable at the
moment.

	- Dan C.



  reply	other threads:[~2004-11-16  4:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16  2:07 Dan Cross
2004-11-16  2:15 ` Russ Cox
2004-11-16  2:35   ` Dan Cross
2004-11-16  4:44     ` Dan Cross [this message]
2004-11-16  5:56       ` Dan Cross
2004-11-16 12:31         ` Russ Cox
2004-11-16 21:09           ` Dan Cross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200411160444.iAG4iMJ05266@augusta.math.psu.edu \
    --to=cross@math.psu.edu \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).