gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit451db7cd451db7cdgc1: show page and check clicks read the kept watched set instead of building one from a by-value copy of every watchmre451db7cd/tests/realdata-070-run.sh

1.3 KB

  1. #!/bin/bash
  2. # 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,
  3. # the daily run forced NOW as a delta run (sync-state.txt = yesterday); RSS sampled every 10 s → .scratch/w070/real-<which>/rss.log
  4. set -e
  5. W=/media/STORAGE/projects/WorldAPI/tracker.worldapi.org
  6. which=$1; port=$2
  7. R=$W/.scratch/w070/real-$which
  8. tree=$W; [ "$which" = old ] && tree=$W/.scratch/w070/oldtree
  9. date -u -d yesterday +%F > $R/storage/mpackdb/sync-state.txt
  10. sid=$(head -c 16 /dev/urandom | xxd -p); now=$(date +%s%3N)
  11. echo "{\"created\":$now,\"data\":{\"tag\":\"t\"},\"id\":\"$sid\",\"seen\":$now,\"user\":{\"id\":\"0mujqspn0aqb\"}}" > $R/sessions/$(printf %s "$sid" | sha256sum | cut -d' ' -f1)
  12. echo $sid > $R/sid
  13. cd $tree
  14. TRACKER_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) \
  15. TRACKER_STORAGE=$R/storage/mpackdb TRACKER_SESSIONS=$R/sessions/ TRACKER_OLD_SHORT_IDS=$tree/data/old-short-ids.json \
  16. setsid nohup ./bin/hybriel project.hl > $R/server.log 2>&1 < /dev/null &
  17. pid=$!; echo $pid > $R/server.pid
  18. setsid nohup /media/STORAGE/projects/WorldAPI/tracker.worldapi.org/tests/realdata-070-sampler.sh $which > /dev/null 2>&1 < /dev/null &
  19. echo $! > $R/sampler.pid
  20. echo "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