History log of /unit/src/nxt_main_process.c (Results 76 – 100 of 106)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 551:220b0834790b 20-Feb-2018 Max Romanov

Removed unwanted assertions.


# 549:42b904605f6b 14-Feb-2018 Valentin Bartenev

Fixed race condition while discovering modules.

Previously, the discovery process might exit before the main process
received a list of available modules.


# 546:ece40f6c0b56 13-Feb-2018 Max Romanov

Improving configuration field mapping names.

Avoiding word 'common' as too common.
Couple of assertions reduced to error messages.


Revision tags: 0.6
# 536:83678261abc4 09-Feb-2018 Valentin Bartenev

Fixed starting of applications with specified version.

The "type" option can contain version number that need to be cut off before
calling nxt_app_parse_type().

The bug was introduced in 4979fe09d9

Fixed starting of applications with specified version.

The "type" option can contain version number that need to be cut off before
calling nxt_app_parse_type().

The bug was introduced in 4979fe09d9cd.

show more ...


Revision tags: 0.5
# 511:6603280807b9 02-Feb-2018 Max Romanov

Fixed typo in assertion statement introduced in 4979fe09d9cd.

Found by Coverity (CID 260375).


# 510:4979fe09d9cd 31-Jan-2018 Alexander Borisov

Added Perl support.


# 507:fa714d76592b 29-Jan-2018 Max Romanov

Introducing extended app process management.

- Pre-fork 'processes.spare' application processes;
- fork more processes to keep 'processes.spare' idle processes;
- fork on-demand up to 'processes.max

Introducing extended app process management.

- Pre-fork 'processes.spare' application processes;
- fork more processes to keep 'processes.spare' idle processes;
- fork on-demand up to 'processes.max' count;
- scale down idle application processes above 'processes.spare' after
'processes.idle_timeout';
- number of concurrently started application processes also limited by
'processes.spare' (or 1, if spare is 0).

show more ...


# 494:7c83ddcc1c42 24-Jan-2018 Sergey Kandaurov

Fixed formatting in nxt_sprintf() and logging.


# 493:745222d540a2 24-Jan-2018 Sergey Kandaurov

Using size_t for the field width type of the "%*s" specifier.


Revision tags: 0.4
# 462:17a2c9b27b57 11-Jan-2018 Max Romanov

Changing relative php scripts paths to real ones.

This is required to run phpMyAdmin.


Revision tags: 0.3
# 444:4bf1dca6173c 28-Dec-2017 Igor Sysoev

Removed duplicate declaration.


# 394:28ec49e1e6b0 29-Nov-2017 Max Romanov

Introducing python virtualenv configuration.

New parameter 'home' for python application allows to configure
application-specific virtualenv path.

This closes #15 issue on GitHub.


# 382:0b999f4f3545 20-Nov-2017 Max Romanov

Fixing Coverity warnings.

CID 200496
CID 200494
CID 200490
CID 200489
CID 200483
CID 200482
CID 200472
CID 200465


Revision tags: 0.2
# 368:55fcd76e9caf 19-Oct-2017 Valentin Bartenev

Fixed controller restarting.

Previously, stored configuration wasn't reread on controller
process restart, which resulted in segmentation fault.


# 366:f50d61c93a7c 19-Oct-2017 Max Romanov

Filtering process to keep connection.

- Main process should be connected to all other processes.
- Controller should be connected to Router.
- Router should be connected to Controller and all Worker

Filtering process to keep connection.

- 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.

show more ...


# 356:b6c89a2f537b 10-Oct-2017 Valentin Bartenev

Optimized application type handling.


# 354:8fc82db3530b 05-Oct-2017 Valentin Bartenev

Improved applications versions handling.


# 352:47649fbbcb53 04-Oct-2017 Max Romanov

Port message fragmentation supported.

- Each sendmsg() transmits no more than port->max_size payload data.
- Longer buffers are fragmented and send using multiple sendmsg() calls.
- On receive side,

Port message fragmentation supported.

- Each sendmsg() transmits no more than port->max_size payload data.
- Longer buffers are fragmented and send using multiple sendmsg() calls.
- On receive side, buffers are connected in chain.
- Number of handler calls is the same as number of nxt_port_socket_write()
calls.
- nxt_buf_make_plain() function introduced to make single plain buffer from
the chain.

show more ...


# 349:ae438f16b44e 04-Oct-2017 Max Romanov

Introducing process use counter.

This helps to decouple process removal from port memory pool cleanups.


# 343:9fa845db60fb 04-Oct-2017 Max Romanov

Introducing use counters for port and app. Thread safe port write.

Use counter helps to simplify logic around port and application free.

Port 'post' function introduced to simplify post execution

Introducing use counters for port and app. Thread safe port write.

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.

show more ...


# 342:82c2825a617a 04-Oct-2017 Max Romanov

Using engine memiory pool for port write allocations.

To allow use port from different threads, the first step is to avoid using
port's memory pool for temporary allocations required to send data th

Using engine memiory pool for port write allocations.

To allow use port from different threads, the first step is to avoid using
port's memory pool for temporary allocations required to send data through
the port. Including but not limited by:
- buffers for data;
- send message structures;
- new mmap fd notifications;

It is still safe to use port memory pool for incoming buffers allocations
because recieve operation bound to single thread.

show more ...


# 329:5940343f2a4a 25-Sep-2017 Igor Sysoev

Style fixes.


# 320:d385755599d6 15-Sep-2017 Max Romanov

Introducing named port message handlers to avoid misprints.


# 318:c2442f5e054d 15-Sep-2017 Max Romanov

Introducing application timeout.


# 314:6cf55ca61038 10-Sep-2017 Valentin Bartenev

Configuration persistence.

Now configuration survives server reloads.


12345