-
Notifications
You must be signed in to change notification settings - Fork 3
Chaotic Chameleon.1 #123
Chaotic Chameleon.1 #123
Commits on Feb 21, 2022
-
Currently the script assumes that it is not called multiple times in parallel. This is not true, because for `gpu-setup job-init` it is called by the forked user process. Use flock to avoid GPU allocation races.
Configuration menu - View commit details
-
Copy full SHA for 689e97c - Browse repository at this point
Copy the full SHA 689e97cView commit details -
gpu-setup: Tolerate empty pid files and pid file removal
Because `gpu-setup job-init` is asynchronous to mxqd (see previous commit), `gpu-setup job-relaese` races with it, too. Tolerate empty pid files as well as a pid files being removed away from under us.
Configuration menu - View commit details
-
Copy full SHA for 4e41689 - Browse repository at this point
Copy the full SHA 4e41689View commit details -
mxqd: Set "group initialized" message to debug level
This message is rather annoying during normal operation, so set it to debug level.
Configuration menu - View commit details
-
Copy full SHA for 47ce327 - Browse repository at this point
Copy the full SHA 47ce327View commit details -
mxqadmin: Add missing initialization
If the -u option is not given, passwd will not be set in the args evaluation loop, yet we use `if (!passwd) {` later in the code. Initialze pointer.
Configuration menu - View commit details
-
Copy full SHA for 922a46b - Browse repository at this point
Copy the full SHA 922a46bView commit details -
mxqkill: Add missing initialization
If the -u option is not given, passwd will not be set in the args evaluation loop, yet we use `if (!passwd) {` later in the code. Initialze pointer.
Configuration menu - View commit details
-
Copy full SHA for 7bd4b22 - Browse repository at this point
Copy the full SHA 7bd4b22View commit details -
mx_proc: Add missing initialization
If pid 1 is not found in the loop, `pid1` will be left unititialized, yet it is evaluated in `if (!pid1)` after the loop. Add missing initialization.
Configuration menu - View commit details
-
Copy full SHA for e58f37c - Browse repository at this point
Copy the full SHA e58f37cView commit details -
tree: Remove "inline" function attributes
Remove "inline" function attributes and leave the decision to the compiler. Note: We keep "inline" in the cleanup functions in mx_util.h to avoid conflicts between instances of the functions bodies in multiple compilation units.
Configuration menu - View commit details
-
Copy full SHA for 76a8287 - Browse repository at this point
Copy the full SHA 76a8287View commit details -
tree: Remove "extern" function attributes
Remove "extern" keyword from functions, because it has no effect.
Configuration menu - View commit details
-
Copy full SHA for 69f9f1c - Browse repository at this point
Copy the full SHA 69f9f1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cbc3e8 - Browse repository at this point
Copy the full SHA 2cbc3e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50a8a3d - Browse repository at this point
Copy the full SHA 50a8a3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09da264 - Browse repository at this point
Copy the full SHA 09da264View commit details -
tree: Convert some functions into static
Turn some functions, which are only used inside a compilation unit, into static. If the funtions was published in the include file, remove it there.
Configuration menu - View commit details
-
Copy full SHA for 90f3a36 - Browse repository at this point
Copy the full SHA 90f3a36View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea504b4 - Browse repository at this point
Copy the full SHA ea504b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ce871a - Browse repository at this point
Copy the full SHA 3ce871aView commit details -
mx_flock: Don't call _flock_free to early
Don't call _flock_free before flock->fname has been initialized.
Configuration menu - View commit details
-
Copy full SHA for 76b7022 - Browse repository at this point
Copy the full SHA 76b7022View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f87991 - Browse repository at this point
Copy the full SHA 4f87991View commit details -
mxqd: Remove capability to run as non-root
This feature was once added to help in development. However since then, mxqd has learned a few more more things (like mounting TMPDIR) which can not be done without privileges and would require more special code. Even if we special-case everywhere, testing done as non-root wouldn't exercise code paths of the real thing. I don't really use that feature anymore. Does anyone? Moreover, nowadays there are other options (like user namespaces). Remove feature to simplify code.
Configuration menu - View commit details
-
Copy full SHA for 523b995 - Browse repository at this point
Copy the full SHA 523b995View commit details -
mx_call_external: Change EPIPE to EPROTO
If an external helper does something unexpected like exiting with a non-zero exit status or sending more data than mxqd wants to handle, mx_call_external sets errno to an error code. Currenty we use EPIPE ("Broken pipe"). Change this to EPROTO ("Protocol error"), which seems to be better fitting. We assume that the external helper, which shares its stderr with mxqd, has already sent some diagnostic to the logfile.
Configuration menu - View commit details
-
Copy full SHA for 218e94a - Browse repository at this point
Copy the full SHA 218e94aView commit details -
Doxfile: Update for Doxygen 1.8.18
Use `doxygen -u` to upgrade `Doxyfile`.
Configuration menu - View commit details
-
Copy full SHA for 1690ccb - Browse repository at this point
Copy the full SHA 1690ccbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05aaace - Browse repository at this point
Copy the full SHA 05aaaceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80c1e09 - Browse repository at this point
Copy the full SHA 80c1e09View commit details -
mxqd: Fix uninitialized value in error message
In the "reaper died" codepath, the exit status has not yet read when the error message is emitted. Move error message behind the wait4 call.
Configuration menu - View commit details
-
Copy full SHA for 2b08bbd - Browse repository at this point
Copy the full SHA 2b08bbdView commit details -
Capture jlist->next because jlist might be freed by job_is_lost() inside the loop body.
Configuration menu - View commit details
-
Copy full SHA for 049ef4d - Browse repository at this point
Copy the full SHA 049ef4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef54844 - Browse repository at this point
Copy the full SHA ef54844View commit details -
Configuration menu - View commit details
-
Copy full SHA for addc997 - Browse repository at this point
Copy the full SHA addc997View commit details -
Configuration menu - View commit details
-
Copy full SHA for e402066 - Browse repository at this point
Copy the full SHA e402066View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0de4433 - Browse repository at this point
Copy the full SHA 0de4433View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f2fe00 - Browse repository at this point
Copy the full SHA 3f2fe00View commit details -
Currently argv is converted to a string and back to an array before mxqd reexecs itself. Use the original argv instead. Difference is, that options are not included in the informational messages.
Configuration menu - View commit details
-
Copy full SHA for c45a22e - Browse repository at this point
Copy the full SHA c45a22eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06562ea - Browse repository at this point
Copy the full SHA 06562eaView commit details