Collaborative Editing is not possible because Synchrony dies unexpectedly

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Collaborative Editing (CE) stops working in Confluence and we see the following message in atlassian-synchrony.log files

1 DEBUG [604:StdOutHandler [E:\Confluence_Install_Directory\Confluence\jre\bin\java.exe]] 2021-02-02 20:23:00,399 WARN [Thread-8] [synchrony.server.watch-pid] PID 3060 has died. Terminating

There are no error messages or warning before the above log line.

Environment

The issue is known to happen in Microsoft Windows environment with CE enabled.

Diagnosis

Synchrony keeps on checking for process of Confluence and terminates itself when it can't find Confluence's PID. The log message states that Synchrony has been looking for process ID of Confluence (3060 in above log snippet) and can't find it. So, as a result the process of Synchrony dies.

Synchrony looks for PID of Confluence via tasklist.exe. In some versions of MS Windows tasklist doesn't work properly and returns Out Of Memory errors.

(Auto-migrated image: description temporarily unavailable)

A simple script like follows can be used to check whether tasklist runs properly in OS or not.

Save it as .ps1 file and execute

1 2 3 4 5 while ($true) { Get-Date >> taskList.txt tasklist | findstr /i "java tomcat" >> taskList.txt Start-Sleep -s 5 }

ℹ️ The process of Confluence runs as tomcat and process of Synchrony as java

If the tasklist command errors out, Synchrony will keep on terminating (because it thinks that Confluence has died).

Solution

The root cause is primarily lack of proper functioning of the command tasklist.exe. So, work with Windows System admins to diagnose this issue further and apply proper patches/updates in Windows as necessary.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.