Stefan Bühler
|
77f786ed18
|
[log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest
|
2012-03-16 13:25:52 +01:00 |
Stefan Bühler
|
3277edabe6
|
connection.c: optimize buffer usage - don't keep too many unused buffers around
|
2011-11-18 19:04:42 +01:00 |
Thomas Porzelt
|
bd15bb8f82
|
[core] fix for previous commit. gc requency was set to 10s not 5min
|
2011-11-17 19:18:17 +01:00 |
Thomas Porzelt
|
ab313d20c2
|
[core] change connection garbage collector algorithm to free all unused connections up to the maximum of active connections during the last 5 minutes
|
2011-11-17 18:59:09 +01:00 |
Stefan Bühler
|
823b9d13c2
|
[core]: wait for connections before shutdown
|
2010-09-21 14:33:32 +02:00 |
Thomas Porzelt
|
a3b7ce74af
|
[core] Rework throttle-pool handling to be thread-safe in creation/destruction aswell as more accurate and fair throttling
|
2010-09-12 18:54:57 +02:00 |
Stefan Bühler
|
be65208143
|
waitqueue: modify callback
|
2010-09-12 14:19:25 +02:00 |
Stefan Bühler
|
7d938e48e3
|
[log] Fix prepare handler
|
2010-09-05 14:19:27 +02:00 |
Stefan Bühler
|
79d98f5991
|
[core] Use liJobQueue for vrequest job queue
|
2010-09-05 13:39:30 +02:00 |
Thomas Porzelt
|
9c63e60cb7
|
[core] Add workers.cpu_affinity setup action
|
2010-08-29 12:24:30 +02:00 |
Stefan Bühler
|
77ad119f66
|
[lua]: add subrequests
|
2010-08-26 00:34:28 +02:00 |
Stefan Bühler
|
1c3d3c287f
|
[core]: add tasklet pools to workers and use them for stat-cache
|
2010-08-25 18:05:23 +02:00 |
Stefan Bühler
|
b87e74d151
|
Optimize IO handling to safe syscalls; run vrequest state machines twice before looking for new io events
|
2010-08-11 13:27:27 +02:00 |
Stefan Bühler
|
b876f8401d
|
[core]: rework connection/vrequest structs; add liConInfo
|
2010-08-11 13:27:27 +02:00 |
Thomas Porzelt
|
c8663ffda9
|
[core] Allow disabling of stat cache through stat_cache.ttl 0;
|
2010-07-18 13:53:07 +02:00 |
Thomas Porzelt
|
e2faced3dd
|
[core] Fix worker timestamp cache initialization resulting in segfault when a module adds a new formatter (e.g. mod_accesslog)
|
2010-06-30 09:56:13 +02:00 |
Stefan Bühler
|
e00febcd40
|
Fix vrequest-ref api
|
2010-05-14 13:12:33 +02:00 |
Thomas Porzelt
|
bf632326a7
|
[core] Update and start (if necessary) io timeout in li_worker_run() fixing first worker ignoring io.timeout from config
|
2010-05-10 21:47:57 +02:00 |
Stefan Bühler
|
b144242a07
|
Fix timestamp handling a little bit
|
2010-05-08 09:15:38 +02:00 |
Stefan Bühler
|
a8efcfcc0e
|
modify plugin api to include worker context for action/option parsing; add per-worker callback for stop_worker
* create main_worker earlier
|
2010-05-07 20:54:50 +02:00 |
Stefan Bühler
|
d0f6484e7c
|
Move sched_[gs]etaffinity to plugin_core
|
2010-02-13 15:54:48 +01:00 |
Thomas Porzelt
|
9bd5c39550
|
[core] Add vr->ts_started struct member, representing the ev_tstamp when the vr has been started
|
2010-01-03 17:39:26 +01:00 |
Thomas Porzelt
|
8716087728
|
[core] Rename con->ts to con->ts_started
|
2010-01-03 17:26:07 +01:00 |
Stefan Bühler
|
8f69c6bc8d
|
Reduce buffer allocs for network read
|
2009-11-22 18:50:11 +01:00 |
Thomas Porzelt
|
6bf284b754
|
[core] Record peak values of worker stats
|
2009-11-07 15:42:03 +01:00 |
Thomas Porzelt
|
175db515a6
|
[core] Change behaviour of connection garbage collector in worker a bit, only free if below threshold for more than 5 minutes
|
2009-11-07 13:21:46 +01:00 |
Thomas Porzelt
|
53096333f1
|
[core] Fix connection garbage collector
|
2009-11-07 11:57:13 +01:00 |
Stefan Bühler
|
d9228f3ef0
|
Add per worker lua_State
|
2009-11-01 15:43:12 +01:00 |
Stefan Bühler
|
a151eeac2f
|
Prefix li_ cleanup, verified with nm -g --defined-only
|
2009-10-09 15:38:12 +02:00 |
Stefan Bühler
|
a14a709237
|
Add max-connections check, set to max-fds/4
|
2009-10-04 14:25:59 +02:00 |
Stefan Bühler
|
7cf91dc9ad
|
Fix previous commit (missing plugin_core include)
|
2009-10-03 17:15:44 +02:00 |
Stefan Bühler
|
856a841820
|
Move io-timeout message into log_request_handling
|
2009-10-03 17:14:56 +02:00 |
Stefan Bühler
|
037c78e8ed
|
Fix closing sockets on shutdown
|
2009-10-03 16:48:35 +02:00 |
Stefan Bühler
|
48721307b3
|
Remove req/s debug output, put docroot debug in request-handling option
|
2009-10-02 12:13:37 +02:00 |
Stefan Bühler
|
7133bae151
|
Fix vrequest state machine w. waiting actions
|
2009-09-29 00:24:37 +02:00 |
Stefan Bühler
|
f030824550
|
Fix server address (do not use the listen address)
|
2009-09-09 18:12:05 +02:00 |
Stefan Bühler
|
a663088a77
|
Add custom server socket callbacks (for ssl modules)
|
2009-09-08 19:09:39 +02:00 |
Stefan Bühler
|
56ff7ca32a
|
angel/lighty now synchronize the server state
|
2009-08-30 20:43:13 +02:00 |
Stefan Bühler
|
f221bac60e
|
Fix handling closing sockets (read buffer until EOF, error or timeout)
|
2009-08-26 23:23:26 +02:00 |
Thomas Porzelt
|
8a13426774
|
[core] Stop stat cache waitqueue in sigint/worker stop
|
2009-08-04 10:08:08 +02:00 |
Stefan Bühler
|
df96167362
|
Add automake
|
2009-07-31 20:36:37 +02:00 |
Stefan Bühler
|
594987c29e
|
Add li_ev_safe_ref_and_stop macro and use it
|
2009-07-26 15:00:53 +02:00 |
Thomas Porzelt
|
e838c9b3cf
|
[core] Add liTimeFunc (gmtime_r, localtime_r) parameter to li_worker_current_timestamp()
|
2009-07-17 13:04:01 +02:00 |
Stefan Bühler
|
540ff7db02
|
Split sources into subdirs
|
2009-07-15 11:57:52 +02:00 |