Commit Graph
77 Commits
Author SHA1 Message Date
Mark Paronyan 306d8fbde4 refactor: remove unused imports 2026-10-03 19:43:58 +03:00
Mark Paronyan 634189d443 style: sort imports in api and utils modules 2026-10-02 12:43:26 +03:00
Mark Paronyan 74943b4c74 refactor: convert remaining percent formatting in log messages 2026-10-01 19:57:47 +03:00
Mark Paronyan a0450b6bce refactor: ruff autofixes 2026-09-27 15:55:10 +03:00
YueGuobin 82945cd81e server: raise the open-files (RLIMIT_NOFILE) limit at startup
Every started node holds ~3 file descriptors in the server's table (pidfd + stdout/stderr pipes per child process), so a few hundred started nodes exhaust the default 1024 soft limit and the uBridge version-check subprocess fails with EMFILE ('Too many open files: /dev/null').

At startup, best-effort raise RLIMIT_NOFILE to 65535 (capped by the hard limit); failures are logged, never fatal. Runs before daemonize() so the daemon inherits the raised limit. Linux-only, matching the platform target.
2026-08-08 00:26:00 +08:00
grossmj 8e96c4c2e8 Refactor command line arguments parsing 2025-01-17 07:57:42 +07:00
grossmj 9b66d939d2 Support for cooperative signal handling of uvicorn v0.29.0 2024-04-03 15:58:10 +07:00
grossmj 74c675d5b0 Drop Windows support 2022-01-19 22:28:36 +10:30
grossmj c021e21309 Use black with -l 120 param. 2021-04-13 18:46:50 +09:30
grossmj f928738bd5 Use pyupgrade with --py36-plus param. 2021-04-13 18:37:58 +09:30
grossmj 71725aade6 Rename ssl and auth configuration file settings.
Add enable SSL config validator.
Strict configuration file validation: any error will prevent the server to start.
Core server logic moved to a Server class.
2021-04-12 23:26:42 +09:30
grossmj eb3cb8a41f Migration to FastAPI 2020-10-02 16:07:50 +09:30
ziajka ac508435c3 History support for console and telnet application, Fixes: #1083
Arrows UP/DOWN for telnet, Ref. #1083

Typo, Ref. #1083

Support async commands, Ref. #1083

Small refactor, Ref. #1083

Asyncio telnet server - connections support, Ref. #10831

Prompt-toolkit in dependencies, ref. #1083

Few comments, ref. #1083

Direct imports, ref. #1083

Windows size changed support in telnet server, ref. #1139

Fake termios

Fake termios - different approach

InputStream - copied source from prompt_toolkit
2017-07-25 16:18:07 +02:00
Julien Duponchelle a17ae316c7 Fix asyncio reactor on Windows
Fix #672
2016-09-08 17:21:38 +02:00
Julien Duponchelle 29127895b9 Fix the watch local server configuration file
Ref #539
2016-05-30 15:18:49 +02:00
Julien Duponchelle 58d4a529d4 Rename hypervisor to compute
Fix #487
2016-04-15 17:59:59 +02:00
Julien Duponchelle 3296b97f59 Rename modules => hypervisor 2016-03-08 16:12:46 +01:00
Julien Duponchelle ddddac426b Fix invalid umask
Fix #264
2015-07-15 13:58:08 +02:00
Julien Duponchelle 9442042d7a Merge branch 'master' into unstable 2015-05-28 12:04:01 +02:00
Julien Duponchelle 74ee73581a Fix crash if you pass an invalid hostname
Fix #198
2015-05-27 17:34:01 +02:00
Julien Duponchelle b62efa3bae I'm stupid... Remove fake segfault 2015-05-26 10:05:53 +02:00
Julien Duponchelle 743187bb2e Merge branch 'master' into unstable 2015-05-14 19:29:30 +02:00
Julien Duponchelle 157bc18ebd Use a temporary directory as egg cache
We have use with broken permission on their
system. We try to workaround the issue.

Fix #182
2015-05-13 14:29:03 +02:00
Julien Duponchelle 00fa1cc370 Merge branch 'master' into unstable 2015-05-08 14:45:07 +02:00
Jeremy c4054cf810 Catch the "WinError 0 The operation completed successfully" exception at a higher level. 2015-05-04 12:14:04 -06:00
Julien Duponchelle 359abb0286 Revert "Merge branch 'unstable'"
This reverts commit 929c337e8b, reversing
changes made to b9bc73fd01.
2015-04-30 16:43:30 +02:00
Julien Duponchelle fac0f5ecd9 Proper daemon support 2015-04-23 11:10:02 +02:00
Julien Duponchelle 9c549b175f Add --log options for daemon support 2015-04-22 17:28:58 +02:00
Jeremy 221befa73e Option to record curl requests into a file (to replay them later). 2015-03-13 14:43:39 -06:00
Jeremy 03796ca729 Server handler to shutdown a local server. 2015-03-12 18:44:05 -06:00
Julien Duponchelle 16f6fe9d3b Send criticals errors to Sentry
Fixes #77
2015-03-02 09:05:32 +01:00
Jeremy ba95567886 Some info message and fixes ghost IOS activation/deactivation. 2015-02-27 19:35:31 -07:00
Jeremy 84870bf736 Some changes with config files on Windows. 2015-02-27 18:08:34 -07:00
Jeremy 1d6d2a39f0 Allow signals to be processed on Windows. 2015-02-27 12:51:39 -07:00
Julien Duponchelle 250bb38d7c Crash report with Sentry 2015-02-24 17:40:01 +01:00
Julien Duponchelle 45a48cfcc1 Embeded debugging shell 2015-02-20 22:40:20 +01:00
Julien Duponchelle a0f4c6d021 Repare live reload 2015-02-20 22:23:09 +01:00
Julien Duponchelle 05df7001a3 Successfully create an iou device from the GUI via HTTP 2015-02-12 22:29:33 +01:00
Julien Duponchelle 4689024b50 Add a --live options to control livereload
Because the livereload bug due to timezone issues with Vagrant
2015-02-12 22:29:33 +01:00
Jeremy 648850c411 Server listen to 0.0.0.0 by default. 2015-02-09 13:42:50 -07:00
Julien Duponchelle 2f85d71f32 Correctly override the config from command line
The tests was long write but allow me to found some typos
bugs.
2015-02-09 21:30:22 +01:00
Julien Duponchelle e81dcd4bba Add /projects before /project 2015-02-06 17:42:25 +01:00
Julien Duponchelle 2ace014a3c Cleanup old temporary project at startup 2015-02-04 17:18:53 +01:00
Jeremy 45ca493ecf Use module settings from the config file. 2015-02-02 14:52:58 -07:00
Julien Duponchelle 2c3fe2ad4b Repare debug log 2015-02-02 21:28:42 +01:00
Julien Duponchelle 6abf420ce1 Support configuration live reload 2015-02-02 15:01:48 +01:00
Jeremy 8d471a89a8 Check for OSError when starting the server. 2015-02-01 15:56:10 -07:00
Julien Duponchelle 1bfb201368 Enable code live reload only in debug mode 2015-01-26 09:51:29 +01:00
Jeremy c002bbfb23 Minimal SSL support. 2015-01-24 12:11:51 -07:00
Jeremy bc3d63081b Unload should not delete VMs, just close them. 2015-01-23 16:36:58 -07:00