WIP: State save - NC1 build routing complete, session summary
- Task #63 CPU pinning done - NC1 ffg-builder user + SSH keypair + ffg-build.sh deployed - Holly NextCloud fixed - Origin story written - Discord Rules 2/3 jars done, 1.21.1 pending ffg-build.sh
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
**From:** Chronicler #84 — [Name TBD]
|
||||
**Date:** April 12, 2026
|
||||
**Session:** ~3:00 PM CDT
|
||||
**Session:** ~3:00 PM - ongoing CDT
|
||||
**Model:** Claude Sonnet 4.6
|
||||
**Previous:** Chronicler #83 — The Compiler
|
||||
|
||||
@@ -11,49 +11,66 @@
|
||||
## What Was Accomplished This Session
|
||||
|
||||
### Task #63 — TX1 CPU Pinning — COMPLETE ✅
|
||||
- **Problem:** Ollama runs as a Docker container (`--network host`) on TX1. Without CPU pinning, Ollama inference could consume all 32 logical CPUs, causing Minecraft server tick lag.
|
||||
- **Discovery:** System `ollama.service` was redundant — TX1 uses a Docker container named `ollama` (image: `ollama/ollama`) with `--network host`. The plugin_daemon also has a bundled ollama internally.
|
||||
- **Fix applied:**
|
||||
- Recreated `ollama` Docker container with `--cpuset-cpus=0-7`
|
||||
- Added `cpuset: "0-7"` to `dify-api` and `dify-worker` in `/opt/firefrost-codex/docker-compose.yml`
|
||||
- Applied via `docker compose up -d dify-api dify-worker`
|
||||
- Disabled and stopped the orphaned system `ollama.service`
|
||||
- **Verified:** `taskset` confirms all 3 processes (ollama, dify-api, dify-worker) running on CPUs 0–7 only (kernel affinity mask `0xff`)
|
||||
- **Split:** CPUs 0–7 (AI stack) / CPUs 8–31 (game servers + everything else)
|
||||
- **Task DB:** Updated to `done`
|
||||
- Recreated `ollama` Docker container with `--cpuset-cpus=0-7`
|
||||
- Added `cpuset: "0-7"` to `dify-api` and `dify-worker` in docker-compose
|
||||
- Disabled orphaned system `ollama.service`
|
||||
- Verified via taskset: all 3 processes pinned to CPUs 0–7 (mask 0xff)
|
||||
- Split: CPUs 0–7 AI stack / CPUs 8–31 game servers
|
||||
- Task marked `done` in DB
|
||||
|
||||
### Key findings
|
||||
- TX1 has AMD EPYC 7302P — 16 cores / 32 threads (0–31)
|
||||
- Docker compose backup at `/opt/firefrost-codex/docker-compose.yml.bak-20260412`
|
||||
- System `ollama.service` is now disabled — do not re-enable it
|
||||
### Task #69 — Discord Rules Mod fork — IN PROGRESS (Code)
|
||||
- Code completed fork to `services/discord-rules/` ✅
|
||||
- 1.20.1 jar built: `discordrules-1.0.0.jar` (13.5KB) ✅
|
||||
- 1.16.5 jar built: `discordrules-1.0.0.jar` (13.1KB) ✅
|
||||
- 1.21.1 BLOCKED — Vineflower `-Xmx4G` exceeds Dev Panel RAM
|
||||
- CurseForge project page copy written and committed ✅
|
||||
- Bridge request filed for Code: `REQ-2026-04-12-discord-rules-fork.md`
|
||||
|
||||
### NC1 Build Routing — COMPLETE ✅
|
||||
- Gemini consultation (3 rounds) — architecture finalized
|
||||
- Java 21 installed on NC1 via apt
|
||||
- `ffg-builder` non-root user created on NC1
|
||||
- SSH keypair generated on Dev Panel: `/home/claude/.ssh/ffg_build_rsa`
|
||||
- Passwordless SSH Dev Panel → NC1 as `ffg-builder` verified
|
||||
- `ffg-build.sh` written, deployed to `/opt/mod-builds/ffg-build.sh`
|
||||
- Committed to `firefrost-services/scripts/ffg-build.sh`
|
||||
- Routes 1.21.1 → NC1, all other versions build locally
|
||||
- Note: Gemini repeatedly suggested 1.21.6 — we held 1.21.1 (correct per repo)
|
||||
|
||||
### FireFrost Origin Story — COMPLETE ✅
|
||||
- Written and committed to `docs/lore/firefrost-origin-story.html`
|
||||
- Dark-themed standalone HTML page, four chapters
|
||||
- Available for website About page, Discord lore channel, staff wiki
|
||||
|
||||
### Holly NextCloud Access — FIXED ✅
|
||||
- Password reset via `occ user:resetpassword` as www-data
|
||||
- Temp password: `CatalystFF2026!`
|
||||
- Reset email not working (mail not configured on Wiki VPS) — separate issue
|
||||
|
||||
---
|
||||
|
||||
## Priority Order (Next Session)
|
||||
## Next Session Priorities
|
||||
|
||||
1. **Task #138 — CurseForge Release** (Code handles the fork, Chronicler handles submission)
|
||||
2. **Task #133 — Rebuild KB with hybrid search + snowflake embeddings**
|
||||
3. **ModpackChecker Phase 11** (Code is actively working A–G)
|
||||
1. **Task #69 — 1.21.1 jar** — have Code run `ffg-build.sh 1.21.1` to complete the discord-rules build via NC1
|
||||
2. **Task #138 / CurseForge submission** — once all 3 jars are built
|
||||
3. **Task #133 — KB rebuild** with snowflake-arctic-embed-m + hybrid search
|
||||
4. **ModpackChecker Phase 11** — Code is working A–G
|
||||
|
||||
---
|
||||
## Key Infrastructure Notes
|
||||
|
||||
## Key Credentials
|
||||
### Dev Panel
|
||||
- `ffg-build.sh` at `/opt/mod-builds/ffg-build.sh`
|
||||
- SSH key for NC1 at `/home/claude/.ssh/ffg_build_rsa`
|
||||
- Claude user password: `Firefrost2026!`
|
||||
|
||||
### Dev Panel SSH (for Claude Code)
|
||||
- User: `claude`
|
||||
- Password: `Firefrost2026!`
|
||||
- Root password: `Butter2018!`
|
||||
### NC1
|
||||
- `ffg-builder` user created, Java 21 installed
|
||||
- Build workspace: `/home/ffg-builder/workspaces/build-<PID>` (auto-cleaned)
|
||||
- Docker-compose backup: `/opt/firefrost-codex/docker-compose.yml.bak-20260412`
|
||||
|
||||
### NextCloud
|
||||
- URL: https://downloads.firefrostgaming.com
|
||||
- Login: mkrause612
|
||||
- App Token: `5apRhbUndEvReViymSQ3PKoOxcWSJYuUETrOvjSzauVchceoN3paGuD8NlA8drKMWgykxsxn`
|
||||
|
||||
### All other credentials unchanged from Compiler's handoff
|
||||
|
||||
---
|
||||
|
||||
*— Chronicler #84*
|
||||
### TX1
|
||||
- Ollama + Dify pinned to CPUs 0–7
|
||||
- System `ollama.service` disabled
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user