Too many processes cause problems?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Lucvdv (replace_name_at_null.net)
Date: 11/30/04


Date: Tue, 30 Nov 2004 17:25:05 +0100

Hi.

I've got a sort-of-a-VPN service running on Win2000 server, that deals with
a number of remote sites. For each of those sites a virtual network
adapter is created on which a tunnel to a remote machine is opened.

The main service process starts one child process (always the same exe) for
each connection.

This worked fine up to about 30-35 sites/tunnels.
After it was increased to 40, this error started occurring in the event log
occasionally, always related to one or another service that was starting or
spawning a child process.

   Application popup: svchost.exe - Application Error : The application
   failed to initialize properly (0xc0000142). Click on OK to terminate the
   application.

This wasn't the tunnel service: the error could occur for just about
anything, as long as it was either a service, or started by the task
scheduler.

Interactive applications never show the symptoms, they still work as
smoothly as before.

The application named in the event log message can be svchost, or any other
executable.

After further increasing the number of tunnels to 45 this error started
occurring at every boot, and the last few child processes of the tunnel
service aren't even being started anymore (only 42 or 43 tunnels are
opened).

It's not a memory problem: 1GB on board, about 250 MB in use.
The system is running on a 3.2 GHz

I increased the service start timeout (ServicesPipeTimeout at
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control) from the default of
30,000 to 60,000 milliseconds, but it doesn't make any difference.

Does anyone have an idea what I could try next?



Relevant Pages

  • Too many processes cause problems?
    ... I've got a sort-of-a-VPN service running on Win2000 server, ... a number of remote sites. ... spawning a child process. ... This wasn't the tunnel service: the error could occur for just about ...
    (microsoft.public.win2000.applications)
  • RE: Too many processes cause problems?
    ... > a number of remote sites. ... > adapter is created on which a tunnel to a remote machine is opened. ... > After it was increased to 40, this error started occurring in the event log ... > spawning a child process. ...
    (microsoft.public.win2000.general)
  • RE: Too many processes cause problems?
    ... > a number of remote sites. ... > adapter is created on which a tunnel to a remote machine is opened. ... > After it was increased to 40, this error started occurring in the event log ... > spawning a child process. ...
    (microsoft.public.win2000.applications)
  • Re: 2 RD connections
    ... I thought with a VPN tunnel the remote sites also have to have a static IP ... If you go the SSH route then I suggest using copSSH and Tunnelier. ... You can configure Tunnelier at each remote site to automatically launch a Remote Desktop session to one PC when the SSH tunnel is established. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: 2 RD connections
    ... I thought with a VPN tunnel the remote sites also ... For help setting up and using a VPN to that particular router I would post ... If you go the SSH route then I suggest using copSSH and Tunnelier. ... Desktop session to one PC when the SSH tunnel is established. ...
    (microsoft.public.windowsxp.work_remotely)