No. of running processes/executables

einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
edited 2013-06-05 in NAV Three Tier
Hi guys,

we started to use NAV Middle Tier Server and Web Services. Now I noticed something confusing and wonder if there's an explanation about it. We've got a test and a live environment, both installed on the same server and both work. When I take a look into the running processes/executables of that machine then I see three times the process "Microsoft.Dynamics.Nav.Server.exe". Why is that?
I'm not sure how it should work, but I would expect that it runs either four times (2x Middle Tier Server and 2x Web Service Server) or two times (1x Middle Tier and Web Service Server of live environment and 1x Middle Tier and Web Service Server of test environment).
"Money is likewise the greatest chance and the greatest scourge of mankind."

Answers

  • thegunzothegunzo Member Posts: 274
    Each NAV Middle Tier Service only startes once process. If you have two services you whould only have two processes. Check your local services to make sure.
    ________________________________
    Gunnar Gestsson
    Microsoft Certified IT Professional
    Dynamics NAV MVP
    http://www.dynamics.is
    http://Objects4NAV.com
  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    Does that mean one Middle Tier Service and one Web Service Service should lead only to one process? What should I check? I already checked there are four Services installed (Middle Tier Live, Web Service Live, Middle Tier Test and Web Service Test), but I see only/even three processes running.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    It's the Test Web Service that leads to another process. When I just start Live NST and Web Service there's only one process. When I start Test NST there's another one. And when I start the Test Web Service a third process comes up. Why is that?
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • Johannes_NielsenJohannes_Nielsen Member Posts: 206
    If you start two services, the Live Service tier and Live WebService, and only one starts, then one did'nt start, did it? :)

    Maybe it just dies instantly, and the error message sits in the event viewer?
    Best regards / Venlig hilsen
    Johannes Sebastian
    MB7-840,MB7-841
  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    If you start two services, the Live Service tier and Live WebService, and only one starts, then one did'nt start, did it? :)
    Yeah, that's what I also thought first. But the solutions works fine, also in the test system. That's what it makes so confusing.

    Usually one would say, if it works as it should then leave it as it is. But we've got some other very strange issues and I wonder if that possibly could be the reason for it. I mean, is there no one who could confirm if a Service Tier and a Web Service linked to the same database should end up in one process or in two?

    Maybe it just dies instantly, and the error message sits in the event viewer?
    No, there's no negative message in the event viewer. Only the ones for starting the service are shown.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • Johannes_NielsenJohannes_Nielsen Member Posts: 206
    In our setup it seems every service tier and every webservice has it's individual processes.

    (Not trying to be cheeky, but "Show processes from all users" is checked in your Process manager right?)
    Best regards / Venlig hilsen
    Johannes Sebastian
    MB7-840,MB7-841
  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    In our setup it seems every service tier and every webservice has it's individual processes.
    Ok, then I would expect the live system shouldn't work properly. But that's not the case.
    (Not trying to be cheeky, but "Show processes from all users" is checked in your Process manager right?)
    Haha... of course! :lol: It's not that easy.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • mihail_kolevmihail_kolev Member Posts: 379
    if you have created the test services with this cmd for example
    SC CREATE "MicrosoftDynamicsNAV$Svr2" binpath= "C:\Program Files (x86)\Microsoft Dynamics NAV\60\Service_WS\Microsoft.Dynamics.Nav.Server.exe" DisplayName= "MicrosoftDynamicsNAVServer_2"
    
    SC CREATE "MicrosoftDynamicsNAVWS$Svr2" binpath= "C:\Program Files (x86)\Microsoft Dynamics NAV\60\Service_WS\Microsoft.Dynamics.Nav.Server.exe $Svr2" DisplayName= "MicrosoftDynamicsNAVServer_2_WS" type= share
    

    this will create 2 more sevices. When you start them, they appear as different processes but as you can see the MicrosoftDynamicsNAVServer_2_WS is shared service. So nothing to worry about
    -Mihail- [MCTS]
  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    I didn't install the services but now I understand where this might be coming from. I'll check that. Thanks.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
Sign In or Register to comment.