Commit Graph

117 Commits

Author SHA1 Message Date
Martin Raiber
df7100e164 Decrease large thread stack size to 64MB and create thread without large stack size if creation with large size fails 2018-12-03 23:12:05 +01:00
Martin Raiber
261fc3009d Decrease large thread stack size to 64MB and create thread without large stack size if creation with large size fails 2018-12-03 23:02:10 +01:00
Martin Raiber
6e3b31dcb6 Decreate large thread stack size to 64MB and create thread without large stack size if creation with large size fails 2018-12-03 22:51:49 +01:00
Martin
ca0801ddb5 Fix build 2017-12-17 15:49:34 +01:00
Martin
b199c30a25 Use Crypto++ to calculate MD5/SHA in release mode 2017-12-17 15:29:08 +01:00
Martin
878742d27d Improve thread pool
(cherry picked from commit f9126decebea0a439d29a6dd96621c9ca4172cca)

# Conflicts:
#	ThreadPool.cpp
2017-07-08 17:57:30 +02:00
Martin Raiber
1be64fb176 Increase large stack size 2017-06-16 17:09:56 +02:00
Martin
5cbf8beb05 Support larger stack size on Windows 2017-06-07 15:52:34 +02:00
Martin
dee5a9b0c8 Support larger stack size on Windows 2017-06-07 15:26:03 +02:00
Martin
11237f09eb Larger stack size for file indexing thread 2017-06-07 15:03:48 +02:00
Martin
d8eb959504 Retry creating thread pool thread 2017-05-13 12:43:32 +02:00
Martin
bc74f5f397 Handle pthread thread creation errors and create threads in detached state 2017-05-13 12:31:21 +02:00
Martin
a744127ee8 Fix dead lock
(cherry picked from commit b5e6ce0912171ff4352e20639fdc7bd435560729)
2017-01-12 01:04:09 +01:00
Martin
37192e7251 Reset CPU priority as well... 2016-12-12 23:24:37 +01:00
Martin
214b3936ee Reset IO priority of new threads on Linux 2016-12-12 23:20:26 +01:00
Martin
4a7563b135 Hostname database and settings to configure it to not start backups if clients have certain hostnames 2016-12-10 20:57:39 +01:00
Martin
cab42dedcb Set FD_CLOEXEC via fcntl if SOCK_CLOEXEC is not available 2016-12-08 00:49:47 +01:00
Martin
a5fcebe5dc Set FD_CLOEXEC via fcntl if SOCK_CLOEXEC is not available 2016-12-08 00:29:16 +01:00
Martin
c36a9af570 Revert "Return zero if settings file cannot be opened"
This reverts commit ddd0dcc301.
2016-11-30 01:50:34 +01:00
Martin
ddd0dcc301 Return zero if settings file cannot be opened 2016-11-30 01:49:23 +01:00
Martin
64c7d9020f Simplified file settings reader 2016-11-30 01:23:00 +01:00
Martin Raiber
bb2dcdbca4 Throtting to percent of max speed determined by regular probing for max speed 2016-11-12 22:23:34 +01:00
Martin
6ad93b1fbc Fix handle leak 2016-10-24 02:47:54 +02:00
Martin
bad786bf18 Fixed a few coverity issues 2016-10-24 02:29:54 +02:00
Martin
7785142c20 Improved settings performance 2016-08-07 23:01:07 +02:00
Martin
aeb3a2a252 Debug file closing 2016-04-03 14:33:20 +02:00
Martin
fc948f392b Destroy databases when thread finishes 2016-02-19 18:47:42 +01:00
Martin Raiber
cf0c2c6df4 Fix a few query leaks
(cherry picked from commit 91356f346aa049b6a8468d492a4badcfb040bd62)
2016-01-30 20:57:31 +01:00
Martin
c263f009af Defines to increase stack size 2016-01-25 00:35:01 +01:00
Martin
dff855325e Build Linux client installer 2016-01-20 01:47:08 +01:00
Martin
8af6385058 Set SO_NOSIGPIPE on sockets on Mac OS X 2016-01-17 17:25:22 +01:00
Martin
9cf5aef756 Build fix 2016-01-16 18:49:18 +01:00
Martin
1ad155fee0 Max OS X client 2016-01-16 18:12:37 +01:00
Martin
b3903cc1c4 Checkpoint files.db in separate thread and give all threads nice names 2016-01-15 16:19:23 +01:00
Martin
d47668fb5f Prevent handle leaks. Get stderr when snapshotting/removing snapshot in backup hook 2016-01-14 20:59:46 +01:00
Martin
5402c004ed Linux build fixes plus improved error logging 2016-01-14 19:46:43 +01:00
Martin
b6521dd091 Improved Database locking and backup 2016-01-14 17:38:42 +01:00
Martin
95e76550cd Sparse file handling (TODO: Linux) 2016-01-11 00:29:46 +01:00
Martin
9ee64e650a Updated copyright 2016-01-02 16:38:00 +01:00
Martin Raiber
5507a22d7a Build with Visual Studio 2015 2015-12-26 23:25:23 +01:00
Martin Raiber
6eb6b1c020 Build with Visual Studio 2015 2015-12-26 23:23:06 +01:00
Martin Raiber
c7ea511e63 Switched to Visual Studio 2015; Removed boost dependency on Windows 2015-12-23 18:41:50 +01:00
Martin
7cb5d0678a Made Linux restore working 2015-12-18 16:58:50 +01:00
Martin
96823b24f9 Information about no recent backup comes from backend now 2015-12-14 01:15:12 +01:00
Martin
b23c3da96c Automatically set version 2015-12-13 16:29:13 +01:00
Martin
9bab514e22 Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
Martin
8f8bc98008 Improved Linux command line server interface 2015-12-07 18:57:40 +01:00
Martin
27686b08d6 Linux file backups with snapshots and symbolic links 2015-12-07 01:06:32 +01:00
Martin
b1031c918c Parameter to bind service to localhost
(cherry picked from commit 05978932bb)
2015-12-05 22:25:35 +01:00
Martin
75604d0d61 Linux build system overhaul 2015-12-05 18:10:17 +01:00