Product Documentation

V11.5 Release Notes

Previous Topic

Next Topic

File compact or index rebuild sometimes failed with FULL_ERR (39) or KLOD_ERR (58)

File compact or index rebuild sometimes failed with error 39 or 58 when using server rebuild optimizations if the data file contained a sufficient quantity of records to cause the temporary sort work file to exceed 4GB. This was seen when using FairCom Server V11.2 or later with rebuild optimizations enabled. In one case, the following message was logged to CTSTATUS.FCS:

- User# 00022 CTSORT: write to sort work file F:\tmp\sw014163.00X at offset 4294965308 for 65490 bytes failed: error 39 system error code 0

Workaround: Two workarounds are available: 1) Add MAX_REBUILD_QUEUE 0 to ctsrvr.cfg to disable the rebuild optimizations and restart c-tree Server, or 2) rebuild using a standalone (non-client/server) rebuild utility.

The logic has been modified to correct this problem (the workarounds are not necessary if FairCom Server is updated to use V11.5 or later).

TOCIndex