Finishing Up

Once you have finished your session, close the client as normal.

On the server, close the application (either by clicking on the 'x' icon in the top left of the window, if running in windowed mode or by using your application's normal exit procedure. In the same terminal console that you started the GPU PerfStudio server, press Ctrl-C to shut the GPU PerfStudio server down. Pressing Ctrl-C with your application still running with close your application.

In rare cases, the server isn't attached to a console. It is still necessary to close the server. Open a web browser, and in the address bar and type:

localhost:8080/shutdown

An OK message should appear in the browser indicating that the server has been closed. Change 8080 to the port number being used if this is different.

Sometimes, particularly in the case of a crash, the shared memory used by GPU PerfStudio will not be cleaned up correctly. This will manifest itself with an error message indicating that another instance of GPU PerfStudio is running. If this is the case, type:

rmshm.sh

Which will clean up the shared memory. This is another shell script provided with the GPU PerfStudio Linux server.