After approximately one day of system uptime, my MacBook Pro runs extremely slow. I am running macOS 10.13.5 and Activity Monitor shows ~70% idle cpu usage and the memory pressure is on green but there are what seems like thousands of pg_ctl processes running by the user _teamsserver. With a restart, the number of processes slowly increase back to a large number and slows the computer again. Activity monitor shows the number of processes to be ~2100.
How can I determine what the _teamsserver and pg_ctl are so I disable them or what's launching these?