Subject: start-up slowness

From: Junichi Saito <[email-masked]>
Date: Sat, 10 Apr 1999 14:52:40 +0200 (CET)

When invoked, while I am connected to the net, pine seems to be very slow
to be loaded. I have a vague impression that this may have something to do
with name look-up. Could some knowledgeable people tell me what exactly
can cause this slowness and how I can fix this, if ever possible ?

I usually experience this slowness, when I run pine in xterm. mails are
downloaded by fechmail. I don't read them on-line.

The version is 4.10, and the system, a linux with glibc 2.1.

 junichi

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Jessica Rasku <[email-masked]>
Date: Sat, 10 Apr 1999 19:38:23 -0700 (PDT)

> can cause this slowness and how I can fix this, if ever possible ?

	My feeling (and this may be confirmed by others), is that this is
related to pine being removed from your buffers, or possibly from there
being page swaping in the case of using X.  I suspect, that your problem
could be fixed by adding more RAM to your system.  At least, based on my
experience, I think that is what may help me with the slow loading of Pine
in some situations.  I COULD be way off base though.

							Jessica

-- 
Jessica Rasku, Box 270, Rossland, B.C., V0G 1Y0, (250) 362-5701, 
LinuxBox: (250) 362-9668.

List manager: [email-masked] 
     send command help ---- To get help with majordomo
               or lists ---- To get a list of all lists on server.

WWW: <http://www.geocities.com/RainForest/Andes/8749>

---

From: Junichi Saito <[email-masked]>
Date: Sun, 11 Apr 1999 12:20:32 +0200 (CET)

>in some situations.  I COULD be way off base though.

It wasn't exact when I wrote in my initial mail that I experienced the
problem mentioned usually under X. In fact, whether I invoke pine from
console or under X, there is a long delay (some ten's seconds) before it
comes up if I am connected.

As for the amount of ram, my machine has 64 megs. Although this isn't a
huge amount nowadays, may be sufficient, as I am the unique user.

junichi

---

From: Jessica Rasku <[email-masked]>
Date: Sun, 11 Apr 1999 14:36:50 -0700 (PDT)

> comes up if I am connected.

	Is this every time you enter Pine?  Or is this only the first
time.  Sounds like an attempt to make a connection, but you have indicated
that Pine should not be doing that.  For me it may be around 10 seconds or
so when I start up when it is slow.  But, if I startup, and then quit and
return, it is almost imidiate responce...

> huge amount nowadays, may be sufficient, as I am the unique user.

	Now, this probably isn't the problem but some mother boards are
not capable of handeling ``large'' amounts of memory.  But, ussualy Linux
complains bitterly if this is the case.  64 Meg for Linux should be
plently unless you are running big applications or have multiple users on
at a time (as in more than about 4 before you MAY start to see some sort
of performance hit).  

							Jessica

---

From: Terry Gray <[email-masked]>
Date: Sun, 11 Apr 1999 20:24:01 -0700 (Pacific Daylight Time)

Running "pine -d 9" and examining the resulting .pine-debug1 file should
yield some insight into what is taking so long.

-teg

---

From: Junichi Saito <[email-masked]>
Date: Mon, 12 Apr 1999 09:47:34 +0200 (CET)

>return, it is almost imidiate responce...

This happens each time I invoke pine, but only if I am connected.
Otherwise, it starts immediately.

I get mails using pop server, but IIRC pop support isn't implemented in
pine yet.

What I can tell is that there is a clear difference in behaviour whether I
am connected or not.

junichi

---

From: Junichi Saito <[email-masked]>
Date: Mon, 12 Apr 1999 10:28:18 +0200 (CET)

>yield some insight into what is taking so long.

I tried your suggestion and noticed this :

About to open folder "INBOX"    inbox: "INBOX"
busy_alarm(1, Opening "INBOX", (nil), 1)
q_status_message(Opening "INBOX"     )
output_message(Opening "INBOX"     )
STATUS cmd:120, max:1, min0
Done with IMAP critical on /var/mail/junichi  <---
=== mm_exists(1,/var/mail/junichi) called ===
Done with IMAP critical on /var/mail/junichi  <---

These two lines are missing from the debug output, when pine is invoked
while I am off-line. Is this a default behaviour and can it explain the
slowness I experience ?

junichi

---

From: Jan Kalin <[email-masked]>
Date: Mon, 12 Apr 1999 10:47:49 +0200

> What I can tell is that there is a clear difference in behaviour whether I

Maybe the problem is that Pine is trying to use rsh. Find the line
"rsh-open-timeout" in ".pinerc" and set the value to 0 (thereby disabling
the rsh mode).

Cheers, Jan

-- 
 Jan Kalin (male, preferred languages: Slovene, English)
 <A HREF="http://www.zag.si/~jank/"> contact information </A>

---

From: Junichi Saito <[email-masked]>
Date: Mon, 12 Apr 1999 11:45:56 +0200 (CET)

>"rsh-open-timeout" in ".pinerc" and set the value to 0 (thereby disabling

The value was left blank, but with it set to 0, there subsists a
noticeable delay when I am connected. Moreover the delay seems to have 
something to do with the number of mails available in my INBOX.

Again, if invoked off-line, pine starts instantaneously.

junichi

---

From: [email-masked]
Date: Mon, 12 Apr 1999 05:46:58 -0700 (PDT)

Try specifiying the imap port in your inbox path, ala
{mail.whereever.com:143}INBOX.

-- 

Richard Eisenman
Supervisor, Computing and Telecommunications
W.S.U. Tri-Cities, CIC 225E
Office (509) 372-7381
Fax (509) 372-7281
[email-masked]
http://www.tricity.wsu.edu/~richarde
http:///www2.tricity.wsu.edu/ctc

---

From: Scott Leibrand <[email-masked]>
Date: Mon, 12 Apr 1999 18:53:50 -0700 (PDT)

Didn't he say he used POP?

Typical WSU...  :)

-- 
Scott Leibrand
[email-masked]
* RCW 19.190 notice: This email address is located in Washington State. *
* Unsolicited commercial email may be billed $500 per message.          *