Title: Finding (performance) issues in PHP using GDB
Open Graph Title: Finding (performance) issues in PHP using GDB
X Title: Finding (performance) issues in PHP using GDB
Description: When a web request hangs, but you can't figure out how to find the culprit? With GDB, you can analyze PHP requests in more detail than you think.
Open Graph Description: When a web request hangs, but you can't figure out how to find the culprit? With GDB, you can analyze PHP requests in more detail than you think.
X Description: When a web request hangs, but you can't figure out how to find the culprit? With GDB, you can analyze PHP requests in more detail than you think.
Opengraph URL: https://fe.ax/checking-performance-problems-in-php-using-gdb/
Generator: Ghost 6.63
Domain: fe.ax
IPv4 address: 104.21.32.110
{
"@context": "https://schema.org",
"@type": "Article",
"publisher": {
"@type": "Organization",
"name": "FeaX's Blog",
"url": "https://fe.ax/",
"logo": {
"@type": "ImageObject",
"url": "https://fe.ax/content/images/2021/12/feax-3.png"
}
},
"author": {
"@type": "Person",
"name": "marco",
"image": {
"@type": "ImageObject",
"url": "https://fe.ax/content/images/2022/12/Untitlasded-2.png",
"width": 717,
"height": 717
},
"url": "https://fe.ax/author/marco/",
"sameAs": []
},
"headline": "Finding (performance) issues in PHP using GDB",
"url": "https://fe.ax/checking-performance-problems-in-php-using-gdb/",
"datePublished": "2022-02-10T21:42:55.000Z",
"dateModified": "2022-03-25T19:58:14.000Z",
"description": "Has it ever happened to you when a specific web request keeps loading and loading? Can't figure out where the code is crashing into a segfault? Say no more. You can use a tool called GDB for various complex things. It's a debugger for binary applications which can do a lot more, and we're just going to scratch the surface in one specific way. A way that unveils the exact functions, lines and parameters it's running.\n\nWhen a web request caused PHP to segfault, I figured I could ask the kernel to ",
"mainEntityOfPage": "https://fe.ax/checking-performance-problems-in-php-using-gdb/"
}
| None | IE=edge |
| HandheldFriendly | True |
| referrer | no-referrer-when-downgrade |
| og:site_name | FeaX's Blog |
| og:type | article |
| article:published_time | 2022-02-10T21:42:55.000Z |
| article:modified_time | 2022-03-25T19:58:14.000Z |
| twitter:card | summary |
| twitter:url | https://fe.ax/checking-performance-problems-in-php-using-gdb/ |
| twitter:label1 | Written by |
| twitter:data1 | marco |
Links:
| https://fe.ax | |
| Home | https://fe.ax/ |
| Terraform | https://fe.ax/tag/terraform/ |
| K8s Cheatsheet | https://fe.ax/k8s-cheatsheet/ |
| Rancher Terraform | https://github.com/fe-ax/tf-rancher |
| Linux Cheatsheet | https://fe.ax/linux-cheatsheet/ |
| Me (LinkedIn) | https://www.linkedin.com/in/marco-stuurman/ |
| https://fe.ax/author/marco/ | |
| marco | https://fe.ax/author/marco/ |
| jolicode | https://jolicode.com/blog/find-segfaults-in-php-like-a-boss |
| grab it from here | https://github.com/php/php-src/blob/PHP-7.4.27/.gdbinit |
| Speed up kubectl commands (and k9s) when using AWS AWS runs the AWS-CLI every time you run a command using kubectl. It's in your kubeconfig file. I started to notice it and came up with this script to bypass the slow AWS CLI. #!/usr/bin/env bash set -euo pipefail # Build an array of non-flag | https://fe.ax/speed-up-kubectl-commands-and-k9s-when-using-aws/ |
| Isolating DevOps changes using ephemeral infra environments This blog post describes DevOps' ephemeral environments, a way for DevOps to create safe environments to test changes to the cluster. | https://fe.ax/ephemeral-infra-environments/ |
| https://fe.ax/bootstrapping-tf-gha-for-aws/ | |
| Bootstrapping Terraform GitHub Actions for AWS Bootstrapping all Terraform required components to run and manage itself in GitHub Actions for AWS. | https://fe.ax/bootstrapping-tf-gha-for-aws/ |
| FeaX's Blog | https://fe.ax |
| Contact | https://www.linkedin.com/in/marco-stuurman/ |
| Powered by Ghost | https://ghost.org/ |
| Server | cloudflare |
| Content-Type | text/html; charset=utf-8 |
| X-Powered-By | Express |
| Cache-Control | public, max-age=0 |
Viewport: width=device-width, initial-scale=1.0