This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Root Cause Analysis: OIDC Listener TCP Accept Delays | |
| The Smoking Gun: Processor Thread Starvation via Synchronous HTTP | |
| There is a clear, plausible code-level explanation for why only the OIDC listener experiences TCP accept delays while the Kerberos listener on the same broker is | |
| unaffected. The issue is a cascading backpressure chain caused by synchronous HTTP calls during SASL/OAUTHBEARER authentication. | |
| The Chain of Events | |
| Here's the exact code path that causes the problem: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Read JSON input from stdin | |
| input=$(cat) | |
| # Extract working directory | |
| workdir=$(echo "$input" | jq -r '.workspace.current_dir') | |
| # Extract context window data | |
| usage=$(echo "$input" | jq '.context_window.current_usage') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import datetime | |
| import math | |
| import json | |
| config = json.loads(open('/usr/syno/etc/ssl/ssl.info/server.info').read()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x ~/osm2pgsql/build(master) $ cmake .. | |
| -- Building osm2pgsql 0.91.0-dev | |
| -- Boost version: 1.59.0 | |
| -- Found the following Boost libraries: | |
| -- system | |
| -- filesystem | |
| CMake Error at /opt/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message): | |
| Could NOT find PostgreSQL (missing: PostgreSQL_INCLUDE_DIR | |
| PostgreSQL_TYPE_INCLUDE_DIR) | |
| Call Stack (most recent call first): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| threads = [] | |
| for i in 0..1 | |
| puts "parent: #{i}" | |
| threads << Thread.new do | |
| puts "child: #{i}" | |
| end | |
| end |