注册 登录
  • 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 为方便开心洋葱网用户,开心洋葱官网已经开启复制功能!
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!
  • 感谢各位客官的到来,小站的已经免费运营了15年头了,如果您觉着好,看着文章写的不错,还请看官给小站打个赏~~~~~~~~~~~~~!

OpenClaw 本地跑ollama模型出现超时问题解决办法

🦞 OpenClaw-CN  0.1.8-fix.3 (10afea4) — 因为Siri不在凌晨3点回复。

05:48:56 [canvas] host mounted at http://127.0.0.1:18789/__clawdbot__/canvas/ (root C:\Users\yang\clawd\canvas)
05:48:57 [hooks] ensure skills watcher is running for all agent workspaces
05:48:57 [heartbeat] started
05:48:57 [gateway] agent model: ollama/qwen3:4b
05:48:57 [gateway] listening on ws://127.0.0.1:18789 (PID 6856)
05:48:57 [gateway] listening on ws://[::1]:18789
05:48:58 [gateway] log file: \tmp\clawdbot\clawdbot-2026-03-19.log
05:48:58 [browser/server] Browser control listening on http://127.0.0.1:18791/ (auth=token)
05:48:58 Registered hook: boot-md -> gateway:startup
05:48:58 Registered hook: command-logger -> command
05:48:58 Registered hook: session-memory -> command:new
05:48:58 [hooks] loaded 3 internal hook handlers
05:49:00 [bonjour] gateway name conflict resolved; newName="DESKTOP-E91AKQN (Clawdbot) (2)"
05:49:00 [bonjour] gateway hostname conflict resolved; newHostname="DESKTOP-E91AKQN-(2)"
05:49:08 [ws] webchat connected conn=f59a1127-23cf-47d1-a331-e5d8eb6ac5eb remote=127.0.0.1 client=clawdbot-control-ui webchat vdev
05:49:08 [ws] ⇄ res ✓ node.list 53ms conn=f59a1127…c5eb id=4fe9c600…8bd7
05:49:08 [ws] ⇄ res ✓ device.pair.list 60ms conn=f59a1127…c5eb id=10bec21b…3896
05:49:08 [ws] ⇄ res ✓ chat.history 97ms conn=f59a1127…c5eb id=69ed1878…6a7d
05:51:44 [ws] ⇄ res ✓ status 66ms conn=f59a1127…c5eb id=f7a86de5…cc03
05:52:06 [ws] ⇄ res ✓ config.schema 95ms conn=f59a1127…c5eb id=55d01036…1f05
05:54:20 [ws] ⇄ res ✓ chat.history 58ms conn=f59a1127…c5eb id=dd9733b2…e13d
05:54:38 [ws] ⇄ res ✓ node.list 289ms conn=f59a1127…c5eb id=733be6c0…d295
05:54:45 [ws] ⇄ res ✓ node.list 1779ms conn=f59a1127…c5eb id=d5ce1301…bcd4
05:56:34 [ws] ⇄ res ✓ node.list 59ms conn=f59a1127…c5eb id=71fc3971…22e3
05:56:40 [ws] ⇄ res ✓ node.list 52ms conn=f59a1127…c5eb id=0f0c4465…40c6
05:57:04 [ws] ⇄ res ✓ node.list 63ms conn=f59a1127…c5eb id=68f61fe6…a80d
05:59:36 [ws] ⇄ res ✓ chat.history 155ms conn=f59a1127…c5eb id=8468424a…37e2
06:00:03 [ws] ⇄ res ✓ node.list 129ms conn=f59a1127…c5eb id=ceda2cbd…73e9
06:00:36 [ws] ⇄ res ✓ node.list 80ms conn=f59a1127…c5eb id=5d6e5cf7…293a
06:01:31 [ws] ⇄ res ✓ node.list 110ms conn=f59a1127…c5eb id=0099112b…2278
06:01:46 [ws] ⇄ res ✓ node.list 129ms conn=f59a1127…c5eb id=c8f3076e…ac26
06:01:55 [ws] ⇄ res ✓ node.list 90ms conn=f59a1127…c5eb id=2167e939…9209
06:02:33 [ws] ⇄ res ✓ node.list 66ms conn=f59a1127…c5eb id=d6fb9aa6…5bf2
06:04:25 [agent/embedded] embedded run timeout: runId=a3aa1810-72ae-4e04-a9de-af6733bea777 sessionId=3f99e6dc-a298-4460-a473-1f316a87b301 timeoutMs=600000
06:04:34 [ws] ⇄ res ✓ node.list 145ms conn=f59a1127…c5eb id=5ca0cfca…510c
06:06:28 [ws] ⇄ res ✓ node.list 68ms conn=f59a1127…c5eb id=8ace1279…9143
06:06:34 [ws] ⇄ res ✓ node.list 95ms conn=f59a1127…c5eb id=89a37fc7…81d7
06:06:48 [ws] ⇄ res ✓ node.list 56ms conn=f59a1127…c5eb id=14046295…a466
06:06:55 [ws] ⇄ res ✓ node.list 72ms conn=f59a1127…c5eb id=e27f5010…4dbb
06:07:18 [ws] ⇄ res ✓ node.list 164ms conn=f59a1127…c5eb id=447a7361…0a66
06:08:05 [ws] ⇄ res ✓ node.list 64ms conn=f59a1127…c5eb id=e5f049c9…fb73
06:09:03 [ws] ⇄ res ✓ node.list 126ms conn=f59a1127…c5eb id=3a824a76…9794 

聊天对话框输入文字后,电脑就卡掉了,知道出现警告超时,单独使用ollama正常回复,在openclaw里无法返回,并且超市超时解决办法

 

文档里清楚写着:Agent runtime默认只有600秒(10分钟)。而咱们本地模型处理复杂任务,20-30分钟是家常便饭。10分钟?连热身都不够!

一旦超时,系统就会触发“Agent timeout (abort)”——任务被强制中止,界面看起来就像假死一样,其实后台早就停了。

解决方案其实超简单,一行命令搞定:

openclaw config set agents.defaults.timeoutSeconds 1800

 

(这个1800秒就是30分钟,这里需要你按照自己的需要调整,我目前没有发现再出现 run abort 的现象了,在发现了,就只能再加长些,不过等本地玩熟了,还是充值 coding plan去)

然后重启 gateway 服务:

openclaw gateway restart


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明OpenClaw 本地跑ollama模型出现超时问题解决办法
喜欢 (0)
[感谢客官~]
分享 (0)
关于作者:
开心洋葱,开心洋葱头,水墨

您必须 登录 才能发表评论!

加载中……