components/
├── Button.jsx
├── UserProfile.jsx
├── DataTable.jsx
└── ProcurementStatusDetail/
├── index.js
How to Solve "Failed to create session: Maximum number of sessions (8192) reached, refusing further sessions"
When you see this error in your system logs:
pam_systemd(crond:session): Failed to create session: Maximum number of sessions (8192) reached, refusing further sessions.
pam_systemd(sshd:session): Failed to create session: Maximum number of sessions (8192) reached, refusing further sessions.
Google Maps Platform menggunakan sistem pay-as-you-use dengan berbagai API yang berbeda-beda harganya. Setiap bulan mendapat $200 USD free credits yang bisa digunakan untuk semua layanan Google Cloud Platform.
Kegunaan:
This guide shows how to use Tailscale (a mesh VPN) together with Parsec (a high-performance remote desktop tool) to:
- Securely access your machine from anywhere
- Avoid port forwarding or exposing public IPs
- Improve peer-to-peer connection reliability
✅ Branch develop → Deploy to staging server
✅ Branch main → Deploy to production server
✅ Environment & Secrets are used to securely store credentials
GitHub Actions requires SSH access to the VPS for deployment.
On both the development and production VPS, run the following:
| [program:goaccess] | |
| command=/usr/bin/goaccess /var/log/nginx/access.log -o /var/www/goaccess/index.html --log-format=COMBINED --real-time-html --tz=Asia/Jakarta --ws-url=wss://subdomain.example.com:443/wss --port 7890 | |
| directory=/var/www/goaccess | |
| environment=HOME="/root",USER="root" | |
| autostart=true | |
| autorestart=true | |
| startretries=3 | |
| user=root | |
| redirect_stderr=true | |
| stdout_logfile=/var/log/supervisor/goaccess.log |
First step was backup your Linux VPS directly on the server and then download it into your machine. Here’s how to create a compressed backup and download it afterward.
- Create a Compressed Archive on the VPS:
- You can use
tarto create a compressed archive of the entire root filesystem while excluding directories that don’t need to be backed up (such as/dev,/proc,/sys, etc.). - Run the following command on your VPS:
- You can use
| services: | |
| goaccess: | |
| container_name: goaccess | |
| image: allinurl/goaccess:latest | |
| volumes: | |
| - "/var/log/nginx:/var/log/nginx:ro" | |
| - "/var/www/goaccess:/var/www/goaccess:rw" | |
| ports: | |
| - "7890:7890" | |
| command: "/var/log/nginx/access.log --log-format=COMBINED -o /var/www/goaccess/index.html --real-time-html --tz=Asia/Jakarta --ws-url=wss://subdomain.example.com:443/wss --port=7890" |