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

[DeleGate-En] single process DeleGate (Re: news proxy under windows)
26 Mar 2008 21:57:10 GMT (Yutaka Sato)
The DeleGate Project


In message <_A3940@delegate-en.ML_> on 03/27/08(06:45:25) I wrote:
 | |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\\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.

I'm reminded that DeleGate has another "single process mode" for debugging
since its ancient versions.  The option for it is "-1" which makes DeleGate
run as a single process server in foreground putting logs to the console.
Although it does not fit to practical use, it will be helpful to see if the
problem with anti-virus systems can be escaped with a single process mode
or not.

  9 9   Yutaka 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]