Created
October 29, 2014 13:16
-
-
Save KristianLyng/9cdc231d09a910f99b0a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # varnishd -a 127.0.0.1:1111 -f /etc/varnish/default.vcl -s file,/tmp/foo.cache,4G | |
| # ls /tmp/foo.cache -lh | |
| -rw------- 1 root root 4.0G Oct 29 14:14 /tmp/foo.cache | |
| # pkill varnishd | |
| # ps aux | grep varnishd | |
| kristian 7619 0.0 0.0 17148 3220 pts/10 S+ 14:13 0:00 man varnishd | |
| root 7908 0.0 0.0 12692 2220 pts/4 S+ 14:14 0:00 grep varnishd | |
| # ls /tmp/foo.cache -lh | |
| -rw------- 1 root root 4.0G Oct 29 14:14 /tmp/foo.cache | |
| # varnishd -a 127.0.0.1:1111 -f /etc/varnish/default.vcl -s file,/tmp/foo.cache,1G | |
| WARNING: (-sfile) file size reduced to 40241768038 (80% of available disk space) | |
| # ls /tmp/foo.cache -lh | |
| -rw------- 1 root root 38G Oct 29 14:14 /tmp/foo.cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment