Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-09-26 | Refactored nxt_process_create() for more explicit pipe closing. | Valentin Bartenev | 1 | -40/+29 | |
2019-09-26 | Fixed descriptors leak on process creation. | Valentin Bartenev | 1 | -0/+12 | |
The leak has been introduced in 325b315e48c4. This closes #322 issue in GitHub. | |||||
2019-09-19 | Initial applications isolation support using Linux namespaces. | Tiago de Bem Natel de Moura | 1 | -62/+189 | |
2019-03-22 | Ignoring EPERM error when changing application process uid/gid. | Max Romanov | 1 | -16/+33 | |
This closes #228 issue on GitHub. | |||||
2018-09-19 | Initializing user_cred gids and ngroups for MacOS. | Max Romanov | 1 | -0/+4 | |
2018-09-07 | Misspelled variable names fixed. | Max Romanov | 1 | -3/+3 | |
2018-06-18 | Removing Unix control socket on start failure. | Igor Sysoev | 1 | -3/+1 | |
The bug had appeared in 5cc5002a788e when process type has been converted to bitmask. This commit reverts the type back to a number. This commit is related to #131 issue on GitHub. | |||||
2018-06-18 | Removed unused single process type. | Igor Sysoev | 1 | -12/+10 | |
2018-03-05 | Reduced number of critical log levels. | Valentin Bartenev | 1 | -37/+26 | |
2018-01-24 | Fixed formatting in nxt_sprintf() and logging. | Sergey Kandaurov | 1 | -1/+1 | |
2017-11-20 | Fixing Coverity warnings. | Max Romanov | 1 | -0/+6 | |
CID 200496 CID 200494 CID 200490 CID 200489 CID 200483 CID 200482 CID 200472 CID 200465 | |||||
2017-10-19 | Filtering process to keep connection. | Max Romanov | 1 | -6/+43 | |
- Main process should be connected to all other processes. - Controller should be connected to Router. - Router should be connected to Controller and all Workers. - Workers should be connected to Router worker thread ports only. This filtering helps to avoid unnecessary communication and various errors during massive application workers stop / restart. | |||||
2017-10-19 | Supporting concurrent shared memory fd receive in router. | Max Romanov | 1 | -2/+2 | |
Two different router threads may send different requests to single application worker. In this case shared memory fds from worker to router will be send over 2 different router ports. These fds will be received and processed by different threads in any order. This patch made possible to add incoming shared memory segments in arbitrary order. Additionally, array and memory pool are no longer used to store segments because of pool's single threaded nature. Custom array-like structure nxt_port_mmaps_t introduced. | |||||
2017-10-04 | Introducing process use counter. | Max Romanov | 1 | -16/+19 | |
This helps to decouple process removal from port memory pool cleanups. | |||||
2017-10-04 | Introducing use counters for port and app. Thread safe port write. | Max Romanov | 1 | -7/+5 | |
Use counter helps to simplify logic around port and application free. Port 'post' function introduced to simplify post execution of particular function to original port engine's thread. Write message queue is protected by mutex which makes port write operation thread safe. | |||||
2017-10-04 | Removing mem_pool from port_hash interface. | Max Romanov | 1 | -13/+2 | |
Memory pool is not used by port_hash and it was a mistake to pass it into 'add' and 'remove' functions. port_hash enrties are allocated from heap. | |||||
2017-09-15 | Introducing named port message handlers to avoid misprints. | Max Romanov | 1 | -1/+1 | |
2017-09-06 | Style fixes. | Igor Sysoev | 1 | -0/+1 | |
2017-08-31 | nginext has been renamed to unit. | Igor Sysoev | 1 | -1/+1 | |
2017-08-29 | The master process has been renamed to the main process. | Igor Sysoev | 1 | -9/+9 | |
2017-08-26 | Added configure option --user=USER and --group=GROUP. | Igor Sysoev | 1 | -5/+25 | |
2017-08-02 | Runtime processes protected with mutex. | Max Romanov | 1 | -1/+1 | |
2017-07-18 | Work queue thread assertions. Reset thread after fork. | Max Romanov | 1 | -0/+2 | |
2017-07-18 | Mem pool cleanup introduced. | Max Romanov | 1 | -1/+21 | |
Used for connection mem pool cleanup, which can be used by buffers. Used for port mem pool to safely destroy linked process. | |||||
2017-07-18 | Port allocation and destroy changed. Worker process stop introduced. | Max Romanov | 1 | -23/+4 | |
2017-07-12 | New process port exchange changed. READY message type introduced. | Max Romanov | 1 | -33/+99 | |
Application process start request DATA message from router to master. Master notifies router via NEW_PORT message after worker process become ready. | |||||
2017-07-10 | Introducing thread-safe nxt_random(). | Igor Sysoev | 1 | -2/+3 | |
2017-07-07 | Process stop notification from master to all other processes. | Max Romanov | 1 | -1/+3 | |
New port message type introduced NXT_PORT_MSG_REMOVE_PID. Default handler removes process description from nxt_runtime_t with all ports, incoming and outgoing mmaps etc. | |||||
2017-06-23 | Added basic HTTP request processing in router. | Max Romanov | 1 | -0/+26 | |
- request to connection mapping in engine; - requests queue in connection; - engine port creation; - connected ports hash for each process; - engine port data messages processing (app responses); | |||||
2017-06-23 | nxt_process_create() changed to add process to runtime before callbacks. | Max Romanov | 1 | -5/+19 | |
2017-06-23 | nxt_port_create() use task instead of thread. | Max Romanov | 1 | -1/+2 | |
Write socket close() call moved out from nxt_port_create(). | |||||
2017-06-20 | Using new memory pool implementation. | Igor Sysoev | 1 | -1/+1 | |
2017-05-12 | Using shared memory to send data via nxt_port. | Max Romanov | 1 | -0/+19 | |
Usage: b = nxt_port_mmap_get_buf(task, port, size); b->mem.free = nxt_cpymem(b->mem.free, data, size); nxt_port_socket_write(task, port, NXT_PORT_MSG_DATA, -1, 0, b); | |||||
2017-03-09 | Processes refactoring. | Igor Sysoev | 1 | -55/+127 | |
The cycle has been renamed to the runtime. | |||||
2017-01-17 | Initial version. | Igor Sysoev | 1 | -0/+436 | |