Skip to content

Instantly share code, notes, and snippets.

View dmhendricks's full-sized avatar

Daniel M. Hendricks dmhendricks

View GitHub Profile
@dmhendricks
dmhendricks / index.html
Last active August 6, 2021 21:28
HTML 5 Boilerplate
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Boilerplate</title>
<meta name="description" content="Boilerplate" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="canonical" href="https://example.com/" />
@cloudcreatordotio
cloudcreatordotio / php-pools.md
Created November 18, 2019 22:12 — forked from holmberd/php-pools.md
Adjusting child processes for PHP-FPM (Nginx)

Adjusting child processes for PHP-FPM (Nginx)

When setting these options consider the following:

  • How long is your average request?
  • What is the maximum number of simultaneous visitors the site(s) get?
  • How much memory on average does each child process consume?

Determine if the max_children limit has been reached.

  • sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log