Hugo just hanging there

I just reinstalled Ubuntu 16.04 LTS, cloned my blog into directory and run hugo command inside that directory. Hugo was installed via go get
golang was downloaded from golang site, no ubuntu package installed.

~> go version
go version go1.6.3 linux/amd64
~> hugo version
Hugo Static Site Generator v0.16-DEV BuildDate: 2016-08-07T09:43:30+02:00

It’s not complaining, just hanging there. config.toml is found, hugo checkconfig is not complaining.

I tried hugo -v, but not big difference:

~/icoviny> hugo -v
INFO: 2016/08/08 23:03:12 hugo.go:376: Using config file: /home/ico/icoviny/config.toml
INFO: 2016/08/08 23:03:12 hugo.go:456: syncing from /home/ico/icoviny/static/ to /home/ico/icoviny/site/
INFO: 2016/08/08 23:03:12 site.go:836: found taxonomies: map[string]string{"knihy":"knihy", "tag":"tagy"}

strace hugo is giving me at the end of output


stat("/home/ico/icoviny/site/doc/", {st_mode=S_IFDIR|0775, st_size=4096, …}) = 0
openat(AT_FDCWD, “/home/ico/icoviny/site/doc/index.xml”, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 7
write(7, “<?xml version=“1.0” encoding=“ut”…, 30821) = 30821
close(7) = 0
mmap(0xc820d00000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc820d00000
mmap(0xc81ff90000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc81ff90000
futex(0xc82002c908, FUTEX_WAKE, 1) = 1
sched_yield() = 0
futex(0x102cd70, FUTEX_WAIT, 2, NULL) = 0
futex(0x102cd70, FUTEX_WAKE, 1) = 0
futex(0xc8204c6108, FUTEX_WAKE, 1) = 1
futex(0x102cb08, FUTEX_WAKE, 1) = 0
futex(0x102ca30, FUTEX_WAKE, 1) = 1
futex(0x102cae0, FUTEX_WAKE, 1) = 1
futex(0x102ca30, FUTEX_WAKE, 1) = 1
sched_yield() = 0
futex(0x102ca30, FUTEX_WAKE, 1) = 0
futex(0xc8204c6108, FUTEX_WAKE, 1) = 1
stat(”/home/ico/icoviny/site/blog/", {st_mode=S_IFDIR|0775, st_size=4096, …}) = 0
openat(AT_FDCWD, “/home/ico/icoviny/site/blog/index.html”, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 7
write(7, “\n<html lang=“en”>”…, 22927) = 22927
close(7) = 0
stat("/home/ico/icoviny/site/blog/", {st_mode=S_IFDIR|0775, st_size=4096, …}) = 0
openat(AT_FDCWD, “/home/ico/icoviny/site/blog/index.xml”, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 7
write(7, “<?xml version=“1.0” encoding=“ut”…, 59655) = 59655
close(7) = 0
stat(”/home/ico/icoviny/site/", {st_mode=S_IFDIR|0775, st_size=4096, …}) = 0
openat(AT_FDCWD, “/home/ico/icoviny/site/index.html”, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 7
write(7, “\n<html lang=“en”>”…, 3492) = 3492
close(7) = 0
stat("/home/ico/icoviny/site/knihy/", {st_mode=S_IFDIR|0775, st_size=4096, …}) = 0
openat(AT_FDCWD, “/home/ico/icoviny/site/knihy/index.html”, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 7
write(7, “\n<html lang=“en”>”…, 3916) = 3916
close(7) = 0
stat("/home/ico/icoviny/site/knihy/", {st_mode=S_IFDIR|0775, st_size=4096, …}) = 0
openat(AT_FDCWD, “/home/ico/icoviny/site/knihy/index.xml”, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 7
write(7, "<?xml version=“1.0” encoding=“ut”…, 9326) = 9326
close(7) = 0
futex(0xc82005e108, FUTEX_WAKE, 1) = 1
futex(0xc82005e108, FUTEX_WAKE, 1) = 1
futex(0x102d488, FUTEX_WAIT, 0, NULLstrace: Process 13233 detached
<detached …>

I thought this is maybe I can’t open enough files, but after raising
> ulimit -n
100000

no change. I can’t even get any output when running hugo as root.

This is ulimit -a for current user

~> ulimit -a
Maximum size of core files created                           (kB, -c) 0
Maximum size of a process’s data segment                     (kB, -d) unlimited
Maximum size of files created by the shell                   (kB, -f) unlimited
Maximum size that may be locked into memory                  (kB, -l) 64
Maximum resident set size                                    (kB, -m) unlimited
Maximum number of open file descriptors                          (-n) 100000
Maximum stack size                                           (kB, -s) 32768
Maximum amount of cpu time in seconds                   (seconds, -t) unlimited
Maximum number of processes available to a single user           (-u) 63008
Maximum amount of virtual memory available to the shell      (kB, -v) unlimited

Any ideas?

It’s working now. I did remove go installed from golang site ( 1.6.3 ), added standard distribution go 1.6.2 and reinstalled hugo via go get -v -u github.com/spf13/hugo. It’s not complaining anymore.