# Hugo just hanging there

**URL:** <https://discourse.gohugo.io/t/hugo-just-hanging-there/3854>\
**Category:** support\
**Created:** [August 8, 2016, 9:06pm UTC](https://discourse.gohugo.io/t/hugo-just-hanging-there/3854 "2016-08-08T21:06:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Beke](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@Stefan\_Beke](https://discourse.gohugo.io/u/Stefan_Beke)\
**Post date:** [August 8, 2016, 9:06pm UTC](https://discourse.gohugo.io/t/hugo-just-hanging-there/3854/1 "2016-08-08T21:06:08Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Stefan\_Beke](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@Stefan\_Beke](https://discourse.gohugo.io/u/Stefan_Beke)\
**Post date:** [August 10, 2016, 6:10am UTC](https://discourse.gohugo.io/t/hugo-just-hanging-there/3854/2 "2016-08-10T06:10:22Z")

</div>

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.
