[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why has my gnus becomes so slow?
From: |
Andy Stewart |
Subject: |
Re: Why has my gnus becomes so slow? |
Date: |
Tue, 09 Sep 2008 11:04:51 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>>>>> "Victor" == Victor S Miller <victor@algebraic.org> writes:
Hi, Victor.
------------------------------> leafnode instro start
<------------------------------
Leafnode is a news server suitable for small, limited-bandwidth sites
with only a few users ('leaf' sites). It keeps track of which groups are being
read, and downloads only articles in those groups. Leafnode has been
designed to require no maintenance and to be easy to set up.
------------------------------> leafnode instro end
<------------------------------
Because gnus get news is implement as elisp, and gnus is same process
with emacs.
So if gnus get many news self, will make it freeze too long.
leafnode can get news from server in background, so gnus just to read
localhost from leafnode and don't spend much time on get news.
My gnus always very fast when i use leafnode to get news.
You can get it from
http://leafnode.sourceforge.net
If you use Debian, it's very simply, just:
1. -> sudo aptitude install leafnode
2. -> After leafnode, it will ask:
"Which news server should Leafnode download news from?"
And type your like news server, like me: news.cn99.com
3. -> Then ask:
" What type of network connection do you have?"
And select your network connection, like me: permanent
And it's all.
Last,
(setq gnus-select-method '(nntp "localhost"))
And guns will have wonderful speed.
Have fun! :)
Regards.
Andy.
>>>>> "Andy" == Andy Stewart <lazycat.manatee@gmail.com> writes:
>>>>> "Victor" == Victor S Miller <victor@algebraic.org> writes:
Andy> Hi. Because gnus have to get news from server. You can install
Andy> leafnode to get news from news server. So gnus is fast when it
Andy> just one news reader.
Victor> Andy, Thanks for the reply. What is "leafnode" and where do I get
it?
Victor> In the meantime I found that I had had gnus-agent set to 't, when I
Victor> set it back to nil I found that at least it didn't take much time to
Victor> get news from the new server. However, it still takes a really long
Victor> time for it to read all of my nnml directories. It never used to do
Victor> this, and I'm at a loss to see how I can change it back. I did make
Victor> sure that I set gnus-nov-is-evil to nil, and regenerated the
.overview
Victor> files. However, that didn't have any (noticeable) effect.
Victor> Victor
Andy> Note, after you install leafnode, you set your
Andy> gnus-select-method with "localhost", like below: (setq
Andy> gnus-select-method '(nntp "localhost"))
Victor> In the last week or so gnus has become absurdly slow to start
Victor> up (or get new news). Typically it now takes over 5 minutes
Victor> while gnus is reading the active file from the news server,
Victor> and it always displays messages "Reading directory" for each
Victor> of my nnml folders. I've checked that gnus-read-active-file
Victor> is set to its default value 'some, and that
Victor> gnus-check-new-newsgroups is set to its defualt value
Victor> 'ask-server. Also gnus-nov-is-evil is set to nil. I've tried
Victor> regenerating the nov databases (.overview) for the nnml
Victor> directories, but it doesn't seem to make a difference. Any
Victor> suggestions? I'm running gnus 5.10.6.
Victor> Victor