From: Andreas Moroder <andreas.moroder@sb-brixen.it>
To: linux-admin@vger.kernel.org
Subject: Re: System freezes after "could not getpeername"
Date: Mon, 30 Aug 2010 11:59:02 +0200 [thread overview]
Message-ID: <i5fvd7$66n$1@dough.gmane.org> (raw)
In-Reply-To: <Pine.LNX.4.64.1008300134290.25492@yossarian.aniota.com>
Am 30.08.2010 11:01, schrieb terry white:
> ... ciao:
>
> : on "8-30-2010" "Andreas Moroder" writ:
>
> : but there seems to be a correlation between the getpeername call in inted and
> : the freeze of the machine, so I prefer to avoid inetd in this case .
>
> i tend to think that solution cosmetic at best, and at worst, a
> misdirected effort. my reading of the 'inetd' manpage does not suggest
> it calls 'getpeername', but insteat hands off connections to implied
> servers. seems to me, 'getpeername' is more likely local to the
> answering server, that's just a quess though.
>
> "having" to bypass inetd, is expedient, but not an elegant solution.
>
> for my part, i'd start looking at bind ...
>
>
Hello Terry,
I am sure you are right that this is not the solution but I hope that
this way we have more time to find the true source of problems.
out of our logilfe:
inetd[1397]: could not getpeername
according to this on other OSes getpeername is used
http://fxr.googlebit.com/source/usr.sbin/inetd/inetd.c?v=OPENBSD-CURRENT
so I suppose that this is true for linux too that inetd uses getpeername.
Could you please explain me why you would start to look at bind ?
One strange thing we also see on the machine ist that
/proc/sys/fs/file-nr is constantly growing. May it be that getpeername
did stop to work because it needed a filehandle and did not get it ?
Thanks
Andreas
next prev parent reply other threads:[~2010-08-30 9:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-27 17:59 System freezes after "could not getpeername" Andreas Moroder
2010-08-27 22:21 ` Herta Van den Eynde
2010-08-27 22:26 ` Harsha Chenji
2010-08-28 7:18 ` Andreas Moroder
2010-08-28 0:27 ` Gerardo Juarez-Mondragon
2010-08-28 7:20 ` Andreas Moroder
2010-08-28 11:51 ` terry white
2010-08-30 6:09 ` Andreas Moroder
2010-08-30 9:01 ` terry white
2010-08-30 9:59 ` Andreas Moroder [this message]
2010-08-30 16:15 ` terry white
2010-08-30 16:34 ` Glynn Clements
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='i5fvd7$66n$1@dough.gmane.org' \
--to=andreas.moroder@sb-brixen.it \
--cc=linux-admin@vger.kernel.org \
/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).