Gnus development mailing list
 help / color / mirror / Atom feed
* Cannot open server errors
@ 1996-08-10 19:31 robert
  1996-08-16  8:51 ` Klaus Schniedergers
  0 siblings, 1 reply; 9+ messages in thread
From: robert @ 1996-08-10 19:31 UTC (permalink / raw)
  Cc: solaris-x86

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();
}


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1996-08-17 16:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-10 19:31 Cannot open server errors robert
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

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).