socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

com.publicdomainrelay.temp.compute.events.vm.oomKilled

record key any

The bidder reports that the kernel OOM-killed processes in the VM's host cgroup (memory.events oom_kill increased); sent as the payload of a market.event, one per new kill count, capped per contract.

record

fieldtypedescription
kills *integer
OOM kills in the VM's cgroup since the bidder's previous sample (it polls every 15 s); kills while the per-contract cap of 10 reports is reached are not reported later.
total *integer
OOM kills in the cgroup's lifetime.
limit *integer
memory.max in bytes.
observedAt *string datetime
createdAt *string datetime
signaturesnetwork.attested.signature#signatures

used in

guest-events: events under a receipt, lexicons-market: one row per lexicon, The protocol spec

raw schema: lexicons/com/publicdomainrelay/temp/compute/events/vm/oomKilled.json
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.compute.events.vm.oomKilled",
  "description": "The bidder reports that the kernel OOM-killed processes in the VM's host cgroup (memory.events oom_kill increased); sent as the payload of a market.event, one per new kill count, capped per contract.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": [
          "kills",
          "total",
          "limit",
          "observedAt",
          "createdAt"
        ],
        "properties": {
          "kills": {
            "type": "integer",
            "description": "OOM kills in the VM's cgroup since the bidder's previous sample (it polls every 15 s); kills while the per-contract cap of 10 reports is reached are not reported later."
          },
          "total": {
            "type": "integer",
            "description": "OOM kills in the cgroup's lifetime."
          },
          "limit": {
            "type": "integer",
            "description": "memory.max in bytes."
          },
          "observedAt": {
            "type": "string",
            "format": "datetime"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "signatures": {
            "type": "ref",
            "ref": "network.attested.signature#signatures"
          }
        }
      }
    }
  }
}