Welcome to go-proc-sandbox! This tool helps you safely run applications while controlling their CPU, memory, filesystem access, and execution time. It uses features of your operating system to keep tasks within set limits.
- CPU Limiting: Control the amount of CPU your processes can use.
- Memory Management: Limit the memory available to each process to prevent overload.
- Filesystem Access Control: Restrict file access for added security.
- Execution Time Control: Set limits on how long a process can run.
- Safe Environment: Run untrusted code in a sandboxed environment.
To use go-proc-sandbox, you need the following:
- Operating System: Windows 10 or later, or a compatible Linux distribution.
- CPU: Any modern CPU.
- Memory: At least 2 GB of RAM.
- Disk Space: 100 MB of free space for installation.
Follow these simple steps to download and install go-proc-sandbox:
-
Visit the Releases Page: Click the following link to go to the download page: go-proc-sandbox Releases.
-
Choose the Latest Release: On the releases page, look for the latest version. You will find files for different operating systems.
-
Download the Application: Click on the file that suits your operating system to start the download.
-
Install the Application:
- For Windows: Double-click the downloaded
.exefile and follow the on-screen instructions. - For Linux: Extract the downloaded tarball using a terminal. You may need to run the script with
sudoto give it necessary permissions.
- For Windows: Double-click the downloaded
-
Run go-proc-sandbox: After installation, you can now run the program either from the desktop icon or through the command line.
To ensure your processes stay secure, follow these steps:
-
Open go-proc-sandbox: Start the application from your desktop or command line.
-
Set Resource Limits:
- Specify the maximum CPU and memory limits for the process you want to run.
- If you want to restrict filesystem access, set the directories that can be accessed.
-
Choose Your Process: Select the application you want to run in the sandbox.
-
Start Execution: Click the "Run" button. Your application will now execute within the defined limits for safety.
-
Check Status: Monitor the process to ensure it operates within the set parameters.
If you encounter any issues, try the following steps:
- Permission Issues: Ensure you have administrative rights when running the application.
- Resource Limits Too Low: Revisit the settings and increase CPU or memory limits if the process fails to start.
- Compatibility Errors: Verify that the application you are trying to run is compatible with resource restrictions.
- Documentation: Visit our Wiki for in-depth guidance on features and configurations.
- Community Discussions: Join discussions in the Issues section of the repository to share experiences and seek help.
- Regularly update to the latest version of go-proc-sandbox for improvements and new features.
- Test the settings with lightweight applications before running more demanding ones.
- Always monitor resource usage to adjust limits as needed.
Your input is valuable. If you have suggestions or spot issues, please consider contributing to the repository. You can create an issue or submit a pull request.
If you need assistance, you can open an issue in the repository. We aim to respond within 48 hours.
Feel free to reach out if you have any questions or need help getting started!