Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request converts legacy plain-text documentation into Markdown format and refines kernel tuning guides with expanded persistence instructions, process limit diagnostics, and additional references to kernel ceilings.
- Migrated all
.txtcheat sheets (LEMP, SSH, NTP, firewall, Docker, backup, Ansible) to.mdformat with consistent metadata and fenced code blocks - Expanded kernel tuning documentation with new inspection workflows,
sysctlpersistence patterns, I/O scheduler selection, and swap management - Introduced dedicated process and file descriptor limit guide with detailed soft/hard/kernel ceiling explanations
- Added pre-commit hooks, pymarkdown configuration, and GitHub Actions workflow for Markdown linting
Reviewed Changes
Copilot reviewed 64 out of 64 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
Tunning kernel/tuning_kernel.md |
New comprehensive kernel tuning overview with inspection commands and persistence best practices |
Tunning kernel/process_and_file_limits.md |
New dedicated guide for process limits, file descriptors, and kernel ceilings |
Tunning kernel/Tuning Kernel.txt |
Removed legacy plain-text kernel tuning file |
Tunning kernel/Max file descriptor |
Removed legacy plain-text file descriptor guide |
Web Services/LEMP-*.md |
Converted LEMP stack installation guides to Markdown |
SSH/SSH Overview.md |
Converted SSH hardening guide to Markdown |
NTP/NTP_basic.md |
Converted NTP configuration guide to Markdown |
Firewall/IPtables_basic.md |
Converted iptables configuration guide to Markdown |
Docker/*.md |
Converted multi-part Docker tutorial series to Markdown |
Backup/*.md |
Converted backup script documentation to Markdown |
README.md |
Updated repository overview with Markdown linting instructions |
.pre-commit-config.yaml, .pymarkdown.json, .github/workflows/markdown-lint.yml |
Added linting infrastructure |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| and comment the entry in `/etc/fstab` to make the change permanent. | ||
|
|
||
| ```bash | ||
| sudo swapoff -a |
There was a problem hiding this comment.
The sed pattern uses complex quoting and group references that may confuse readers. Consider adding an explanatory comment above this line describing that it comments out all swap entries in /etc/fstab by prepending a # to lines matching the pattern.
| sudo swapoff -a | |
| sudo swapoff -a | |
| # Comment out all swap entries in /etc/fstab by prepending a '#' |
|
|
||
| - **Author:** nduytg | ||
| - **Version:** 0.3 | ||
| - **Date:** 2017-04-12 |
There was a problem hiding this comment.
The date format is inconsistent with the format used in other files in this PR. Other files use YYYY-MM-DD format (e.g., '2017-11-14'), while this file uses YYYY-DD-MM format ('2017-04-12'). For consistency, consider standardizing on YYYY-MM-DD throughout the repository.
Summary
Testing
pre-commit run --all-files(command not found in container)https://chatgpt.com/codex/tasks/task_e_68ef8e35203083339da9a266f9a2f3f6