Pulse Service?

How to I get pulse to keep running when I am not logged in?
It seems that even if i am logged into the machine that after a period of time when the computer locks then pulse stops running.

I am worried that I am not gathering stats when its not running. I dont really need the other pulse features but really need to make sure I am capturing accurate stats.

thanks

That’s strange that Pulse would stop running when the computer locks. Does it go to sleep or hibernate when it locks? If so, that could sever the network connection and that would cause Pulse some problems (although it shouldn’t bring it down). Maybe you could send us a Pulse log from a session where Pulse stopped running? You can find the log folder from the Pulse UI by selecting Help -> Explore Log Folder.

Anyway, on to your question. Yes, you can have Pulse run as a service. All you have to do is set up the Launcher to run as a service, and the easiest way to do this is to run the Client Installer. When the Launcher runs as a service, it will launch the Slave or Pulse as a background process as well.

You’ll want Pulse to launch automatically when the Launcher starts up. See the info about setting LaunchPulseAtStartup=True in the deadline.ini file:
thinkboxsoftware.com/deadlin … ning_Pulse

Hope this helps!

  • Ryan

I have reinstalled deadline client as a service and the service seems to be running properly, Pulse is set to launch when the launcher launches and does so when i connect to the machine. (thats an awkward sentence) But it runs the UI, which seems to indicate that pulse is not running as a background process. Since I dont have any deadline clients installed to run as a service on any of our other nodes I am not sure what to expect, but it seems that I shouldn’t have a system tray icon, but I do.

I have set the power savings settings on the machine to never let anything sleep or hibernate. I am connecting via RDC to this machine.

Here is a log file from what I believe to be a session where Pulse disconnected or stopped running.

2011-06-27 07:59:05: BEGIN - TTUC-3D01\1069676-adm
2011-06-27 07:59:05: Start-up
2011-06-27 07:59:05: 2011-06-27 07:59:05
2011-06-27 07:59:05: Deadline Pulse 5.0 [v5.0.0.44528 R]
2011-06-27 07:59:11: THREAD POOL COUNT: 4000, 1000
2011-06-27 07:59:12: Listener - Listening for auto configuration requests on port 5043
2011-06-27 07:59:12: Web Service - Web Service is disabled because the Web Service Connection Limit in the Repository Options is set to 0
2011-06-27 07:59:37: Listener - WARNING: received request from ::ffff:147.24.203.135, but the Slave is running a different version (4.1.0.42706)
2011-06-27 08:00:01: Listener - WARNING: received request from ::ffff:147.24.203.135, but the Slave is running a different version (4.1.0.42706)
2011-06-27 08:00:11: Checking repository integrity
2011-06-27 08:00:24: Listener - WARNING: received request from ::ffff:147.24.203.135, but the Slave is running a different version (4.1.0.42706)
2011-06-27 08:00:47: Listener - WARNING: received request from ::ffff:147.24.203.135, but the Slave is running a different version (4.1.0.42706)
2011-06-27 08:01:10: Listener - WARNING: received request from ::ffff:147.24.203.135, but the Slave is running a different version (4.1.0.42706)
2011-06-27 08:01:13: Purging trash
2011-06-27 08:01:33: Listener - WARNING: received request from ::ffff:147.24.203.135, but the Slave is running a different version (4.1.0.42706)
2011-06-27 08:03:13: Purging old statistics
2011-06-27 08:04:13: Purging old job reports
2011-06-27 08:04:13: Cleaning up orphaned tasks
2011-06-27 08:05:14: Purging obsolete slaves
2011-06-27 08:11:13: Purging trash
2011-06-27 08:14:13: Purging limits
2011-06-27 08:15:14: Purging repository temp files
2011-06-27 08:17:14: Purging old job reports
2011-06-27 08:18:14: Purging old statistics
2011-06-27 08:19:14: Purging repository temp files
2011-06-27 08:19:14: Purging obsolete slaves
2011-06-27 08:21:14: Purging old statistics
2011-06-27 08:22:14: Checking repository integrity
2011-06-27 08:22:14: Cleaning up orphaned tasks
2011-06-27 08:23:14: Checking repository integrity
2011-06-27 08:27:14: Purging old job auxiliary files
2011-06-27 08:27:14: Cleaning up orphaned tasks
2011-06-27 08:29:14: Purging repository temp files
2011-06-27 08:31:16: Purging limits
2011-06-27 08:32:16: Purging old job reports
2011-06-27 08:33:16: Checking repository integrity
2011-06-27 08:36:16: Purging trash
2011-06-27 08:39:16: Purging obsolete slaves
2011-06-27 08:41:16: Purging repository temp files
2011-06-27 08:42:16: Cleaning up orphaned tasks
2011-06-27 08:43:03: Listener - WARNING: received request from ::ffff:147.24.203.135, but the Slave is running a different version (4.1.0.42706)
2011-06-27 08:43:17: Purging repository temp files
2011-06-27 08:43:17: Checking repository integrity
2011-06-27 08:44:16: Purging limits
2011-06-27 08:46:17: Checking repository integrity
2011-06-27 08:46:17: Purging limits
2011-06-27 08:47:18: Purging limits
2011-06-27 08:48:18: Purging old job auxiliary files
2011-06-27 08:48:18: Cleaning up orphaned tasks
2011-06-27 08:48:18: Purging obsolete slaves
2011-06-27 08:49:18: Purging old job auxiliary files
2011-06-27 08:49:18: Purging trash
2011-06-27 08:50:18: Purging limits
2011-06-27 08:50:19: Purging old statistics
2011-06-27 08:50:19: Cleaning up orphaned tasks
2011-06-27 08:51:19: Checking repository integrity
2011-06-27 08:52:19: Purging old job auxiliary files
2011-06-27 08:52:19: Purging old statistics
2011-06-27 08:52:19: Purging trash
2011-06-27 08:53:20: Purging old statistics
2011-06-27 08:54:20: Cleaning up orphaned tasks
2011-06-27 08:55:20: Cleaning up orphaned tasks
2011-06-27 08:56:20: Checking repository integrity
2011-06-27 08:56:20: Purging old statistics
2011-06-27 08:59:20: Purging old job auxiliary files
2011-06-27 09:01:22: Purging limits
2011-06-27 09:02:22: Checking repository integrity
2011-06-27 09:02:22: Purging old statistics
2011-06-27 09:03:22: Purging repository temp files
2011-06-27 09:03:22: Deleted 1 previously locked and then ignored files.
2011-06-27 09:03:22: Purging old job reports
2011-06-27 09:06:23: Cleaning up orphaned tasks
2011-06-27 09:06:23: Purging obsolete slaves
2011-06-27 09:07:23: Purging repository temp files
2011-06-27 09:09:23: Purging limits
2011-06-27 09:10:23: Checking repository integrity
2011-06-27 09:10:23: Purging obsolete slaves
2011-06-27 09:11:23: Cleaning up orphaned tasks
2011-06-27 09:11:24: Purging obsolete slaves
2011-06-27 09:12:24: Cleaning up orphaned tasks
2011-06-27 09:13:24: Cleaning up orphaned tasks
2011-06-27 09:13:35: Caught WM_QUERYENDSESSION message
2011-06-27 09:13:35: OnFormClosing
2011-06-27 09:13:35: Web Service - Web Service shutting down…
2011-06-27 09:13:35: Listener Thread - OnConnect: Listener Socket has been closed.
2011-06-27 09:13:35: Purging repository temp files
2011-06-27 09:13:38: OnFormClosing
2011-06-27 09:13:38: Main window closing
2011-06-27 09:13:38: Main window closed

