Skip to content

Instantly share code, notes, and snippets.

View rhmnrf's full-sized avatar
😁
Currently busy at @Perum-Perhutani

Arif rhmnrf

😁
Currently busy at @Perum-Perhutani
View GitHub Profile
@rhmnrf
rhmnrf / steam.md
Created December 11, 2020 18:51 — forked from graffic/steam.md
Downloading steam games from another computer/faster line

Framing the issue

With almost no bandwith at home, I needed a way to download DOOM that didn't involve blocking the home internet line for two days.

Approach

Using steamcmd you can use any computer to download steam games.

Downloading

  1. Install it
  2. Open it and loging with your username and password: login username password
@rhmnrf
rhmnrf / php-pools.md
Created March 19, 2020 05:03 — 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