too many attemps in 4 sec

telex
Posts: 167
Joined: Wed Apr 02, 2003 4:08 pm
Location: eastgermany

too many attemps in 4 sec

Post by telex »

Whats means that error message?

I'm newsfeeds user and have (outside this errormessage) a kind of download break-in (without any mishaps) of circa 10-20 sek.
alex
Posts: 4549
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

it means you exceeded the allowed number of connections.

with download breaks i have no idea, for downloading bodies should be none, maybe it does download&save at the same time and it is correlated with saving attachments, hard drive activity? (I have no data on that, just came into mind, if it is so maybe to try to increase the size of the system file cache).

also both could be caused by a firewall or router (non-closing connections and communication problems), but you wrote in email that it is the same without the firewall (you should uninstall it completely, not just disable it to check this).
Guest

Post by Guest »

you wrote:
it means you exceeded the allowed number of connections.
-->how can it be , I have set the max. number on 3 for every newsfeed server?

you wrote:
maybe it does download&save at the same time and it is correlated with saving attachments
--->I have set autosave at 10 sec. Could that be the reason?
telex
Posts: 167
Joined: Wed Apr 02, 2003 4:08 pm
Location: eastgermany

Post by telex »

another thing:
I have set the priority of server xx,yy and cc on 20 and all newsfeeds server on 50 but newspro always try on startup(saved task) to check first server xx,yy,cc but thats lower priority.

and:
I have the feeling that " to many attemps error" is my downloadlimit ? Can it be?
alex
Posts: 4549
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

download&save - check tasks menu->autosave->block autosave but queue for it, if it will help this is the reason.

exceeding connections: as an application all what newspro can do is to close socket - it is guarantied. the closesocket function is asynchronous so it is up to the system to complete it, usually it all works, you may try set a connect delay, but if you have the persistent problem on many servers (if this is only a few newsfeeds servers maybe they just switched servers so two names go to one physical server - but didn't update the number of connections, check with their support).

download limit should be another explicit error message (set exceeding download limit in properties general - 'suspend server for...' to non-zero value, but as far as I know it is not related).
Guest

Post by Guest »

but, Alex both message are coming at the same time: attempt+downloadlimit for the same server!

I can not find "block autosave but queue for it"...
alex
Posts: 4549
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

the option is in the menu on the top, click the tasks menu, you'll see 'autosave >', click it and you see 'block autosave...', click it to check.
telex
Posts: 167
Joined: Wed Apr 02, 2003 4:08 pm
Location: eastgermany

Post by telex »

found the option, thank you. Does it mean now I have to save the bodys manually?

Now after my downloadlimit is reset (new day) I don't get the error: too many attemps!

Why does newspro try after start to download first from teranews server but teranews server has lower priority than the newsfeeds??
alex
Posts: 4549
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

i meant you check the option temporarliy to find out whether this is the cause so if it is you could think what to do (e.g. to increase the size of the system file cache), just you asked the question.

ensure newsfeeds priority is strict, also when download limit on higher priority servers is reached and properites->general, ignore priorities of maxed servers is checked it will use lower-priority servers anyway.
telex
Posts: 167
Joined: Wed Apr 02, 2003 4:08 pm
Location: eastgermany

Post by telex »

I understand "strict". But if newsfeeds servers have a higher priority I think then it should in any case try first the newsfeeds server no matter strict is set or not .

I see it in the window at the bottom that the teranews server are adressed first.
alex
Posts: 4549
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

newspro just follows an invariable algorithm.

it also knows destinations so if an article is not on newsfeeds (e.g. you downloaded headers from teranews first but not from newsfeeds or newest articles didn't make it to newsfeeds yet) it won't go to newsfeeds to retrieve it since it knows it is not there. if all server retries has been exhausted it also will go to lower-priority server (but you'll see all mishaps in console).

you can click F2 on the header to learn about its destinations.

it is all old and very well checked code, i think above i exhausted all possibilites so if you consider them all you'll find out why it goes to teranews.
Guest

Post by Guest »

Now with blocked autosave I have a constant good downloadrate. So what can I doo? changing cache?
Where?
Guest

Post by Guest »

does newspro know where it has download the header or is newspro searching the body new in the moment of downloading body?

Sorry for so much questions, perhaps I want to make it to perfect?
alex
Posts: 4549
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

it knows exactly where every article is located, if you download new headers article task destinations are updated every minute. you can use message-id direct to force newspro to consider a server otherwise.

before checking the file cache.

i've prepared a version where you can set size of socket buffers.

the issue here saving attachments consumes all possible disk activity (concurrent with download tasks), the file cache is getting full and then the system suspends write disk functions including network tasks, in this case the size of file cache should be as large as the size of attachments saved at the moment plus the size of downloaded files minus disk throughout. but maybe the picture is somewhat different and connected to the system performance characteristics and giving a bit more time will save the bandwidth (won't go into details, too many words already).

in short download this version, go to properties tasks, to the right there are 'set socket buffer' area, check both check boxes, in edit boxes enter 64000 for both buffers and press ok.

then check whether it helped. if it did - check also 16000 and 32000, in short i'm interested in the minimal value that resolves the problem (the system default is 8192 for both buffers). i don't have the issue here so i cannot check it directly, so let me know the results, just interesting.

here is the file:

http://www.netwu.com/newspro/npr3652reg.zip

i'm working on very different aspects now, but ok, not too much time, let us check it.
Guest

Post by Guest »

all 3 values are giving me a constant stream! (The short time I have tested )
Autosave was set 10 sec. again.
Will test in the next days a longer period...
Post Reply