Tôi vừa mới cài đặt véc ni và sẵn sàng để phục vụ các trang web.Tệp cấu hình véc ni ở đâu?
Vấn đề là chúng tôi đang đạt đến giới hạn tệp đang mở.
Chúng tôi đã đặt ulimit
cho người dùng véc ni.
Chúng tôi muốn tìm một tập tin mà chúng ta có thể viết cấu hình này:
# Maximum number of open files
NFILES=131072
# Locked shared memory, default log size is 82MB + header
MEMLOCK=82000
## Configuration with VCL
#
# Listen on port 80, administration on localhost:6082, and forward to
# one content server selected by the vcl file, based on the request. Use a
# fixed-size cache file.
#
# Note: you must replace "example.org" with the outside IP address of your server
# - this is the address at which Varnish receives incoming requests.
# $wgSquidServers in MediaWiki's LocalSettings.php will also need to list all addresses for this Varnish cache.
#
DAEMON_OPTS="-a example.org:80 \
-T localhost:6082 \
-f /etc/varnish/default.vcl \
-u varnish -g varnish \
-s file,/var/lib/varnish/varnish_storage.bin,4G"
không ... chúng tôi không thể viết cấu hình ở trên ... –
Hãy xem và xem bạn có thể xem tệp véc ni trong '/ etc/defaults' hoặc'/etc/sysc hay không onfig'. Đây có vẻ là tệp bạn đang tìm kiếm. – qweet
không ... tôi đã cài đặt véc ni sử dụng tarball –