Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
deb_mutism [2019/04/11 11:00] – [Manage connected WiFi SSID] Júne Park | deb_mutism [2019/04/15 20:11] – [Nginx with PHP Processor] Júne Park | ||
---|---|---|---|
Line 182: | Line 182: | ||
---- | ---- | ||
+ | ==== Disable sleep/ | ||
+ | |||
+ | When a system goes to sleep, suspend or hibernate mode, response from machine is extremely slow or timed out. Soon after waking up, system responses quickly. To prevent this, | ||
+ | |||
+ | <code bash> | ||
+ | sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
==== Let's Encrypted ==== | ==== Let's Encrypted ==== | ||
Line 258: | Line 268: | ||
</ | </ | ||
- | ---- | + | To use '' |
- | ==== Disable sleep/suspend/hibernate ==== | + | <code php> |
+ | ; | ||
+ | listen | ||
- | When a system goes to sleep, suspend or hibernate mode, response from machine is extremely slow or timed out. Soon after waking up, system responses quickly. To prevent this, | + | pm = dynamic |
+ | pm.max_children = 50 | ||
+ | pm.start_servers = 4 | ||
+ | pm.min_spare_servers = 4 | ||
+ | pm.max_spare_servers = 32 | ||
+ | pm.max_requests = 500 | ||
+ | </ | ||
- | <code bash> | + | '' |
- | sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target | + | |
- | </ | + | ---- |
- | ---- | ||
==== Install Wordpress™ ===== | ==== Install Wordpress™ ===== |