• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Stable Feedback
  • /DZG-1440
Back
6

Nasdara lock slot lists on rebuildable houses grow on every load, building_001.bin bloats to ~1.8 GB, server freezes

BugErrorDesyncPerformanceServerBase Building
6

State

Duplicate
Issue key
DZG-1440
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
schmimbo
Created
Oct 18, 2026
Views
561
Platform
PC Steam
What happened?

Nasdara: lock slot lists on rebuildable houses grow on every world load → building_001.bin bloats to ~1.8 GB → server freezes, write failures, loss of player-built structures

Version: 1.30.164078 (Steam Stable), dedicated Windows server, map Nasdara
Server mods: @CF, @GameLabs (no mods that touch base building or locks)
Related: DZG-1404 (same issue, additional data below)

Summary
On Nasdara, rebuildable houses (Land_House_*) with locks attached cause storage_1\data\building_001.bin to grow rapidly on every restart, until saving breaks and player-built structures are lost.

Timeline / measurements

  • 11:41: building_001.bin = 472,862 KB, 20,476 entries

  • 12:37: 1,882,175 KB

  • 13:44: 1,882,176 KB (growth stops here; probably the size limit was reached)

  • The number of entries stayed at exactly 20,476 the whole time. Only the size per entry grew.

  • Load time for building_001 went from 31 s (12:02) to 53 s (14:02).

Symptoms

  1. Server froze for 10–20 s roughly every 70 s. Server FPS dropped from ~1,500 to 8–20, with nothing logged during the freezes. Players were rubber-banded and inventory actions failed.

  2. Repeated write errors, 4 retries 0.5 s apart:
    !!! Failed to write [Storage] data to file "...storage_1\data\building_001.bin" - failed to open the file.

  3. After a restart, all three copies were unreadable:
    !!! [CE][Storage] Failed to read [Storage] data file "building_001.bin / .001 / .002" → valid:NO

  4. The server started without building_001 data. All rebuilt walls and doors on the map were gone. The next saves overwrote the remaining copies with the state without the bases.

Analysis of the bloated file (backup from 11:41, 462 MB)

  • The file structure itself is intact: _EOF marker present, the top-level record chain is consistent, 20,476 records.

  • The size comes almost entirely from attachment slot name lists on 5 houses. Each list is a u32 count followed by length-prefixed strings:

    • Att_CombinationLock2_Wood × 3,145,728

    • Att_CombinationLock1_Wood × 1,032,192

    • Att_CombinationLock3_Metal / _CombinationLock1_Metal / _CombinationLock3_Wood, mixed, × 262,144

    • Att_CombinationLock1_Metal × 4,096

    • Att_CombinationLock4_Wood / _CombinationLock2_Wood, alternating, × 96

  • Each list contains only 1–3 unique names. The rest are duplicates, mostly exact repetitions or power-of-two counts.

  • Every affected house record exists 4 times with identical content: same hash, position and data. This also applies to all other building records: 20,476 = 4 × 5,119.



Expected behavior

  • Lock slot lists should not grow on load or save.

  • Each building object should be saved once per save.

  • The storage writer should never produce a file that can’t be read, and should have a size or sanity check.

Additional notes

  • Restoring an affected backup does not help on its own. The duplicates are already in the file and keep doubling on the next load.

  • I can provide the bloated file (zipped ~2 MB) and the repaired version if needed.

Nasdara: lock slot lists on rebuildable houses grow on every world load → building_001.bin bloats to ~1.8 GB → server freezes, write failures, loss of player-built structures

Version: 1.30.164078 (Steam Stable), dedicated Windows server, map Nasdara
Server mods: @CF, @GameLabs (no mods that touch base building or locks)
Related: DZG-1404 (same issue, additional data below)

Summary
On Nasdara, rebuildable houses (Land_House_*) with locks attached cause storage_1\data\building_001.bin to grow rapidly on every restart, until saving breaks and player-built structures are lost.

Timeline / measurements

  • 11:41: building_001.bin = 472,862 KB, 20,476 entries

  • 12:37: 1,882,175 KB

  • 13:44: 1,882,176 KB (growth stops here; probably the size limit was reached)

  • The number of entries stayed at exactly 20,476 the whole time. Only the size per entry grew.

  • Load time for building_001 went from 31 s (12:02) to 53 s (14:02).

Symptoms

  1. Server froze for 10–20 s roughly every 70 s. Server FPS dropped from ~1,500 to 8–20, with nothing logged during the freezes. Players were rubber-banded and inventory actions failed.

  2. Repeated write errors, 4 retries 0.5 s apart:
    !!! Failed to write [Storage] data to file "...storage_1\data\building_001.bin" - failed to open the file.

  3. After a restart, all three copies were unreadable:
    !!! [CE][Storage] Failed to read [Storage] data file "building_001.bin / .001 / .002" → valid:NO

  4. The server started without building_001 data. All rebuilt walls and doors on the map were gone. The next saves overwrote the remaining copies with the state without the bases.

