tracker
All repositories: gitoria
1.3 KB
#!/bin/bash# usage: [HL_GC_BYTES=…] run.sh <new|old|final> <port> — the merged app on a COPY of live storage (.scratch/w070/real-<which>), all jobs on,# the daily run forced NOW as a delta run (sync-state.txt = yesterday); RSS sampled every 10 s → .scratch/w070/real-<which>/rss.logset -eW=/media/STORAGE/projects/WorldAPI/tracker.worldapi.orgwhich=$1; port=$2R=$W/.scratch/w070/real-$whichtree=$W; [ "$which" = old ] && tree=$W/.scratch/w070/oldtreedate -u -d yesterday +%F > $R/storage/mpackdb/sync-state.txtsid=$(head -c 16 /dev/urandom | xxd -p); now=$(date +%s%3N)echo "{\"created\":$now,\"data\":{\"tag\":\"t\"},\"id\":\"$sid\",\"seen\":$now,\"user\":{\"id\":\"0mujqspn0aqb\"}}" > $R/sessions/$(printf %s "$sid" | sha256sum | cut -d' ' -f1)echo $sid > $R/sidcd $treeTRACKER_PORT=$port TRACKER_URL=http://127.0.0.1:$port HL_HOST=127.0.0.1 TRACKER_WATCH=0 TRACKER_SYNC=1 TRACKER_SYNC_HOUR=$(date -u +%-H) \TRACKER_STORAGE=$R/storage/mpackdb TRACKER_SESSIONS=$R/sessions/ TRACKER_OLD_SHORT_IDS=$tree/data/old-short-ids.json \setsid nohup ./bin/hybriel project.hl > $R/server.log 2>&1 < /dev/null &pid=$!; echo $pid > $R/server.pidsetsid nohup /media/STORAGE/projects/WorldAPI/tracker.worldapi.org/tests/realdata-070-sampler.sh $which > /dev/null 2>&1 < /dev/null &echo $! > $R/sampler.pidecho "started $which pid $pid sid $sid"
Branches
Latest commits
- 451db7cdgc1: show page and check clicks read the kept watched set instead of building one from a by-value copy of every watchmre
- ddb4127egc1: TRACKER_QSTATS=1 logs queue and cache sizes every 10 s (measurement only)mre
- da60547fstatus: GC1 done, backup bugmre
- e4171021log: GC1 result, backup hard-link bugmre
- f1597214deploy.sh backup: tar --hard-dereference (hot tar stored mpackdb sidecars as hard links to .sessions files)mre
- 6b58571elog: GC windowmre
- 5c8baa1fdeploy lock: hold only around deploy.shmre
- b8dac822log: hybriel#309mre
- bf676d9elog: GC1 startedmre
- c7828541mission GC1mre
- ef949994conductor: neutral ticket rulemre
- 89e91ef3log: RV39 livemre
- ee2b677alog: RV39 deployingmre
- c1c4178cMerge branch 'rv39'mre
- a016e9abReapply "Merge branch 'rv39'"mre
- f29e2502log: RV39 gate fixmre
- d9fce111browser gate #26: exact frame count incl. SL1 people step (hybriel#308)mre
- ad529ac1log: m572 verdictmre
- 1b37d404RV39 on hold: hybriel#308mre
- f9127c68Revert "Merge branch 'rv39'"mre