I had a python script running successfully. The .py script would open a headless browser(pyvirtualdisplay & xvfb) and perform a task and then close the browser. I had an issue with xvfb processes being left open after the script is run. After its run many times they would tend to accumulate. Periodically I would run a killall command through ssh shell to kill the stagnant xvfb processes. This didn't seem to cause any problems. Recently I attempted to automate the task by setting up a cron job that executed the following command.I had a python script running successfully. The