-
Notifications
You must be signed in to change notification settings - Fork 347
Open
Labels
server-Azure.McpAzure.Mcp.ServerAzure.Mcp.Servertools-VSIXVS Code Marketplace SetupVS Code Marketplace Setup
Milestone
Description
Extension created crazy number of file watchers - is that a bug?
sudo bash -c '
printf "%-8s %-6s %s\n" WATCHES PID CMD
for p in /proc/[0-9]*; do
pid=${p#/proc/}
sum=0
for fi in "$p"/fdinfo/*; do
[ -f "$fi" ] || continue
c=$(grep -c "^inotify" "$fi" 2>/dev/null || true)
sum=$((sum + c))
done
if [ "$sum" -gt 0 ]; then
cmd=$(tr -d "\0" < "$p/cmdline" | head -c 120)
printf "%-8s %-6s %s\n" "$sum" "$pid" "$cmd"
fi
done 2>/dev/null | sort -nr | head
'WATCHES PID CMD
517372 2384325 /home/xxx/.vscode-server/extensions/ms-azuretools.vscode-azure-mcp-server-0.5.3-linux-x64/server/azmcpserverstart
jolsen-mitsu
Metadata
Metadata
Assignees
Labels
server-Azure.McpAzure.Mcp.ServerAzure.Mcp.Servertools-VSIXVS Code Marketplace SetupVS Code Marketplace Setup
Type
Projects
Status
Not Started