• Stars
    star
    250
  • Rank 162,397 (Top 4 %)
  • Language
  • Created almost 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Examples of OS / system limits

awesome limits

Preamble

Everything has limits, including software systems. When you hit these limits, bad things can happen.

You've probably hit memory and disk limits, but those aren't the only ones.

This page lists limits that, when breached, led to someone having a bad time. I tweeted about limits and got all sorts of interesting responses. This page contains some of them, with links to the tweets, which often contain more details.

Examples of limits that have been breached with ill consequences

inodes. @aegis, Alex Elman, Benjamin Stein, Thomas Attree, @dmolnar, @anotherwalther, Jinsy Oommen, Rafael Jesus, Ondrej Kokes, Peter Wang, Cadey A. Ratio, @williamsjoe, Nic Wise, ericdennis

open file descriptors / handles. Moritz Lenz, Matt McDonald, @aegis, Bruno FΓ©lix, Ken Carroll, @ehashdn, Jeff Bean, @patriotvn, Peter Wang, @asm0dio, @williamsjoe, ericdennis, Jakub Korab

processes (pids). @RuinTaughtMe, @patriotvn, Matt Tex Ackerle, @pete23com

Ports. @qudooschaudhry, Alex Hidalgo, Rafael Jesus, @williamsjoe

TCP connections. Sheeri K. Cabral, @Pluto_Berlin

Threads. @dbsmasher, David Bezley

Entropy pool. Justin Manchester, Petru Ratiu

Shebang length. @bengerman13, Anthony Sottile

Virtual memory. @shanemhansen, @williamsjoe

How fast the kernel can find an unused port to allocate a new connection. Sean Kilgore

Pod memory limits. @dastbe

Environment variable size. Glen Mailer

Java ring buffer size. Richard Tibbetts

.NET framework threadpool I/O completion port limit. Brandon Paddock

SQL Server buffer cache. Dave Poole

Concurrency limit of Java concurrent hash map. Matt McDonald

ulimit on number of processes that can be run per user. Ben Hemphill

memlock with JVM. @aegis

IOPs Arie Kachler, Jesse Noller

System time divergence. Nicolai von Neudeck

Goroutines. @beccadottex

Number of fields in an elastic search index. @bengerman13

Filename / path size limit, on Windows. @BennettElder, Peter Wang

Number of vlans in vmware vcloud director, 2015 edition. Jose manuel de arce

ipconntrack. @shanemhansen, Glen Mailer

Load balancer license connection limits. Franklin Wirtz

Wal senders. Max Knee

Kernel udp rx buffer size. @sjoeboo

Network bandwidth. @anotherwalther, Rafael Jesus

AWS API limit on number of requests made per minute when requesting new instances. Justin Manchester

Number of links to a file. @mendel

Number of files per directory. @hlieberman

VPC DNS packet limits. Rafael Jesus

Number of huge pages. @patriotvn

Connections to Oracle database. Viktor Gamov

Socket filename length limit. Anthony Sottile

Stack size. @williamsjoe

Buffer exhaustion in NICs & switches. @williamsjoe

AWS EC2 instance count limits. Nic Wise

Time Wait Assasination. John Allspaw

Semaphores. @rknayyar

Number of OS threads. AWS 2020-11-25

More Repositories

1

resilience-engineering

Resilience engineering papers
2,803
star
2

ansible-quickref

Quick reference for Ansible variables
964
star
3

ansiblebook

Code samples from the book "Ansible: Up and Running"
Python
324
star
4

systems-reading

Systems and failure reading list
180
star
5

cognitive-systems-engineering

101
star
6

devstack-vm

Boot a VM and auto-install devstack
Python
80
star
7

messiness

Messiness reading list
55
star
8

availability-reading

High availability reading list
49
star
9

res-eng-short-course-notes

Notes on David Woods's Resilience Engineering short course
39
star
10

dns-alloy

Modeling DNS with Alloy
36
star
11

tla-linearizability

Reading the linearizability paper with TLA+
TLA
31
star
12

openstack-hackspace

Exercises for OpenStack Hackspace at USENIX LISA '13
30
star
13

systems-thinking

Overview of different schools of systems thinking
29
star
14

ansible-docker-connection

Docker connection plugin for Ansible
Python
26
star
15

engineering-reading

Engineering reading list
21
star
16

cheat-sheets

Ruby
20
star
17

major-incidents

A sample of major outages and incidents
18
star
18

epidemic-register

Beating the CAP theorem with the epidemic register
TLA
16
star
19

booknotes

Notes about books I've read
16
star
20

alb-alloy

Modeling AWS application load balancers using Alloy
13
star
21

tla-boat

9
star
22

image-guide

Guide to creating VM images
7
star
23

ansible-resources

User contributed modules, playbooks, scripts, and articles
6
star
24

mezzanine-example

Python
5
star
25

raft-pluscal

TLA
4
star
26

vim.ftplugin

FoldingText plugin for vim bindings
JavaScript
4
star
27

ansible-mezzanine

Python
4
star
28

try-except-c

Playing with setjmp/longjmp
C
4
star
29

alloy-consistency

Modeling eventual consistency with Alloy
Alloy
4
star
30

sheetdown

Google Sheets β†’ Markdown
Clojure
3
star
31

tla-tortoise-hare

TLA
3
star
32

mezzanine-paas

Deploy Mezzanine on PaaS platforms
JavaScript
3
star
33

cook-lectures-notes

Notes on Dr. Richard Cook's lectures on the study of cognitive work
3
star
34

tla-prophecy

Applying Prophecy variables in TLA+ to the Herlihy & Wing paper
TLA
3
star
35

mysetup

Personal config stuff
3
star
36

big-ideas

Big ideas that have influenced me
3
star
37

code-reviews

Guidance on doing code reviews
3
star
38

paxos-poec

Paxos modeled in Alloy using Burckhardt's approach
Alloy
3
star
39

eng-qua-eng

Engineering as described by engineers
2
star
40

shelllogger

Automatically exported from code.google.com/p/shelllogger
Python
2
star
41

failure-mode-bestiary

A collection of failure modes observed in software systems
2
star
42

alloy-consistency-models

Reading "A Framework for Transactional Consistency Models with Atomic Visibility" with alloy
Alloy
2
star
43

camp-devops-talk

1
star
44

roamjs-daily-zettles

A RoamJS plugin to show zettles each day
TypeScript
1
star
45

ipython-cumsum

1
star
46

clh-tla

Modeling a CLH lock in TLA+
TLA
1
star
47

ostack

Humane Python bindings for OpenStack
Python
1
star
48

uvalde

1
star
49

minecraft-forge-tutorial

Simple Minecraft Forge tutorial
CSS
1
star
50

cheat

Generate Dash cheat sheets
Go
1
star
51

md-alloy

Alloy models of aspects of Managed Delivery
Alloy
1
star
52

zotero-bb

Script for randomly selecting a paper from a zotero collection
Clojure
1
star
53

dotfiles

Vim Script
1
star
54

teaching-concurrency

Proof of the problem in Lamport's "Teaching Concurrency" paper
TLA
1
star
55

tla-tree

1
star
56

lorin.github.com

HTML
1
star
57

futex-tla

Modeling futexes in TLA+
TLA
1
star
58

transactions-reading-list

A reading list of interesting papers related to database transactions
1
star