Article delegate-en/3940 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A3926@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: news proxy under windows
26 Mar 2008 21:45:30 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A3926@delegate-en.ML_> on 02/12/08(22:27:10)
you "damir" <pemhabdyi-xg5asea4belr.ml@ml.delegate.org> wrote:
 |Hm now I realy have troubles starting delegate under windows.
...
 |Everything looks normal , cashe and other subdirectories is created, service is also started , but it is not working.
 |I use Windows 2000 with latest updates (same under windows XP) , and nod32 antivirus (which I also try to disable - and still not working).
 |I was connected to internet trought Mikrotik router ... 
 |In the same time I was connect and read directly with outlook expres every mounted news server except freebin.readnews.com.
 |Cashe dir is empty (also not created subdirectories) ... errors.log is also empty only in file 119 i see some errors an here is copy paste:
...
 |02/11 20:14:44.38 [756] 0+0: --INITIALIZATION DONE-08021120+0100: 9.8.1 on WindowsNT--
 |(WIN) 14:48.093 [ 740] connectsocket(-1) bad port number
 |(WIN) 14:48.093 [ 740] CANNOT CONNECT TO PARENT
 |(WIN) 14:48.093 [ 756] spawn(D:\news\news.proxy.com\dg9_8_1.exe) = 652, no response from child, -1,1/-1
 |(WIN) 14:48.093 [ 756] ERROR closesocketX(2161,-1) = -1
 |02/11 20:14:48.09 [756] 1+0: #{TR}# ? cannot fork Onetime (2)
 |02/11 20:14:48.09 [756] 1+0: CANNOT FORK Onetime (2)
...
 |This is realy strange for me because before few months some older versio of delegate is working ... now I have fresh instalation with all windows updates and now is not working. 

It has been that DeleGate on Windows does not work with some kind of
anti-virus systems that do not support (or not allow at least by default)
duplicating (sending or inheriting) a socket handle between processes.

In DeleGate/9.8.2, I'm rewriting DeleGate to work in a single process
daemon mode while relaying multiple parallel sessions.  In this mode,
sockets are not copied between processes thus I expect the problem with
anti-virus systems will not occur.
By the default, the feature is enabled only on Windows CE, but you can
enable it with a option like "-d1+7".

In the single process mode, I know the current implementation of NNTP proxy
of DeleGate is not multi-thread safe, but at least it will work for
a single session (single user) at a time:)
Also the CRON parameter (to cause a process spawining) might cause in the
mode and should be fixed.

The executable files of 9.8.2 are available at:
ftp://ftp.delegate.org/pub/DeleGate/alpha/bin-latest9/

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V