Commit Graph

27 Commits

Author SHA1 Message Date
Matt Wells
ad695c001a fix stolen fd bug. 2015-08-20 20:07:30 -07:00
Matt
201b234217 use STDERR_FILENO not 2. 2015-02-08 20:02:05 -08:00
Matt
b78fb5a40f fix log to /dev/stderr on redhat 2015-02-08 19:57:22 -08:00
mwells
87285ba3cd use gbmemcpy not memcpy so we can get profiler working again
since memcpy can't be interrupted and backtrace() called.
2015-01-13 12:25:42 -07:00
Matt
f488be4ede make new logfile when current logfile hits 1GB.
this will save disk space so we can delete the old
log files that can be many GBs in size.
2015-01-05 11:29:49 -08:00
Matt
e43365fc70 more pthread_t pid_t fixes 2014-12-10 14:06:17 -08:00
Matt
feed7d5b3c pthread_t pid_t compatibility fixes 2014-12-10 13:15:26 -08:00
Matt
266d97608a fix a few more 64-bit conversion cores 2014-11-20 16:12:18 -08:00
Matt
bf2013345d fix up diskpagecache. how did it work before
without storing the vfd? because linked list was
over many different vfds, but the map from one diskpage
to a mem offset was specific to each vfd.
2014-11-20 15:05:34 -08:00
Matt
931a1c4bc6 good checkpoint. quite a few fixes. 2014-11-17 18:13:36 -08:00
Matt
4c19453ea9 working with -m32 for basic testing.
compiles for 64-bit.
2014-11-12 11:38:37 -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
Matt Wells
0242fe88ff try to fix msg22 based cores 2014-05-14 07:46:32 -07:00
mwells
7a0971ca39 fix nasty spider bug that was not prioritizing things right.
fixed image debug logging.
2014-05-10 10:07:37 -07:00
mwells
ff121a76d9 fix formatting bugs 2014-04-30 14:17:39 -06:00
Matt Wells
e5c58d4322 fix gb kstart/start 2014-04-15 23:28:14 -07:00
Matt Wells
36e26436b5 logging fixes 2014-04-10 23:04:00 -07:00
mwells
2adf5b9bc5 more awesome fixes 2014-04-09 13:31:11 -07:00
mwells
1b5c6a6278 create hosts.conf into cwd if not there.
pretty up logging system.
update admin.html
2014-04-06 21:12:52 -07:00
mwells
23e5a94ddf move log file in the binary itself now. 2014-04-06 14:02:51 -07:00
Matt Wells
06f67db16b forgot to unlock thread lock 2013-12-15 10:43:34 -07:00
Matt Wells
0d976e5a7f include pthread.h 2013-12-15 10:40:50 -07:00
Matt Wells
7cad5df43e try to fix core from pthreads logging msgs. 2013-12-15 10:38:18 -07:00
mwells
ca2a024d04 fixed up thread/spider log msgs.
fixed core from calling fprintf in
alarm signal missed quickpoll handler.
2013-08-29 21:15:42 -06: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