From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/7544 Path: main.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.gnus.general Subject: Cannot open server errors Date: Sat, 10 Aug 1996 15:31:39 -0400 (EDT) Message-ID: <199608101931.PAA01738@justine.elastica.com> Reply-To: robert@elastica.com NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035147842 7569 80.91.224.250 (20 Oct 2002 21:04:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:04:02 +0000 (UTC) Cc: solaris-x86@mlist.eis.com Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id MAA04164 for ; Sat, 10 Aug 1996 12:47:43 -0700 Original-Received: from DGS.dgsys.com (root@dgs.dgsys.com [204.97.64.1]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Sat, 10 Aug 1996 21:33:58 +0200 Original-Received: from justine.elastica.com by DGS.dgsys.com (5.0/SMI-SVR4) id AA13679; Sat, 10 Aug 1996 15:30:54 -0400 Original-Received: (from robert@localhost) by justine.elastica.com (8.7.5/8.7.3) id PAA01738; Sat, 10 Aug 1996 15:31:39 -0400 (EDT) Original-To: ding@ifi.uio.no Xref: main.gmane.org gmane.emacs.gnus.general:7544 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:7544 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(); }