Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SERVER] Add bgrMinClients: Thresold to control when BGR starts | Simon Rettberg | 2018-04-12 | 1 | -2/+5 |
| | | | | | Background replication will not kick in if there aren't at least that many clients connected. | ||||
* | [SERVER] Option to disable timestamps on stdout/console (default: disabled) | Simon Rettberg | 2018-04-11 | 1 | -1/+3 |
| | |||||
* | [SERVER] Experimental support for sparse files in proxy mode | Simon Rettberg | 2018-03-15 | 1 | -0/+7 |
| | | | | | | | | | | | | Will not preallocate images in this mode. Old images are only deleted if the disk is full, determined by write() calls to the cache file yielding ENOSPC or EDQUOT. In such a case, the least recently used image(s) will be deleted to free up at least 256MiB, and then the write() call will be repeated. This *should* work somewhat reliably unless the cache partition is ridiculously small. Performance might suffer a little, and disk fragmentation might occur much faster than in prealloc mode. Testing is needed. | ||||
* | [SERVER] Check RLIMIT_NOFILE on startup and try to increase if required | Simon Rettberg | 2017-11-08 | 1 | -0/+39 |
| | |||||
* | [SERVER] Add multiple config options for limiting stuff | Simon Rettberg | 2017-11-08 | 1 | -14/+146 |
| | | | | | maxClients, maxImages, maxPayload, maxReplicationSize Refs #3231 | ||||
* | [SERVER] Support finer control over replication when a proxy connects to a proxy | Simon Rettberg | 2017-11-02 | 1 | -0/+2 |
| | | | | | | | Introduce new flag in "select image" message to tell the uplink server whether we have background replication enabled or not. Also reject a connecting proxy if the connecting proxy uses BGR but we don't, as this would basically force the image to be replicated locally too. | ||||
* | [SERVER] Ignore invalid basePath in globals.c, do bailout in server.c | Simon Rettberg | 2017-11-02 | 1 | -9/+12 |
| | |||||
* | [SERVER] Split server-only defs from config.h to serverconfig.h | Simon Rettberg | 2017-08-26 | 1 | -2/+4 |
| | |||||
* | cleanup commits | Sebastian | 2016-02-11 | 1 | -2/+0 |
| | |||||
* | [SERVER] Remove non-working images from list, plus refactoring | Simon Rettberg | 2015-12-15 | 1 | -0/+2 |
| | | | | | | | | | | Now that we can automatically load unknown images from disk on request, it makes sense to remove non-working images from the image list. On future requests, we will look for them on disk again, which is nice in case of temporary storage hickups. Also, some more ore less related locking has been refined (loading images, replicating images) | ||||
* | [SERVER] Make listen port configurable | Simon Rettberg | 2015-12-14 | 1 | -0/+10 |
| | |||||
* | [SERVER] Update includes for moved log.h | Simon Rettberg | 2015-12-02 | 1 | -1/+1 |
| | |||||
* | [SERVER] Overhauled logging | Simon Rettberg | 2015-02-22 | 1 | -3/+29 |
| | | | | | | - Added message type parameter - Log to file and stdout, no more logging in memory - Added options to server.conf to filter which messages show up where | ||||
* | Get rid of unneccessary volatile | Simon Rettberg | 2015-02-22 | 1 | -1/+1 |
| | | | | Some minor debugging code, mostly commented out | ||||
* | [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵ | Simon Rettberg | 2015-01-14 | 1 | -1/+1 |
| | | | | | | | compare and some unused params) Also allow newline at end of alt-servers file without complaining about it not being a valid alt server definition. | ||||
* | [SERVER] Get rid of epoll in alservers.c, make valgrind+gdb happy by ↵ | Simon Rettberg | 2015-01-06 | 1 | -1/+1 |
| | | | | handling signals even though we block them | ||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 1 | -7/+7 |
| | | | | function names | ||||
* | [SERVER] Create compilation unit for wait/signalling logic (using eventfd) | Simon Rettberg | 2014-12-31 | 1 | -1/+1 |
| | |||||
* | [SERVER] Add setting to enable/disable background replication, add comments ↵ | Simon Rettberg | 2014-12-29 | 1 | -0/+2 |
| | | | | to config and code | ||||
* | [SERVER] Configurable client timeout, adaptive replication speed (to be ↵ | Simon Rettberg | 2014-12-22 | 1 | -0/+2 |
| | | | | tested against varying bw/latency), retry sendfile call if ret <= len | ||||
* | [SERVER] Minor tweaks here and there | Simon Rettberg | 2013-11-10 | 1 | -0/+2 |
| | |||||
* | bla | Simon Rettberg | 2013-11-07 | 1 | -0/+2 |
| | |||||
* | [SERVER] Copy CRC-32 list from uplink server if available | Simon Rettberg | 2013-08-28 | 1 | -1/+3 |
| | | | | | Split up helper.c, move file/disk related functions to fileutil.c Uplink: Make sure relayed requests are at least 1MiB | ||||
* | [SERVER] several improvements | Simon Rettberg | 2013-08-02 | 1 | -0/+6 |
| | | | | | | 1) Close uplink if local copy is complete 2) Fix memleak when closing uplink (recv buffer was not cleared) 3) Add configurable artificial delays for client and server connections | ||||
* | [SERVER] Fix create_image() by adding fallback solutions for fallocate() | Simon Rettberg | 2013-08-01 | 1 | -1/+8 |
| | |||||
* | [SERVER] Add command line options to create empty image of certain size with ↵ | Simon Rettberg | 2013-08-01 | 1 | -0/+29 |
| | | | | empty cache map (so it needs an uplink server) | ||||
* | Remove all glib dependencies from server | sr | 2013-07-17 | 1 | -1/+1 |
| | |||||
* | Add debug-lock functions that will helpt to spot deadlocks etc. while developing | sr | 2013-07-16 | 1 | -0/+1 |
| | |||||
* | Rewrite in progres.... | sr | 2013-07-09 | 1 | -0/+6 |