Thread View: news.software.nntp
1 messages
1 total messages
Started by Raqueeb Hassan
Sat, 12 Oct 2002 02:23
Newsx: reducing socket timeout!
Author: Raqueeb Hassan
Date: Sat, 12 Oct 2002 02:23
Date: Sat, 12 Oct 2002 02:23
81 lines
3134 bytes
3134 bytes
Hello There!
My newsx with INN is working as usual ... better than suck, sometime.
Now, I don't have consistent link (the adsl link is pretty unstable
here in bangladesh, crappy setup in isp) --- so, it hang sometime
saying socket error alarm for server timeout.
I basically run the newsx from my cron every hour. Now, when there is
a socket error for the disconnected link, i want my newsx should
back-off and exit. the default timeout is 600 sec, but it even takes
longer.
as the manual says ...
-t timeout, --timeout timeout
Specify timeout for TCP/IP and lockfile operations, in
seconds. The default value is 600 where my one is 200.
where else can i tweak, please?
# cat /etc/news/newsx.conf
--rnews
--inn
--locks /var/lock/news
--config
--verify
-t 200
-W 40
-u
-dddd
--inhosts /var/spool/news/in.hosts
#--batch /var/spool/news/articles
--spool /var/spool/news
#--incoming /var/spool/news/incoming
#--history /var/lib/news/history
#--active /var/lib/news/active
--forget-inactive
the status screen for your ananysis ....
sh-2.04$ newsx -ddddd --maxnew 100 news.newsserver.net
newsx: option --inhosts was "/var/spool/news/inhosts", respecified as
"/var/spool/news/in.hosts"
there is no /var/spool/news/in.hosts/news.newsserver.net.conf, just
ignore
state: begin
state: locking host access
created lock: /var/run/news/LOCK.newsx.news.newsserver.net
newsx 1.5pre Sat Oct 12 08:02:59 2002
server: news.newsserver.net, spool: news.newsserver.net
state: read sys
reading /etc/news/newsfeeds
found ME in /etc/news/newsfeeds
found entry for news.newsserver.net in /etc/news/newsfeeds
sys group *
sys group !junk*
sys group !control*
skipping entry for controlchan in /etc/news/newsfeeds
special newsx exclude detected
state: read active
reading /var/lib/news/active
state: locking outgoing spool
created lock: /var/run/news/LOCK.news.newsserver.net
state: open spool
state: rename spool
state: ctlinnd flush
state: read togo
outgoing spool is empty
state: connecting
connecting to 209.35.50.131 port 119
connecting to nntp server at news.newsserver.net
state: await greeting ......
........
thanks in advance.
raqueeb hassan
bangladesh
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads