Announcement

Collapse
No announcement yet.

Why is Vray.exe running in the background when Maya is not even open

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why is Vray.exe running in the background when Maya is not even open

    I noticed my workstation was running a little sluggish and I did not know why. I opened up Process Hacker to see what was running and I have 3 vray.exe processing running, two of which are sucking up 25% of my CPU resources. Point is, Maya is not even open and there is nothing running. I have 3 installations of Maya (2015,2016,2016.5) all of which have Vray installed. I just installed the latest 3.4 version. I'm use to seeing the vraymayaspawner running in the background but was surprised to see vray.exe running when, to my knowledge, nothing is being rendered. Like I said, Maya is not even open. While these process are not taking much in memory resources they are visibly taking up compute resources. Is this normal? Did I install something incorrect?
    Maya, Modo, Houdini, Harmony
    2018 MBP, 32Gb, 2.9Ghz i9, Radeon Pro Vega 20 4Gb

  • #2
    its probably left from RT rendering session when you were in maya and failed to close...
    Dmitry Vinnik
    Silhouette Images Inc.
    ShowReel:
    https://www.youtube.com/watch?v=qxSJlvSwAhA
    https://www.linkedin.com/in/dmitry-v...-identity-name

    Comment


    • #3
      Well, I might be able to believe that. But..... I restarted my workstation and the processes were not there. I then started Maya (2016 in this case) and quit Maya never even loading a new file and the procesess show back up so I'd say no, it is not because an RT rendering session that failed to close.

      Click image for larger version

Name:	process.jpg
Views:	1
Size:	96.9 KB
ID:	862369
      Maya, Modo, Houdini, Harmony
      2018 MBP, 32Gb, 2.9Ghz i9, Radeon Pro Vega 20 4Gb

      Comment


      • #4
        Hi,

        Could you please attach a screenshot of the Task manager Command line column for the vray.exe process ?
        It should look like this:
        Click image for larger version

Name:	2016-06-13 17_08_35}.png
Views:	1
Size:	16.5 KB
ID:	862387
        Tashko Zashev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          Here is what it looks like:
          Click image for larger version

Name:	VrayServices.jpg
Views:	1
Size:	216.2 KB
ID:	862390

          All I have is Firefox and Chrome open and my CPU utilization is sitting right at 50%. I can't say I understand at all what is going on.

          For an experiment I shut down Chrome and Firefox. Utilization was the same. I then went to services and stopped VRayMayaSpawner2015, 2016, 2016.5. When I did this CPU utilization dropped from between 50% - 60% to around 20% and of that 20% the Task Manager app was taking 18% so that put's it back to about what I would expect. That the spawner's are running in the background does not surprise me but that together they would consume what appears to be about 10% each surprises me. I suppose I could just leave them off and then when I know I was going to go into a specific version of Maya, enable the service before I started Maya but I don't think I should have to do that.

          I might add that my Vray license server is running on the same machine. Now, I would not think that would/should be an issue but thought I should mention it.
          Last edited by rimcrazy; 13-06-2016, 01:58 PM.
          Maya, Modo, Houdini, Harmony
          2018 MBP, 32Gb, 2.9Ghz i9, Radeon Pro Vega 20 4Gb

          Comment


          • #6
            Thanks for the screenshot. Actually you running three V-Ray spawners at same port - 20207 (the default one) and most probably this is the reason for the unusual CPU usage.
            What you can do if you still want to keep different V-Ray spawner versions as service is to change the port number. For an example Maya 2015 to port 20205/ Maya 2016 to port 20206 /
            Another option would be to manually start the spawner you need.

            Are you using same V-Ray version on Maya 2015/2016/2016.5? If yes then you can just leave only one (2016.5) V-Ray spawner.
            Tashko Zashev | chaos.com
            Chaos Support Representative | contact us

            Comment


            • #7
              So I did do this to myself! I just assumed that I needed to enable the spawner regardless if I was using the same version on all 3 versions of Maya. My mistake. I know how to fix this in windows. I have done the same thing, however, to my MacBook Pro so I can only assume I have the same issue there. How do I disable two of the three spawners on OSX? I am good with terminal windows and linux, I just never had to do anything with services on my Mac.

              Thanks so much for your help. I never would have figured this out on my own.

              So on my Mac this is what i see:

              philfx:~ phoppes$ sudo launchctl list | grep vray
              - 3 com.chaos_group.vraymayaslave2015
              86 0 com.chaos_group.vraymayaslave2016
              - 3 com.chaos_group.vraymayaslave2016.5

              I assume I want to disable 2 of these, most likely 2015, 2016 so what is the command to disable them?
              Last edited by rimcrazy; 14-06-2016, 05:11 AM.
              Maya, Modo, Houdini, Harmony
              2018 MBP, 32Gb, 2.9Ghz i9, Radeon Pro Vega 20 4Gb

              Comment


              • #8
                Execute unregisterVRaySlaveDaemon from the Maya XXXX folder. This should remove the service
                Example:
                /Applications/ChaosGroup/V-Ray/Maya2016/bin/unregisterVRaySlaveDaemon
                Tashko Zashev | chaos.com
                Chaos Support Representative | contact us

                Comment


                • #9
                  Thanks! That worked fine.
                  Maya, Modo, Houdini, Harmony
                  2018 MBP, 32Gb, 2.9Ghz i9, Radeon Pro Vega 20 4Gb

                  Comment

                  Working...
                  X