From 7a7f30f927659f6b89fc8edf30ffcef505d85e3a Mon Sep 17 00:00:00 2001 From: OpenClaw Bot Date: Wed, 18 Feb 2026 14:33:05 -0600 Subject: [PATCH] Add Task #7 - Investigate why websites are dying Root cause research task to find what's actually killing the Next.js servers instead of just treating the symptom. Check system logs, memory, file watchers, OOM killer, etc. --- src/stores/useTaskStore.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/stores/useTaskStore.ts b/src/stores/useTaskStore.ts index 313e8c5..c2bc1f8 100644 --- a/src/stores/useTaskStore.ts +++ b/src/stores/useTaskStore.ts @@ -169,6 +169,23 @@ const defaultTasks: Task[] = [ { id: 'c17', text: 'All 3 sites stable. Cron job now properly kills old processes before restarting to avoid port conflicts.', createdAt: new Date().toISOString(), author: 'assistant' } ], tags: ['monitoring', 'cron', 'bug', 'infrastructure', 'urgent'] + }, + { + id: '7', + title: 'Investigate root cause - why are websites dying?', + description: 'Currently monitoring only treats the symptom (restart when down). Need to investigate what is actually killing the Next.js dev servers. Check: system logs, memory usage, file watcher limits, zombie processes, macOS power management, SSH timeout, OOM killer. Set up logging to capture what happens right before crashes.', + type: 'research', + status: 'backlog', + priority: 'high', + projectId: '2', + createdAt: new Date().toISOString(), + updatedAt: new Date().toISOString(), + comments: [ + { id: 'c18', text: 'Problem: Sites go down randomly - what is killing them?', createdAt: new Date().toISOString(), author: 'user' }, + { id: 'c19', text: 'Suspects: Memory leaks, file watcher hitting limits, SSH session timeout, macOS power nap, OOM killer', createdAt: new Date().toISOString(), author: 'user' }, + { id: 'c20', text: 'Need to add logging/capture to see what kills processes', createdAt: new Date().toISOString(), author: 'user' } + ], + tags: ['debugging', 'research', 'infrastructure', 'root-cause'] } ]