/new lag and not create new session
Open 💬 3 comments Opened Jul 21, 2026 by khanhthanhdev
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
0.144.6
What subscription do you have?
Plus
Which model were you using?
_No response_
What platform is your computer?
WSL2 Ubuntu 24.04 LTS
What terminal emulator and version are you using (if applicable)?
Window Terminal WSL
Codex doctor report
{
"schemaVersion": 1,
"generatedAt": "1784596586s since unix epoch",
"overallStatus": "warning",
"codexVersion": "0.144.6",
"checks": {
"app_server.status": {
"id": "app_server.status",
"category": "app-server",
"status": "ok",
"summary": "background server is not running",
"details": {
"control socket": "/home/thanh/.codex/app-server-control/app-server-control.sock",
"daemon state dir": "/home/thanh/.codex/app-server-daemon",
"mode": "ephemeral",
"pid file": "/home/thanh/.codex/app-server-daemon/app-server.pid (missing)",
"settings": "/home/thanh/.codex/app-server-daemon/settings.json (missing)",
"status": "not running",
"update-loop pid file": "/home/thanh/.codex/app-server-daemon/app-server-updater.pid (missing)"
},
"remediation": null,
"durationMs": 0
},
"auth.credentials": {
"id": "auth.credentials",
"category": "auth",
"status": "ok",
"summary": "auth is configured",
"details": {
"auth file": "/home/thanh/.codex/auth.json",
"auth storage mode": "File",
"stored API key": "false",
"stored ChatGPT tokens": "true",
"stored agent identity": "false",
"stored auth mode": "chatgpt"
},
"remediation": null,
"durationMs": 0
},
"config.load": {
"id": "config.load",
"category": "config",
"status": "ok",
"summary": "config loaded",
"details": {
"CODEX_HOME": "/home/thanh/.codex",
"config.toml": "/home/thanh/.codex/config.toml",
"config.toml parse": "ok",
"cwd": "/home/thanh/code/vinuni/aikc",
"enabled feature flags": "shell_tool, unified_exec, shell_snapshot, code_mode_host, terminal_resize_reflow, sqlite, memories, hooks, enable_request_compression, multi_agent, apps, tool_search_always_defer_mcp_tools, tool_suggest, plugins, in_app_browser, browser_use, browser_use_full_cdp_access, browser_use_external, computer_use, remote_plugin, plugin_sharing, external_migration, image_generation, resize_all_images, skill_mcp_dependency_install, mentions_v2, steer, guardian_approval, goals, collaboration_modes, tool_call_mcp_elicitation, auth_elicitation, personality, fast_mode, tui_app_server, prevent_idle_sleep, remote_compaction_v2, workspace_dependencies",
"feature flag overrides": "memories=true, external_migration=true, prevent_idle_sleep=true",
"feature flags enabled": "38",
"log dir": "/home/thanh/.codex/log",
"mcp servers": "2",
"model": "gpt-5.6-terra",
"model provider": "openai",
"sqlite home": "/home/thanh/.codex"
},
"remediation": null,
"durationMs": 0
},
"git.environment": {
"id": "git.environment",
"category": "git",
"status": "ok",
"summary": "git version 2.43.0",
"details": {
".git entry": "directory",
"PATH git #1": "/usr/bin/git",
"PATH git #2": "/bin/git",
"PATH git entries": "2",
"git branch": "main",
"git build options": "git version 2.43.0; cpu: x86_64; no commit associated with this build; sizeof-long: 8; sizeof-size_t: 8; shell-path: /bin/sh",
"git exec path": "/usr/lib/git-core",
"git version": "git version 2.43.0",
"repo detected": "true",
"repo root": "/home/thanh/code/vinuni/aikc",
"selected git": "/usr/bin/git"
},
"remediation": null,
"durationMs": 115
},
"installation": {
"id": "installation",
"category": "install",
"status": "ok",
"summary": "installation looks consistent",
"details": {
"PATH codex #1": "/home/thanh/.local/bin/codex",
"PATH codex #2": "/home/thanh/.local/bin/codex",
"PATH codex #3": "/home/thanh/.local/bin/codex",
"PATH codex #4": "/home/thanh/.local/bin/codex",
"PATH codex #5": "/home/thanh/.local/bin/codex",
"PATH codex #6": "/home/thanh/.local/bin/codex",
"PATH codex entries": "6",
"current executable": "/home/thanh/.codex/packages/standalone/releases/0.144.6-x86_64-unknown-linux-musl/bin/codex",
"install context": "standalone (unix, package /home/thanh/.codex/packages/standalone/releases/0.144.6-x86_64-unknown-linux-musl, bin /home/thanh/.codex/packages/standalone/releases/0.144.6-x86_64-unknown-linux-musl/bin, resources /home/thanh/.codex/packages/standalone/releases/0.144.6-x86_64-unknown-linux-musl/codex-resources, path /home/thanh/.codex/packages/standalone/releases/0.144.6-x86_64-unknown-linux-musl/codex-path)",
"managed by bun": "false",
"managed by npm": "false",
"managed by pnpm": "false",
"managed package root": "not set"
},
"remediation": null,
"durationMs": 45
},
"mcp.config": {
"id": "mcp.config",
"category": "mcp",
"status": "warning",
"summary": "MCP configuration has optional issues",
"details": {
"configured servers": "2",
"disabled servers": "0",
"optional reachability failed": "fusion360: http://127.0.0.1:27182/mcp (HEAD request timed out; GET request timed out)",
"stdio servers": "1",
"streamable_http servers": "1"
},
"remediation": "Set the missing MCP env vars or disable the affected server.",
"durationMs": 6037
},
"network.env": {
"id": "network.env",
"category": "network",
"status": "ok",
"summary": "network-related environment looks readable",
"details": {
"proxy env vars": "none"
},
"remediation": null,
"durationMs": 0
},
"network.provider_reachability": {
"id": "network.provider_reachability",
"category": "reachability",
"status": "ok",
"summary": "active provider endpoints are reachable over HTTP",
"details": {
"ChatGPT base URL": "https://chatgpt.com/backend-api/ reachable (HTTP 404)",
"reachability mode": "ChatGPT auth"
},
"remediation": null,
"durationMs": 390
},
"network.websocket_reachability": {
"id": "network.websocket_reachability",
"category": "websocket",
"status": "ok",
"summary": "Responses WebSocket handshake succeeded",
"details": {
"DNS": "2 IPv4, 2 IPv6, first IPv6",
"auth mode": "chatgpt",
"connect timeout": "15000 ms",
"endpoint": "wss://chatgpt.com/backend-api/<redacted>",
"handshake result": "HTTP 101 Switching Protocols",
"model provider": "openai",
"models etag present": "true",
"provider name": "OpenAI",
"proxy env vars": "none",
"reasoning header": "false",
"server model present": "false",
"supports websockets": "true",
"wire API": "responses"
},
"remediation": null,
"durationMs": 808
},
"runtime.provenance": {
"id": "runtime.provenance",
"category": "runtime",
"status": "ok",
"summary": "running standalone on linux-x86_64",
"details": {
"commit": "unknown",
"current executable": "/home/thanh/.codex/packages/standalone/releases/0.144.6-x86_64-unknown-linux-musl/bin/codex",
"install method": "standalone (unix, package /home/thanh/.codex/packages/standalone/releases/0.144.6-x86_64-unknown-linux-musl, bin /home/thanh/.codex/packages/standalone/releases/0.144.6-x86_64-unknown-linux-musl/bin, resources /home/thanh/.codex/packages/standalone/releases/0.144.6-x86_64-unknown-linux-musl/codex-resources, path /home/thanh/.codex/packages/standalone/releases/0.144.6-x86_64-unknown-linux-musl/codex-path)",
"platform": "linux-x86_64",
"version": "0.144.6"
},
"remediation": null,
"durationMs": 0
},
"runtime.search": {
"id": "runtime.search",
"category": "search",
"status": "ok",
"summary": "search is OK (bundled)",
"details": {
"search command": "/home/thanh/.codex/packages/standalone/releases/0.144.6-x86_64-unknown-linux-musl/codex-path/rg",
"search command readiness": "file exists",
"search provider": "bundled"
},
"remediation": null,
"durationMs": 0
},
"sandbox.helpers": {
"id": "sandbox.helpers",
"category": "sandbox",
"status": "ok",
"summary": "sandbox configuration is readable",
"details": {
"approval policy": "Never",
"codex-linux-sandbox helper": "/home/thanh/.codex/tmp/arg0/codex-arg0C7RIeG/codex-linux-sandbox",
"execve wrapper helper": "/home/thanh/.codex/tmp/arg0/codex-arg0C7RIeG/codex-execve-wrapper",
"filesystem sandbox": "unrestricted",
"network sandbox": "enabled"
},
"remediation": null,
"durationMs": 2
},
"state.paths": {
"id": "state.paths",
"category": "state",
"status": "ok",
"summary": "state paths and databases are inspectable",
"details": {
"CODEX_HOME": "/home/thanh/.codex (dir)",
"active rollout files": "888 files, 792817146 total bytes, 892812 average bytes",
"archived rollout files": "0 files, 0 total bytes, 0 average bytes",
"goals DB": "/home/thanh/.codex/goals_1.sqlite (file)",
"goals DB integrity": "ok",
"log DB": "/home/thanh/.codex/logs_2.sqlite (file)",
"log DB integrity": "ok",
"log dir": "/home/thanh/.codex/log (dir)",
"memories DB": "/home/thanh/.codex/memories_1.sqlite (file)",
"memories DB integrity": "ok",
"sqlite home": "/home/thanh/.codex (dir)",
"standalone release cache": "4 entries in /home/thanh/.codex/packages/standalone/releases",
"state DB": "/home/thanh/.codex/state_5.sqlite (file)",
"state DB integrity": "ok"
},
"remediation": null,
"durationMs": 3494
},
"state.rollout_db_parity": {
"id": "state.rollout_db_parity",
"category": "threads",
"status": "warning",
"summary": "rollout files and state DB thread inventory differ",
"details": {
"default model provider": "openai",
"rollout DB active files": "888",
"rollout DB active rows": "875",
"rollout DB archive mismatches": "0",
"rollout DB archived files": "0",
"rollout DB archived rows": "0",
"rollout DB duplicate DB paths": "0",
"rollout DB duplicate rollout thread ids": "0",
"rollout DB malformed file names": "0",
"rollout DB missing active rows": "790",
"rollout DB missing active sample": [
"/home/thanh/.codex/sessions/2026/04/04/rollout-2026-04-04T10-22-51-019d5683-ce82-7610-b05b-abf3a78d5243.jsonl",
"/home/thanh/.codex/sessions/2026/04/04/rollout-2026-04-04T10-33-14-019d568d-4da9-7431-bfb8-415ea29f09bc.jsonl",
"/home/thanh/.codex/sessions/2026/04/04/rollout-2026-04-04T10-23-09-019d5684-120d-77d2-84a6-8c98322bcb3c.jsonl",
"/home/thanh/.codex/sessions/2026/04/04/rollout-2026-04-04T10-20-31-019d5681-a873-7c12-9ef4-b1c5a4ec7420.jsonl",
"/home/thanh/.codex/sessions/2026/04/04/rollout-2026-04-04T10-32-54-019d568d-0209-7861-93cb-42d1e01a6ce9.jsonl"
],
"rollout DB missing archived rows": "0",
"rollout DB model providers": "openai=875",
"rollout DB rows": "875",
"rollout DB scan cap reached": "false",
"rollout DB scan errors": "0",
"rollout DB sources": "cli=724, subagent:thread_spawn=80, subagent:other=27, unknown=21, subagent:review=12, exec=10, vscode=1",
"rollout DB stale row sample": [
"/home/thanhkt/.codex/sessions/2026/02/28/rollout-2026-02-28T21-30-14-019ca4a8-3bc1-76e1-9044-5f9d7bd0d47b.jsonl",
"/home/thanhkt/.codex/sessions/2026/02/28/rollout-2026-02-28T23-10-30-019ca504-083a-7920-881f-55e10c6e6972.jsonl",
"/home/thanhkt/.codex/sessions/2026/03/01/rollout-2026-03-01T09-55-25-019ca752-7811-7a32-ab6a-2d02081648fe.jsonl",
"/home/thanhkt/.codex/sessions/2026/03/01/rollout-2026-03-01T10-02-50-019ca759-432a-7f61-8a81-c509c884f56a.jsonl",
"/home/thanhkt/.codex/sessions/2026/03/01/rollout-2026-03-01T11-00-40-019ca78e-3565-7971-892c-ada1c43fe145.jsonl"
],
"rollout DB stale rows": "777"
},
"issues": [
{
"severity": "warning",
"cause": "rollout files are missing from the state DB",
"measured": "790 active, 0 archived",
"expected": "every rollout file has a matching threads row",
"remedy": null,
"fields": []
},
{
"severity": "warning",
"cause": "state DB rows point at missing or unusable rollout files",
"measured": "777 stale rows",
"expected": "every state DB rollout path is a file on disk",
"remedy": null,
"fields": []
}
],
"remediation": null,
"durationMs": 14741
},
"system.environment": {
"id": "system.environment",
"category": "system",
"status": "ok",
"summary": "OS language C",
"details": {
"EDITOR": "not set",
"LANG": "C.UTF-8",
"LESS": "set",
"PAGER": "set",
"VISUAL": "not set",
"os": "Ubuntu 24.4.0 (noble) [64-bit]",
"os language": "C",
"os type": "Ubuntu",
"os version": "24.4.0"
},
"remediation": null,
"durationMs": 13
},
"terminal.env": {
"id": "terminal.env",
"category": "terminal",
"status": "warning",
"summary": "height 14 rows - content may scroll off (recommended >=24)",
"details": {
"COLORTERM": "truecolor",
"DISPLAY": "present",
"TERM_PROGRAM": "zed",
"WAYLAND_DISPLAY": "present",
"WSL_DISTRO_NAME": "present",
"WSL_INTEROP": "present",
"WT_SESSION": "present",
"color output": "enabled",
"effective locale": "C.UTF-8",
"stderr is terminal": "true",
"stdin is terminal": "true",
"stdout is terminal": "true",
"terminal": "unknown",
"terminal size": "127x14",
"terminal version": "1.11.3+stable.326.952d712dac48a4af2c54fb22c82d82a9d69b72d4"
},
"issues": [
{
"severity": "warning",
"cause": "height 14 rows - content may scroll off (recommended >=24)",
"measured": "127 x 14",
"expected": ">= 24 rows",
"remedy": "resize the window to at least 24 rows",
"fields": [
"terminal size"
]
}
],
"remediation": null,
"durationMs": 0
},
"terminal.title": {
"id": "terminal.title",
"category": "title",
"status": "ok",
"summary": "terminal title default",
"details": {
"terminal title activity": "true",
"terminal title items": "activity, project-name",
"terminal title project source": "git repo root",
"terminal title project value": "aikc",
"terminal title source": "default"
},
"remediation": null,
"durationMs": 0
},
"updates.status": {
"id": "updates.status",
"category": "updates",
"status": "ok",
"summary": "update configuration is locally consistent",
"details": {
"cached latest version": "0.144.6",
"check for update on startup": "true",
"last checked at": "2026-07-20T09:07:39.378213411Z",
"latest version": "0.144.6",
"latest version status": "current version is not older",
"update action": "standalone installer",
"version cache": "/home/thanh/.codex/version.json"
},
"remediation": null,
"durationMs": 532
}
}
}
What issue are you seeing?
<img width="1184" height="487" alt="Image" src="https://github.com/user-attachments/assets/4f153463-461a-496b-80fe-ad19a03dc806" />
What steps can reproduce the bug?
Run a session,
Type: /new to create new session and stuck
What is the expected behavior?
Type /new to create new session
Additional information
_No response_
Showing cached comments. Read the full discussion on GitHub ↗
2 Comments
I also found it take very long time to do /compact
Thanks for the report. I think we found a likely cause for the
/newdelay.Your Doctor report shows that the configured
fusion360MCP server athttp://127.0.0.1:27182/mcpis unreachable, and its reachability checks took about six seconds to time out. In Codex CLI 0.144.6, starting a new thread can wait for HTTP MCP authentication discovery, so an unavailable optional MCP server can delay/new.Could you temporarily disable that server in
~/.codex/config.toml, fully restart Codex, and try/newagain?Please let us know the approximate
/newtime before and after disabling it. If that makes/newimmediate, it confirms the cause. This is related to #29376, and the blocking startup behavior has already been fixed onmain.The slow
/compactmay be a separate problem because it does not start a new thread. If it remains slow withfusion360disabled, please:/compacttakes and whether it eventually completes or reports an error./feedbackimmediately afterward and paste the resultingUploaded thread: ...ID here.PreCompactorPostCompacthooks configured, share those sections with secrets and private paths removed.