CLI tool that queries the Kernel API for past browser sessions and exports them to CSV.
npm installSlack: https://onkernel.slack.com/archives/C0925PJ42R4/p1777402605274079 Gist: https://gist.github.com/ehfeng/95a8d8ff04f066552ed243e1a351ab67
Felicity (org au2d7qfvqkhaxcqzmbd9xvch) reported CDP connections dropping with code 1006 during page.evaluate on tickertrends.io. They run two CDP connections (Stagehand + Playwright) with a screenshot loop every ~1s.
We ran oom-forensics.mjs which triggers OOM inside the VM and then inspects dmesg. The Linux OOM killer SIGKILL's the Chrome renderer process — and it looks exactly like the customer's symptoms:
| {"chrome_policy": { | |
| "ShowHomeButton": true, | |
| "HomepageLocation": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", | |
| "HomepageIsNewTabPage": false, | |
| "RestoreOnStartup": 4, | |
| "RestoreOnStartupURLs": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], | |
| "NewTabPageLocation": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", | |
| "BookmarkBarEnabled": true, | |
| "ManagedBookmarks": [ | |
| {"toplevel_name": "Never Gonna Give You Up"}, |
| package main | |
| import ( | |
| "encoding/binary" | |
| "fmt" | |
| "sync" | |
| "sync/atomic" | |
| "github.com/dgraph-io/badger/v4" | |
| ) |
| package main | |
| import ( | |
| "encoding/binary" | |
| "fmt" | |
| "sync" | |
| "github.com/dgraph-io/badger/v4" | |
| ) |
| package main | |
| import ( | |
| v8 "rogchap.com/v8go" | |
| ) | |
| type v8BuiltIns struct { | |
| Object struct { | |
| create *v8.Function | |
| defineProperty *v8.Function |
| package main | |
| import ( | |
| "fmt" | |
| "go.etcd.io/bbolt" | |
| ) | |
| var bucketName = []byte("MyBucket") |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "runtime" | |
| "sync" | |
| "time" | |
| v8 "rogchap.com/v8go" |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "runtime" | |
| "sync" | |
| "time" | |
| v8 "rogchap.com/v8go" |
| package main | |
| import ( | |
| "fmt" | |
| "runtime" | |
| "sync" | |
| "time" | |
| v8 "rogchap.com/v8go" | |
| ) |