aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/worker_util.c
Commit message (Collapse)AuthorAgeFilesLines
* [Rework] Allow `Content-Encoding` standard header for zstd compressionvstakhov-zstd-headersVsevolod Stakhov2024-10-171-1/+2
|
* [Minor] Unify metrics conversionVsevolod Stakhov2024-06-221-0/+134
|
* [Rework] Allow metrics endpoint to be enabled for each scannerVsevolod Stakhov2024-06-211-0/+68
|
* [Minor] Make log message less confusingVsevolod Stakhov2024-05-131-1/+1
|
* [Fix] Check nconns when firing the final termination eventVsevolod Stakhov2024-05-131-1/+44
| | | | Issue: #4941
* [Rework] Further types conversion (no functional changes)Vsevolod Stakhov2024-03-181-39/+39
|
* [Rework] Remove some of the GLib types in lieu of standard onesVsevolod Stakhov2024-03-181-14/+14
| | | | This types have constant conflicts with the system ones especially on OSX.
* [Fix] Another try to fix setproctitleVsevolod Stakhov2023-11-131-3/+3
|
* [Feature] Use backward-cpp instead of manual libunwind stuffVsevolod Stakhov2023-09-131-73/+7
|
* [Minor] Use a more standard way to initialize libunwindVsevolod Stakhov2023-09-131-5/+7
|
* Update src/libserver/worker_util.cLinus Nordberg2023-09-091-1/+1
| | | Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
* Update src/libserver/worker_util.cLinus Nordberg2023-09-091-2/+2
| | | Co-authored-by: Vsevolod Stakhov <vsevolod@rspamd.com>
* [Fix] Correct format string for unw_word_tLinus Nordberg2023-09-081-2/+2
| | | | | | On x86_64 unw_word_t is uint64_t. NOTE: Possibly incorrect for !x86_64.
* [Minor] Support `backtrace` where libunwind is not supportedVsevolod Stakhov2023-09-051-4/+17
|
* [Rework] Use clang-format to unify formatting in all sourcesVsevolod Stakhov2023-07-261-889/+879
| | | | No meaningful changes.
* [Minor] Deduplicate codeVsevolod Stakhov2022-11-261-0/+64
|
* [Minor] Restore non-blocking semantics for the control socket to avoid deadlocksVsevolod Stakhov2022-10-311-2/+3
| | | | XXX: it might be osx specific
* [Minor] Plug memory leak for sigaltstackVsevolod Stakhov2022-10-291-6/+22
|
* [Rework] Use blocking socket for IPC between main and workersVsevolod Stakhov2022-10-231-0/+19
| | | | | | | | | | | | There are no reasons why control pipes are blocking: the messages there are rare and are strictly bounded by command sizes, so if we block on some pipe, it is ok, as we still poll that for all operations. It is also impossible to block on writing in normal conditions. And if the conditions are not normal, e.g. a worker is unresponsive, then we can safely think that the non-blocking behaviour as it is implemented currently will not make things better, as it would lead to incomplete reads/writes that are not handled anyhow and are totally broken from the beginning.
* [Minor] Use seqpacket for control pipesVsevolod Stakhov2022-10-231-2/+5
|
* [Rework] Store the current worker, so other libraries could use this informationVsevolod Stakhov2022-10-161-0/+3
|
* [Minor] Remove priorities from idempotent filtersVsevolod Stakhov2022-09-101-1/+1
|
* [Minor] Properly print top symbols by timeoutVsevolod Stakhov2022-09-101-7/+23
|
* [Minor] Add utility function for task timeoutsVsevolod Stakhov2022-08-191-0/+29
|
* Spelling (#4086)Josh Soref2022-02-221-1/+1
| | | [Rework] Massive spelling fix from @jsoref
* [Minor] Remove obsolete WITH_HIREDIS defineVsevolod Stakhov2021-11-201-2/+0
|
* [Minor] Do not refork old workers that are due to be terminatedVsevolod Stakhov2021-07-281-12/+22
|
* [Fix] Rework metrics handlingVsevolod Stakhov2021-05-181-4/+2
| | | | Issue: #3754
* Implement an endpoint for OpenMetricsManuel RĂ¼ger2021-05-171-1/+27
| | | | Now /metrics provides an endpoint that is openmetrics compatible.
* [Minor] Try to silence intentional leak for sigaltstackVsevolod Stakhov2021-01-071-2/+4
|
* [Minor] Switch to buffered IOVsevolod Stakhov2020-10-191-2/+4
|
* [Minor] Show all listening configurationsVsevolod Stakhov2020-09-241-3/+19
|
* [Minor] Another try to fix reuseport damageVsevolod Stakhov2020-09-171-0/+5
|
* [Fix] Fix multiple listen configurationVsevolod Stakhov2020-09-161-2/+5
|
* [Minor] Fix the previous commit (sync main and children)Vsevolod Stakhov2020-09-111-2/+1
|
* [Fix] Disable reuseport for TCP sockets as it causes too many troublesVsevolod Stakhov2020-09-111-16/+28
|
* [Minor] Add leak explanationVsevolod Stakhov2020-09-101-1/+6
|
* [Minor] Fix format stringVsevolod Stakhov2020-06-231-2/+2
|
* [Rework] Close listen sockets in main after forkVsevolod Stakhov2020-06-101-17/+52
|
* [Minor] Explicitly specify af for socketpairVsevolod Stakhov2020-06-101-2/+2
|
* [Minor] REUSEPORT is broken everywhere but LinuxVsevolod Stakhov2020-06-101-1/+1
|
* [Minor] Fix some error reportingVsevolod Stakhov2020-06-091-4/+11
|
* [Project] Do not listen sockets in the main processVsevolod Stakhov2020-06-091-6/+26
|
* [Project] Preliminary usage of the reuseportVsevolod Stakhov2020-06-091-0/+41
|
* [Minor] Add flags to listen socket creationVsevolod Stakhov2020-06-091-0/+1
|
* [Minor] Close sockets that do not belong to a current workerVsevolod Stakhov2020-06-091-78/+124
|
* [Minor] Do not use signalfd - it is totally broken in libevVsevolod Stakhov2020-03-261-2/+1
|
* [Fix] Try hard to deal with ghost workersVsevolod Stakhov2020-03-261-0/+3
|
* [Minor] Reduce log noiseVsevolod Stakhov2020-03-231-1/+1
|
* [Rework] Re cache: Load hyperscan earlyVsevolod Stakhov2020-03-231-2/+4
|