- Montreal, QC, Canada
- http://valnet.ca
Pinned Loading
-
-
-
Node js Prime function
Node js Prime function 1prime = function (val) {
2if (val === 1) return false;
3else if (val === 2) return true;
4else if (val !== undefined) {
5var start = 1;
-
Adjusting child processes for PHP-FP...
Adjusting child processes for PHP-FPM (Nginx) 1Alternate way to find php-fpm size in human readable format.
2ps -eo size,pid,user,command --sort -size | awk '{ hr=$1/1024 ; printf("%13.2f Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }' | grep php-fpm
34pm.max_children = Total RAM dedicated to the web server / MAXIMUM child process size - in my case it was 85MB
5 -
nginx config tuning for best perform...
nginx config tuning for best performance and security 1https://www.owasp.org/index.php/SCG_WS_nginx#SSL_Module
23https://github.com/denji/nginx-tuning
45https://gist.github.com/plentz/6737338
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.