That’s strange. Pulse should not have a UI when running as a service. Do you see the Launcher icon in the system tray too? If you do, that means that the Launcher isn’t properly running as a service either. We can work from here if that’s the case.

Also, thanks for the log. This message indicates that the Windows session is about to end, which is why Pulse tries to cleanup and close down gracefully:

Note that this message will have no impact on Pulse when it’s running as a background process.

Cheers,

  • Ryan

Yeah, I can confirm here that Pulse is running with the UI and all even when the Deadline Launcher was installed and is running as a service!

I cannot get the service to install properly, i get an error that the service cannot be setup and i hit retry several times and the setup continues but the program doesn’t install properly.

Weird. I have pulse running as a service. No UI.

The only difference I might have made was I explicitly gave it a username/login when installing.

@loocas: Yeah, I can’t reproduce this here either. Do you know if you’ve launched Pulse through the Launcher (ie: if you launch pulse from the command line using “deadlinelauncher -pulse”, or if you use remote control from the Monitor, then you’re launching it through the slave)? If you are just running deadlinepulse.exe directly, that would explain why you see a UI.

@twuelfing: That’s strange. Are you setting it up with specific credentials? Are they local or network credentials? Are you prefixing the user name with the domain (.\USERNAME for local accounts, DOMAIN\USERNAME for network accounts)?

Cheers,

  • Ryan

I set it up with specific credentials, I did not prefix it with our domain. I will give that a shot and see what happens.

I am going to uninstall deadline client and reinstall, is there anything else I should do except run the uninstaller?

also of note, my pulse machine is the same as my repository.

Sounds good. If that does not work, then try installing without specifying the login credentials. This will default the service user to the SYSTEM account. Then you can go through the Control Panel to find the Deadline Launcher Service and manually set up the credentials.

Nope, that should be it.

Shouldn’t be an issue.

Cheers,

  • Ryan

Oh, I totally forgot to ask which version of Deadline you’re using. If it’s 4.x, then make sure to right-click on the installer/uninstaller to Run as Administrator. In 5.0, you will automatically be prompted for elevation.

Cheers,

  • Ryan

I uninstalled deadline client
I reinstalled deadline client using my domain in the credentials, I did not get the error about being unable to install the service this time
I show 2 services installed (deadline and Deadline launcher service)
the deadline service shows started
the deadline launcher services shows automatic but the status is blank
I added the line into the deadline.ini file to get pulse to start with launcher

when i log off and log back on the UI for pulse starts and the system tray for deadline launcher loads
When I log off Pulse stops running
So this indicated to me the service that didnt show running wasnt running (duh)
I checked and the credentials are not accepted, so I switched it to local user as suggested

I logged off and back on, Pulse isnt running, I check the services and both are running
I modify my credentials in the service, it denys it.
I noticed that its looking only at local accounts so I expand the locations its searching for my username to our entire directory
This gives me a notice that my account is granted the necessary permissions for this service
I repeat this for the other running deadline service and the pulse starts up!

I think this is solved, I will keep my eye on it and if anything else occurs I will post here in case others have similar issues.

thanks for your help!

Ah, yeah, that’s it. I launched Pulse via the shortcut expecting it to “magically” launch without the UI. :slight_smile:

Thanks, I’ll try the command then.