Analysis of the bloated file (backup from 11:41, 462 MB)

  • The file structure itself is intact: _EOF marker present, the top-level record chain is consistent, 20,476 records.

  • The size comes almost entirely from attachment slot name lists on 5 houses. Each list is a u32 count followed by length-prefixed strings:

    • Att_CombinationLock2_Wood × 3,145,728

    • Att_CombinationLock1_Wood × 1,032,192

    • Att_CombinationLock3_Metal / _CombinationLock1_Metal / _CombinationLock3_Wood, mixed, × 262,144

    • Att_CombinationLock1_Metal × 4,096

    • Att_CombinationLock4_Wood / _CombinationLock2_Wood, alternating, × 96

  • Each list contains only 1–3 unique names. The rest are duplicates, mostly exact repetitions or power-of-two counts.

  • Every affected house record exists 4 times with identical content: same hash, position and data. This also applies to all other building records: 20,476 = 4 × 5,119.


Additional notes

  • Restoring an affected backup does not help on its own. The duplicates are already in the file and keep doubling on the next load.

  • I can provide the bloated file (zipped ~2 MB) and the repaired version if needed.

Reproduction steps

Manual repair (worked)

  • Reduced each list to its unique entries, set the u32 count to match, and recalculated all absolute offset/pointer fields after the removed data.

  • Result: 462 MB → 3.1 MB. The server loaded it with 20476 items loaded. (0 failed), and all structures were restored.

Workaround that stopped the growth

  • Removed all locks from rebuilt houses in-game: 8 houses, 12 locks, mostly digital code locks plus 2 combination locks.

  • After the next restart, building_001 contains 5,119 entries instead of 20,476. Each building is now saved once instead of four times. All copies (.bin/.001/.002) are valid, there are no write errors, and server FPS is stable at ~7,000.

  • This strongly suggests that locks on rebuildable houses cause both the duplicated slot lists and the quadruple saving of building records.

Exact build version (optional)
1.30.164078
Where did it happen?
Community
Is it modded?
No
Expected result

Expected behavior

  • Lock slot lists should not grow on load or save.

  • Each building object should be saved once per save.

  • The storage writer should never produce a file that can’t be read, and should have a size or sanity check.

Reactions

Activity

    about 2 months ago
  • schmimbo
    created issueabout 2 months ago
  • schmimbo
    changedabout 2 months ago
  • equals_dgcommented
    about 2 months ago
    equals_dgcommented
    about 2 months ago

    I can confirm that this is happening on vanilla version too

  • about 2 months ago
  • csatxcommented(edited)
    about 2 months ago
    csatxcommented(edited)
    about 2 months ago

    Confirm this is happening and is a CRITICAL issue

  • t33commented
    about 2 months ago
    t33commented
    about 2 months ago

    Confirmed same issue

  • chimerecommented
    about 2 months ago
    chimerecommented
    about 2 months ago

    Hello,
    same issue on our server too, i had to force shutdown server after 3 days, storage building data went over 3 GB, i was able to replicate the issue on local dev server too.

  • l909
    changed state to
    DUPLICATE
    about 2 months ago
  • csatxcommented(edited)
    about 2 months ago
    csatxcommented(edited)
    about 2 months ago

    @l909 if this is a duplicate, please provide a link to the other issue so we (server admins) can follow along. This is a massive critical bug and we need visibility into how long we will be stuck in this daily repair file loop or risk server instability and player data loss.

  • unplemecommented
    about 1 month ago
    unplemecommented
    about 1 month ago

    Give us a mod list pls of ur server. Include serverside.

  • isolatedmanreplied to a comment
    about 1 month ago
    isolatedmanreplied to a comment
    about 1 month ago

    https://report.bistudio.com/issues/DZG-1404

  • about 1 month ago
  • chilliycommented(edited)
    about 1 month ago
    chilliycommented(edited)
    about 1 month ago

    Confirming this on our community server (Nasdara, 1.30, modded). After players attached code locks to rebuilt house doors, we got client freezes/crashes when using those doors (my report DZG-1753 https://report.bistudio.com/issues/DZG-1753) and had to wipe.

    Workaround that works for us: a small server-side script blocks attaching any lock (IsExternalLockType) to buildings that use the Rebuilding construction component – fence/watchtower gates still accept locks normally.


    modded class BuildingBase

    {

    override bool CanReceiveAttachment(EntityAI attachment, int slotId)

    {

    ItemBase lockItem = ItemBase.Cast(attachment);

    if (lockItem && lockItem.IsExternalLockType() && Rebuilding.Cast(GetConstructionBasic()))

    return false;

    return super.CanReceiveAttachment(attachment, slotId);

    }

    }

    Result after 8 restarts over ~25 h: building_001 stays at the same entry count and its load time stays stable at 6–8 s (no growth). Without locks on houses the bloat does not occur for us.


    Please consider fixing the load path so the lock slot list is replaced instead of appended (as described in DZG-1557).

You are not signed in. Please sign in to see more details and to reply.

State

Duplicate
Issue key
DZG-1440
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
schmimbo
Created
Oct 18, 2026
Views
561