Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#23 Flushing makes server time out

open
nobody
None
5
2004-02-07
2004-02-07
Anonymous
No

I use a combination of Usenetserver and Easynews. For
a.b.dvd, the cache uses about 700 MB of RAM. As I don't
have this much RAM on the download machine, a lot of it
goes to swap. Because of this, flushing takes very long
time. The problem is that when it has finally finished
flushing, the server has timed out:
prot_nntp.cc:766:caught exception prot_nntp.cc:85:
ProtocolExFatal: bad reply 503: 503 Program Error or Time
Out
fatal error, won't try un again

Nget doesn't try to reconnect, so the only way I can get
the headers is to run nget again until I get connected
before the server has expired more articles.

Discussion

  • TH
    TH
    2004-10-12

    Logged In: YES
    user_id=459770

    This patch pretty much fixes it:
    prot_nntp.cc
    84c84
    < if (reply==400) {
    ---
    > if (reply==400 || reply==503) {