Skip to content

Instantly share code, notes, and snippets.

@christophekey
christophekey / dead varnish
Created August 24, 2018 22:28
Step 2 - kill varnish run again
ps aux
root 2280 0.0 0.0 118376 3536 ? Ss 22:21 0:00 /opt/varnish/sbin/varnishd -a :6081 -T localhost:6082 -s malloc,256m -f /etc/varnish.vcl
nobody 2282 0.0 0.0 273108 3104 ? Sl 22:21 0:00 /opt/varnish/sbin/varnishd -a :6081 -T localhost:6082 -s malloc,256m -f /etc/varnish.vcl
kill 2280
kill 2282
killed varnish
@christophekey
christophekey / fill geocoder - varnish error
Created August 24, 2018 22:23
step 1 - fill geocoder varnish error
root@carto:/home/christophe# docker exec -ti 1e8fbd412722 bash -c /cartodb/script/fill_geocoder.sh
--2018-08-24 22:21:56-- https://s3.amazonaws.com/data.cartodb.net/geocoding/dumps/0.0.1/admin0_synonyms.sql
Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.216.169.37
Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.216.169.37|:443... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
The file is already fully retrieved; nothing to do.
--2018-08-24 22:21:56-- https://s3.amazonaws.com/data.cartodb.net/geocoding/dumps/0.0.1/available_services.sql
Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.216.99.29