Skip to content

Commit 837d9b8

Browse files
prmoore77claude
andcommitted
GizmoSQL: use sudo to drop page caches in run.sh
Without sudo, tee fails with "Permission denied" writing to /proc/sys/vm/drop_caches. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 669c637 commit 837d9b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gizmosql/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ for query in "${queries[@]}"; do
1919

2020
# Clear Linux memory caches to ensure fair benchmark comparisons
2121
sync
22-
echo 3 | tee /proc/sys/vm/drop_caches > /dev/null
22+
echo 3 | sudo tee /proc/sys/vm/drop_caches > /dev/null
2323

2424
# Start the GizmoSQL server
2525
start_gizmosql

0 commit comments

Comments
 (0)