Commit Graph

15 Commits

Author SHA1 Message Date
Matt Wells
a2e8a3a1fd use ./cleanexit file to ensure gb doesn't restart
after a graceful exit in the bash keep alive loop.
2016-03-16 14:57:19 -07:00
Matt
74cde33a3a just use the user's umask val for all file/dir creation 2015-09-21 11:33:38 -06:00
Matt Wells
d4468c8d66 File::m_filename as a safebuf was causing problems. reverted
to char buf of fixed length. only autosave coll.confs if
there are not too many or we are host #0. otherwise it blocks too long.
2015-08-19 14:30:18 -07:00
Matt Wells
1b19d53286 give safebuf buffer for File::m_filename[].
easier to save if core in malloc/free and less mallocs
in general.
2015-08-19 10:14:11 -07:00
Matt Wells
178721d35b speed up getFileSize() by using stat() func again.
despam logs at startup.
do not perm check every coll dir, only first 100, on
startup to make things faster.
2015-08-15 22:21:15 -07:00
Matt
d9422d8b0e get rid of limits on file sizes. dynamically allocate
file names and fixed-size File array in BigFile class. should
save gigabytes of memory in many-collection systems with
1+ million files or so.
2015-08-14 20:14:50 -06:00
Matt
a1ed368d82 bring back max mem control into master controls.
it's useful to limit per process mem usage to prevent
oom killer because we can't save if we get killed.
overhaul diskpagecache to just use rdbcache. much simpler
and faster, but disabled for now until debugged more.
reduce min files to merge for crawlbot collections so
they stay more tightly merged to conserve fds and mem.
improved logDebugDisk msgs.
overhauled File.cpp fd pool. now it is way faster and
doesn't use any extra mem. much simpler too. although
could be sped up a little by using a linked list, but
probably is not significant enough to warrant doing right now.
increase mem ptr table from 3M to 8M slots. should really make
dynamic though. fix core from null msg20s[0]->m_r.
only call attemptMergeAll once every 60 seconds really.
do not attempt merge if already merging.
2015-08-14 12:58:54 -06:00
Matt
13d0361756 try to speed up host #4 on seraph 2015-04-10 09:20:18 -06:00
Matt Wells
4ed8231222 upp max vfds again 2015-04-07 09:56:04 -06:00
Matt
bc6f065457 fix getFileSize(). fix warc injector. 2015-01-20 19:12:58 -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
931a1c4bc6 good checkpoint. quite a few fixes. 2014-11-17 18:13:36 -08:00
Matt
96b8197ad3 now it compiles with -m32 2014-11-10 14:45:11 -08:00
Matt Wells
4e803210ee tons of changes from live github on neo.
lots of core fixes.
took out ppthtml powerpoint convert, it hangs.
dynamic rdbmap to save memory per coll.
fixed disk page cache logic and brought it
back.
2014-01-17 21:01:43 -08:00
Matt Wells
f6e560c1f4 Initial file population. 2013-08-02 13:12:24 -07:00