Fix memory leaks from orphaned uvx/python processes (#120)
This fixes memory leak, will remove one unnecessary MCP after this in a new PR but this is mission critical fix * Initial plan * Fix memory leaks: Add proper cleanup for ChromaSync and search server processes Co-authored-by: thedotmack <683968+thedotmack@users.noreply.github.com> * Add comprehensive process cleanup and PM2 configuration improvements Co-authored-by: thedotmack <683968+thedotmack@users.noreply.github.com> * Add comprehensive summary and recommendations for memory leak fixes Co-authored-by: thedotmack <683968+thedotmack@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thedotmack <683968+thedotmack@users.noreply.github.com>
This commit is contained in:
+10
-2
@@ -31,8 +31,16 @@ module.exports = {
|
||||
'*.log',
|
||||
'*.db',
|
||||
'*.db-*',
|
||||
'.git'
|
||||
]
|
||||
'.git',
|
||||
'vector-db', // Ignore Chroma vector DB files
|
||||
'.claude-mem' // Ignore data directory
|
||||
],
|
||||
// Allow extra time for graceful shutdown (cleanup of child processes)
|
||||
kill_timeout: 5000,
|
||||
// Wait before restarting to allow full cleanup
|
||||
wait_ready: true,
|
||||
// Shutdown signal (SIGTERM for graceful shutdown)
|
||||
kill_signal: 'SIGTERM'
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user