Re: Problem in running .Net Service on a Quad Processor
- From: sunil@xxxxxxxxxxxxxxx
- Date: 10 Jan 2007 05:42:58 -0800
Thanks Willy,
But what baffles me is that on my machine it does not give this timeout
This is my system configuration:
OS Name Microsoft Windows XP Professional
Version 5.1.2600 Service Pack 2 Build 2600
OS Manufacturer Microsoft Corporation
System Name USER_XP
System Manufacturer Dell Inc.
System Model OptiPlex GX620
System Type X86-based PC
Processor x86 Family 15 Model 6 Stepping 4 GenuineIntel ~3391 Mhz
Processor x86 Family 15 Model 6 Stepping 4 GenuineIntel ~3391 Mhz
BIOS Version/Date Dell Inc. A07, 31/03/2006
SMBIOS Version 2.3
Windows Directory C:\WINDOWS
System Directory C:\WINDOWS\system32
Boot Device \Device\HarddiskVolume1
Locale United States
Hardware Abstraction Layer Version = "5.1.2600.2180
(xpsp_sp2_rtm.040803-2158)"
Total Physical Memory 2,048.00 MB
Available Physical Memory 1.52 GB
Total Virtual Memory 2.00 GB
Available Virtual Memory 1.96 GB
Page File Space 3.85 GB
Page File C:\pagefile.sys
Is this something got to also do with OS? In fact shouldn't my service
be faster on a QuadProc machine?
Also when I compiled the service and debugmode it ran on the
QuadProcessor machine without any errors.
I need to answer these questions before I advice my peers any changes.
Please help.
Thanks a lot.
Many regards
Sunil
Willy Denoyette [MVP] wrote:
<sunil@xxxxxxxxxxxxxxx> wrote in message
news:1168338382.130590.151880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dear All,
I have created a .Net service in 2.0 and running it on a machine that
has a Quad Processor.
It is failing with the following error.
"Error 1053: The service did not respond to the start or control
request in a timely fashion"
This is what I saw in event Viewer.
Timeout (30000 milliseconds) waiting for the MyService Server service
to connect.
This is because your OnStart method did not return in a timely fashion, once the Onstart is
called the SCM waits for a maximum of 30 seconds for it to return, if OnStart doesn't return
within this 30 secs., then the SCM considers the service has failed to start, logs a message
and kill the service.
So, you have to investigate your OnStart and try to find out why it takes longer than 30
seconds to return.
Willy.
.
- Follow-Ups:
- Re: Problem in running .Net Service on a Quad Processor
- From: Willy Denoyette [MVP]
- Re: Problem in running .Net Service on a Quad Processor
- From: John J. Hughes II
- Re: Problem in running .Net Service on a Quad Processor
- References:
- Problem in running .Net Service on a Quad Processor
- From: sunil
- Re: Problem in running .Net Service on a Quad Processor
- From: Willy Denoyette [MVP]
- Problem in running .Net Service on a Quad Processor
- Prev by Date: Re: How to encode url string to eliminate spaces ?
- Next by Date: Datagridview Edit Cell keyup event
- Previous by thread: Re: Problem in running .Net Service on a Quad Processor
- Next by thread: Re: Problem in running .Net Service on a Quad Processor
- Index(es):
Relevant Pages
|
Loading