Commit Graph

18 Commits

Author SHA1 Message Date
Matt
68f41bd22a debug why we don't dump core sometimes. 2015-11-18 16:11:27 -07:00
Matt
8763fd6d78 make gb shutdown easier (./gb stop) 2015-10-10 11:12:02 -07:00
Matt
fa2ecf8681 allow for niceness 1 'merge' threads to have
their own queue. so merge operations take precedence
in that cpu-based thread queue over regular spider
operation rdblist merges.
2015-09-05 08:44:52 -06:00
Matt Wells
3a522f52d3 no longer use read size based thread queues.
re-added merge disk read thread queue.
fixed attemptMergeAll().
2015-09-04 16:14:18 -07:00
Matt Wells
81affde47d fix corrupt spider request bug some more 2015-09-04 14:14:14 -07:00
Matt Wells
c653b0989c undo some possible averse changes 2015-09-04 11:31:43 -07:00
Matt
b50f36cd73 a whole new threads stack 2015-09-03 11:59:43 -06:00
Matt
c6605d7b33 64 bit somewhat working at runtime. need to test all functionality
to make sure. fixes are pretty trivial.
2014-11-12 19:18:25 -08:00
Matt
96b8197ad3 now it compiles with -m32 2014-11-10 14:45:11 -08:00
Matt Wells
e7dd8f7956 replace long long with int64_t 2014-10-30 13:36:39 -06:00
mwells
7bd3b42477 comment out unused code. make thread cleanups
basically untimed.
2014-09-03 09:48:43 -07:00
Matt Wells
36e26436b5 logging fixes 2014-04-10 23:04:00 -07:00
mwells
5ee79a4c2f daemonize on ./gb 0 etc. 2014-04-06 15:57:38 -07:00
Matt Wells
edbd61b0c5 thread fixes. if pthread_create fails then
keep thread queue and just return. will try to
relaunch later. do not count delete keys towards
shard rebalance count.
2014-03-15 20:07:02 -07:00
Matt Wells
e5da0ac967 do not try to join on thread when pthread_create() fails
to create thread. was causing core.
2013-11-16 18:28:49 -07:00
Matt Wells
5e30728a3a new graphic icons. minor clean ups. 2013-11-15 14:47:05 -07:00
mwells
80179525c1 when using pthreads block SIGIO
so it does not silently kill the gb
process because we no longer have a handler
for it because it was bogging down the cpu
because it went off every time a udp datagram
was sent/received and it seemed to have a ton
of overhead with it. SIGIO used to be sent
when the signal queue was full so we'd resort
to polling the file descriptors, so i'm not
sure how this will affect us. also updated
Threads.cpp to use getpidtid() instead of
getpid() to get the thread id when using
pthreads, not the process id. using pthreads
is now default behaviour even though they suck.
we used to use clone() but the newer stuff doesn't
allow us to override errno_location anymore.
2013-08-21 15:01:26 -06:00
Matt Wells
f6e560c1f4 Initial file population. 2013-08-02 13:12:24 -07:00