Last active
June 25, 2016 00:53
-
-
Save shavit/0afc2d21e52780f317176d68d40e18ee to your computer and use it in GitHub Desktop.
Optimize Nginx and workers
This file contains 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
# workers | |
# grep processor /proc/cpuinfo | wc -l | |
# | |
# workers connections | |
# ulimit -n | |
# Check the architecture | |
grep --color=always -iw lm /proc/cpuinfo | |
# Buid go workers | |
# package main | |
# import "fmt" | |
# import "runtime" | |
# func main(){ | |
# fmt.Printf("Hello %s/%s\n", runtime.GOOS, runtime.GOARCH) | |
# } | |
# | |
# Ubuntu: | |
# linux/amd64 | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment