Python (user "_teamsserver") constantly using 99% of CPU?
Hello. Activity Monitor shows Python (user "_teamsserver") constantly using 99% of CPU. This has been happening for a couple of months--maybe since I upgraded to 10.9 and Server 3. Before that I was running Server on 10.8.x and there was no issue.
I understand Python is a scripting language. Apparently in my case it seems to be stuck in some sort of loop.
In order to try to figure out what's going on, in Terminal I entered "ps auxw | grep 354" and this was the output:
_teamsserver 354 100.0 65.2 10004512 5472880 ?? R 6:26PM 203:03.01 /usr/bin/python /Applications/Server.app/Contents/ServerRoot/usr/bin/xpostgres -D /Library/Server/Wiki/Database.xpg/Cluster.pg -c log_line_prefix=%t -c log_lock_waits=on -c log_statement=ddl -c logging_collector=on -c max_connections=500 -c unix_socket_directory=/Library/Server/Wiki/PostgresSocket -c unix_socket_group=_teamsserver -c unix_socket_permissions=0770 -c log_connections=on -c listen_addresses= -c log_directory=/Library/Server/Wiki/Logs -c log_filename=postgres-%a.log -c log_rotation_age=1440 -c log_truncate_on_rotation=on
conference 6581 0.0 0.0 2432784 596 s000 S+ 9:51PM 0:00.00 grep 354
So it seems to be related to the Wiki services in the Server app? I only use the Server app for very light file sharing among a small group. (By the way, I turned off file sharing, so that no server services were running, restarted the machine and Python continued to use 99% of the CPU.) I have never used any Wiki services and have no interest in doing so.
I've reset the SMC controller and PRAM and fixed all permissions.
I got a sample of the Python process from Activity Monitor, but don't want to paste it here because it's too long.
I also got a system diagnosis file from Activity Monitor.
(By the way, this is on a 2010 MacBook Pro, 8 GB RAM, 240 GB SSD, running Mavericks 10.9.4.).
Any thoughts or help would be appreciated.
Thanks in advance!