Commit Graph

43 Commits (3277edabe6901ef36a0707eea3bc9c2ea8ade352)

Author SHA1 Message Date
Stefan Bühler 3277edabe6 connection.c: optimize buffer usage - don't keep too many unused buffers around 11 years ago
Thomas Porzelt bd15bb8f82 [core] fix for previous commit. gc requency was set to 10s not 5min 11 years ago
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 11 years ago
Stefan Bühler 823b9d13c2 [core]: wait for connections before shutdown 12 years ago
Thomas Porzelt a3b7ce74af [core] Rework throttle-pool handling to be thread-safe in creation/destruction aswell as more accurate and fair throttling 12 years ago
Stefan Bühler be65208143 waitqueue: modify callback 12 years ago
Stefan Bühler 7d938e48e3 [log] Fix prepare handler 12 years ago
Stefan Bühler 79d98f5991 [core] Use liJobQueue for vrequest job queue 12 years ago
Thomas Porzelt 9c63e60cb7 [core] Add workers.cpu_affinity setup action 12 years ago
Stefan Bühler 77ad119f66 [lua]: add subrequests 12 years ago
Stefan Bühler 1c3d3c287f [core]: add tasklet pools to workers and use them for stat-cache 12 years ago
Stefan Bühler b87e74d151 Optimize IO handling to safe syscalls; run vrequest state machines twice before looking for new io events 12 years ago
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo 12 years ago
Thomas Porzelt c8663ffda9 [core] Allow disabling of stat cache through stat_cache.ttl 0; 12 years ago
Thomas Porzelt e2faced3dd [core] Fix worker timestamp cache initialization resulting in segfault when a module adds a new formatter (e.g. mod_accesslog) 12 years ago
Stefan Bühler e00febcd40 Fix vrequest-ref api 13 years ago
Thomas Porzelt bf632326a7 [core] Update and start (if necessary) io timeout in li_worker_run() fixing first worker ignoring io.timeout from config 13 years ago
Stefan Bühler b144242a07 Fix timestamp handling a little bit 13 years ago
Stefan Bühler a8efcfcc0e modify plugin api to include worker context for action/option parsing; add per-worker callback for stop_worker 13 years ago
Stefan Bühler d0f6484e7c Move sched_[gs]etaffinity to plugin_core 13 years ago
Thomas Porzelt 9bd5c39550 [core] Add vr->ts_started struct member, representing the ev_tstamp when the vr has been started 13 years ago
Thomas Porzelt 8716087728 [core] Rename con->ts to con->ts_started 13 years ago
Stefan Bühler 8f69c6bc8d Reduce buffer allocs for network read 13 years ago
Thomas Porzelt 6bf284b754 [core] Record peak values of worker stats 13 years ago
Thomas Porzelt 175db515a6 [core] Change behaviour of connection garbage collector in worker a bit, only free if below threshold for more than 5 minutes 13 years ago
Thomas Porzelt 53096333f1 [core] Fix connection garbage collector 13 years ago
Stefan Bühler d9228f3ef0 Add per worker lua_State 13 years ago
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 13 years ago
Stefan Bühler a14a709237 Add max-connections check, set to max-fds/4 13 years ago
Stefan Bühler 7cf91dc9ad Fix previous commit (missing plugin_core include) 13 years ago
Stefan Bühler 856a841820 Move io-timeout message into log_request_handling 13 years ago
Stefan Bühler 037c78e8ed Fix closing sockets on shutdown 13 years ago
Stefan Bühler 48721307b3 Remove req/s debug output, put docroot debug in request-handling option 13 years ago
Stefan Bühler 7133bae151 Fix vrequest state machine w. waiting actions 13 years ago
Stefan Bühler f030824550 Fix server address (do not use the listen address) 13 years ago
Stefan Bühler a663088a77 Add custom server socket callbacks (for ssl modules) 13 years ago
Stefan Bühler 56ff7ca32a angel/lighty now synchronize the server state 13 years ago
Stefan Bühler f221bac60e Fix handling closing sockets (read buffer until EOF, error or timeout) 13 years ago
Thomas Porzelt 8a13426774 [core] Stop stat cache waitqueue in sigint/worker stop 13 years ago
Stefan Bühler df96167362 Add automake 13 years ago
Stefan Bühler 594987c29e Add li_ev_safe_ref_and_stop macro and use it 13 years ago
Thomas Porzelt e838c9b3cf [core] Add liTimeFunc (gmtime_r, localtime_r) parameter to li_worker_current_timestamp() 13 years ago
Stefan Bühler 540ff7db02 Split sources into subdirs 13 years ago
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 13 years ago
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 13 years ago
Thomas Porzelt 859451afad Fix typo and left-over call to stop a timer 14 years ago
Thomas Porzelt 383fa6a4f5 - introduce throttling via pools, rework throttling by connection 14 years ago
Stefan Bühler 7aaa764f49 Added vrequest_joblist_append_async (with a vrequest-reference handling) 14 years ago
Stefan Bühler 611d7dcac3 Recode the sockaddr handling, fixing some bugs 14 years ago
Thomas Porzelt ab9a616f5d optimize ram usage by freeing unused connections 14 years ago