mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-12 16:00:33 +00:00
3571fb8d864ecac4b6a44208d4b572ddfc90724b
The SFTP uploader used io.Copy(dstFile, srcFile). Since the source is an *os.File it implements io.WriterTo, so io.Copy took the os.File.WriteTo branch and issued one synchronous SFTP WRITE per packet, waiting for the server reply every time. Throughput was therefore bounded by packetSize/RTT instead of the link capacity: on a ~68ms RTT link a 440MB backup reached only ~0.25 MB/s, while rclone / OpenSSH sftp reach 16-19 MB/s on the very same link and target. pkg/sftp already provides a pipelined write path (File.ReadFrom, enabled by UseConcurrentWrites and bounded by MaxConcurrentRequestsPerFile, default 64). Use it for uploads, and truncate the remote file to the number of bytes actually written when the concurrent write fails, to avoid leaving holes. Measured against the same 68ms RTT target: a 96MiB upload went from 6m40s (~0.25 MB/s) to ~6s (~16 MB/s); a 950MB three-site backup job from ~2h40m to ~2m04s. Co-authored-by: 4kercc <13767585+4kercc@users.noreply.github.com>
Loved by a global community of 2.5M+ self-hosters.
What is 1Panel?
1Panel is a modern, open-source Linux server management panel and a lightweight AI management platform. Through an intuitive web interface, it provides users with comprehensive, one-stop server management capabilities:
- AI Management: Offers a unified management platform from bare metal to agents (Metal-to-Agent). It integrates an AI gateway, and Skills Hub, while supporting centralized management of agents and models.
- Efficient Visual Operations: Easily manage Linux servers through a web-based GUI, streamlining tasks such as host monitoring, file management, database management, and container management.
- Rapid Website Deployment: Deeply integrates with popular website builders like WordPress and Halo. It enables one-click domain binding and SSL certificate configuration, significantly lowering the barrier to website creation.
- Curated App Store: Features a built-in store of high-quality open-source applications, providing one-click installation and upgrade services to effortlessly extend server capabilities.
- Enterprise-Grade Security: Deploys applications based on container technology to effectively minimize vulnerability exposure. It also provides security features such as WAF and log auditing to ensure comprehensive server protection.
- One-Click Data Backup: Supports one-click backup and restoration, and integrates with various cloud storage solutions to ensure data security and prevent loss.
Why 1Panel?
| 1Panel | cPanel / Plesk | aaPanel | Webmin | |
|---|---|---|---|---|
| Free & open source | ✅ | ❌ | Partial | ✅ |
| AI management | ✅ | ❌ | ❌ | ❌ |
| One-click app marketplace | ✅ 165+ apps | ❌ | ✅ | ❌ |
| Modern UI (post-2020) | ✅ | ❌ | Partial | ❌ |
| Docker / container management | ✅ | ❌ | ❌ | ❌ |
| Active development | ✅ | ✅ | ✅ | Slow |
Quick Start
Prepare your Linux server and run the following script:
bash -c "$(curl -sSL https://resource.1panel.pro/v2/quick_start.sh)"
After installation, open http://<your-server-ip>:<port>/<security-path> in your browser.
Run 1pctl user-info via SSH if you need to retrieve your access credentials.
Screenshot
Pro Edition
1Panel OSS is free forever. 1Panel Pro and Ent adds features built for teams and production workloads:
| Feature | OSS | Pro | Ent |
|---|---|---|---|
| One-click app installs | ✅ | ✅ | ✅ |
| AI agents (OpenClaw) | 5 agent | Unlimited | ✅ |
| WAF & advanced security | Basic | ✅ | ✅ |
| Website tamper protection | ❌ | ✅ | ✅ |
| Website uptime monitoring | ❌ | ✅ | ✅ |
| Multi-node management | ❌ | ✅ | ✅ |
| Custom logo & theme | ❌ | ✅ | ✅ |
| KVM Web UI | ❌ | ❌ | ✅ |
| AI Gateway | ❌ | ❌ | ✅ |
| Priority support | ❌ | ❌ | ✅ |
Community & Support
- Discord — Join the community for help, feature requests, and show-and-tell
- Docs — 1panel.pro/docs
- Issues — GitHub Issues for bug reports
Security
Found a vulnerability? Please read SECURITY.md before disclosing.
License
Licensed under the GNU General Public License v3.0.
Languages
Go
73.3%
Vue
26.6%

