KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Cooperative Process Warnings in Auto Update Server
PRODUCT: 4D | VERSION: 20 | PLATFORM: Mac & Win
Published On: June 11, 2025

The SET UPDATE FOLDER command is non-preemptive and is used in conjunction with the Auto Update Server process. The update procedure involves unzipping a file, copying the previous version to a backup folder, and restarting the system. During the copy operation, multiple diagnostic log warnings may be generated, indicating that the cooperative process is not yielding sufficient CPU time to other processes.

The warning "Cooperative process doesn't yield enough" was introduced to diagnose performance issues observed at a customer site, where a cooperative process was consuming excessive CPU time and starving other tasks. By default, this warning is triggered when a process retains the CPU for more than 500 milliseconds without yielding. This threshold can be adjusted using the following setting:

    SET DATABASE PARAMETER(Uncooperative process threshold; milliseconds)

Alternatively, users can raise the diagnostic log level to display only errors and suppress warnings by using the following setting:

    SET DATABASE PARAMETER(Diagnostic log level; Errors)

Please note that these are warnings, not errors. Their impact depends on the CPU needs of other cooperative processes.