1
0
Fork 0
Commit Graph

196 Commits

Author SHA1 Message Date
Max Neunhoeffer 428b6aa67f Port thread fixes from 3.1 to devel. 2017-03-16 13:53:40 +01:00
jsteemann 4727fd0f4b remove unused file 2017-03-13 17:32:13 +01:00
jsteemann 695d215b0c ensure that JobGuards are started and ended in the same thread 2017-02-27 22:41:58 +01:00
jsteemann 4005a15697 added some assertions 2017-02-27 17:23:41 +01:00
Frank Celler 4a3fdf6351 raised default hard limit on threads for very small to 64 2017-02-23 09:08:39 +01:00
Frank Celler a38f19a84c added locking to avoid races within boost asio 2017-02-22 14:51:48 +01:00
Frank Celler b2b9f377c1 safe guard 2017-02-22 09:02:49 +01:00
jsteemann af17235242 fix too early closing of sockets 2017-02-16 15:42:13 +01:00
jsteemann d024a6d00a remove logging for non-topics 2017-02-10 09:32:50 +01:00
Frank Celler 0da95481ea added locks for keep-alive 2017-02-08 09:41:18 +01:00
Frank Celler b3b02b10d3 fixed nested JobGuards 2017-02-07 14:35:24 +01:00
Frank Celler 00720cdd29 ignore the result of processAll, try to read more async 2017-02-07 13:33:03 +01:00
Frank Celler e3fe51faa8 better threads working handling 2017-02-06 16:32:55 +01:00
jsteemann ab11410911 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-06 13:05:11 +01:00
jsteemann 945edacf3f move connection info 2017-02-03 17:43:57 +01:00
jsteemann 952b9c00c2 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-03 10:43:56 +01:00
Frank Celler 7e2e8bfee0 reset counter as well 2017-02-02 16:00:03 +01:00
jsteemann 072553d3f3 don't throw in dtor 2017-02-02 10:21:15 +01:00
jsteemann fa917937c4 do not use namespaces in header files 2017-02-01 13:41:31 +01:00
Max Neunhoeffer c4d5d982c7 Fix bugs of threads not announcing that they are busy. 2017-01-31 14:07:54 +01:00
Dan Larkin 5b736dc319 Changed index-filling to dispatch batch insertion tasks to scheduler, obsoleted index-threads option. 2017-01-30 13:05:10 -05:00
jsteemann 43fb70a693 fix double-free issue 2017-01-30 15:32:06 +01:00
Frank Celler e0c00c6de6 improved statistics 2017-01-26 23:43:27 +01:00
jsteemann 34a110a08b mini fixes 2017-01-26 10:49:42 +01:00
Frank Celler fa114470f5 fixes for statistics 2017-01-25 22:31:00 +01:00
Max Neunhoeffer b83df2fbcd Typo in comment. 2017-01-25 15:38:43 +01:00
jsteemann 41e3268ccd clean up job queues on shutdown 2017-01-25 10:26:30 +01:00
Max Neunhoeffer c1428e81cd Try to fix a shutdown bug in Scheduler. 2017-01-24 16:47:23 +01:00
Jan Christoph Uhde d92101d74c clean up code 2017-01-12 10:28:48 +01:00
Jan Christoph Uhde 4858469bfa try to fix a bug in server that surfaced on heavy load 2017-01-11 15:27:53 +01:00
Jan Christoph Uhde 62eda019c2 Revert "switch immediately to async writes when socket would block during write"
This reverts commit 96067a9315.

The change resulted in a stackoverflow instead of a "hanging" connection
we might need to use something like TCP Keep Alive to handle
disconnected clients. The bug we are currently working on might not be
fixed by TCP Keep Alive as we are in a heavy load situation. Still the
socket should not block during write. It could do so if the client does
not receive the data form the network and the server side networkbuffer
runs full at some point. There might be other situations we are not
aware of.
2017-01-11 10:45:18 +01:00
Jan Christoph Uhde 96067a9315 switch immediately to async writes when socket would block during write 2017-01-10 13:47:31 +01:00
jsteemann a92b49d46e fix races in VST response handling 2017-01-09 17:06:33 +01:00
Max Neunhoeffer 1a30813919 Fix compilation. 2016-12-22 16:00:14 +01:00
Max Neunhoeffer 65c662b3f7 Enforce maximal number of threads. 2016-12-22 15:53:54 +01:00
Max Neunhoeffer e08d8cc1f8 Add a debug message about detected processors. 2016-12-20 14:46:43 +01:00
jsteemann 4f10a6fb9c experimental micro optimizations 2016-12-16 15:52:16 +01:00
jsteemann 3e6064f772 preliminary fix for issue #2218 2016-12-15 15:45:33 +01:00
jsteemann 9b42e9cee6 some improvements for memory management
added more memory diagnostics for memory usage:
- collection.figures() now returns a "readCache" attribute which contains the
  number of and memory usage of entries in the document revisions cache for the
  collection, and a "revisions" attribute with the number and memory usage
  of entries in the storage engine's revision lookup table for the collection
- the default value for --database.revision-cache-target-size was changed from
  75% of RAM to 30% of RAM
2016-12-15 15:30:28 +01:00
jsteemann b96897e296 fixed some issues detected by coverity build tool 2016-12-12 15:41:54 +01:00
Frank Celler 93eb443366 removed left-over merge conflict 2016-12-05 16:36:27 +01:00
Kaveh Vahedipour 029ff44bb0 Merge back FMH to devel 2016-11-25 16:03:13 +01:00
jsteemann 15487d49ba use make_unique 2016-11-25 15:35:54 +01:00
Kaveh Vahedipour b464b378bf new transact api for agency 2016-11-23 17:59:48 +01:00
Jan Christoph Uhde b40a18aac1 pass startTime into processRead 2016-11-23 14:06:36 +01:00
Jan Christoph Uhde 2bd70e5b9f fix request statistics and add a ruby test 2016-11-23 11:29:25 +01:00
Kaveh Vahedipour ffe7f9f3ad merged in devel 2016-11-16 14:59:53 +01:00
Frank Celler a1003cb5d3 cosmetics 2016-11-07 17:20:56 +01:00
jsteemann cfc9ecd198 fix Visual Studio complaints 2016-10-31 09:59:18 +01:00
Jan Christoph Uhde 5b818c3243 enable switching from http to vst fix vst authentication 2016-10-26 23:23:35 +02:00