Gnus development mailing list
 help / color / mirror / Atom feed
From: <robert@elastica.com>
Cc: solaris-x86@mlist.eis.com
Subject: Cannot open server errors
Date: Sat, 10 Aug 1996 15:31:39 -0400 (EDT)	[thread overview]
Message-ID: <199608101931.PAA01738@justine.elastica.com> (raw)

Hi, I'm a little confused by my connect problems with my news server.

Basically, for some reason it gives up after about 10 seconds. 

I don't quite understand why it does this because my /dev/tcp is set
to the default 5 minutes or at least something higher than the 10
seconds it takes for gnus to quit trying. This has probbaly very
little to do with GNUS but I figure the tcp stuff in Emacs should be
using the default rather than this very short timeout I'm noticing.

NOTE: My server doesn't help much either. I mean it usually takes a
few nntpsend's before it will send the stuff out.

It as if my Solaris installation has a hell of a time opening two
connections to the same host/port combination. I'm running so
unlimited server 2.5 so that shouldn't be a problem.

Here's some timings whilst slurp is running bringing in news.

robert:/export/home/robert>./news.pl                                      15:29
Connect took  8 secs ( 0.01 usr  0.01 sys =  0.02 cpu) seconds
Connect took  6 secs ( 0.01 usr  0.00 sys =  0.01 cpu) seconds
Connect took  9 secs ( 0.01 usr  0.00 sys =  0.01 cpu) seconds
Connect took  7 secs ( 0.00 usr  0.00 sys =  0.00 cpu) seconds
^C

#! /usr/local/bin/perl5.002 -w

use strict;
use News::NNTPClient;
use FileHandle;
use Benchmark;

my ($try, $news, $t0, $t1, $dt) = ();

for (1..10)
{
	$t0 = new Benchmark;
	$news = new News::NNTPClient("news") || 
		STDERR->print("Couldn't connect to news");
	$t1 = new Benchmark;
	$dt = timediff($t1, $t0);
	STDOUT->printf("Connect took %s seconds\n",timestr($dt));
	$news->quit();
}


             reply	other threads:[~1996-08-10 19:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-10 19:31 robert [this message]
1996-08-16  8:51 ` Klaus Schniedergers
1996-08-16  9:40   ` Kai Grossjohann
1996-08-16 14:06     ` Klaus Schniedergers
1996-08-17  6:59     ` robert
1996-08-16 18:17   ` Lars Magne Ingebrigtsen
1996-08-17  7:03     ` robert
1996-08-17 10:41       ` Lars Magne Ingebrigtsen
1996-08-17 16:29         ` robert

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=199608101931.PAA01738@justine.elastica.com \
    --to=robert@elastica.com \
    --cc=solaris-x86@mlist.eis.com \
    /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).