← Back to team overview

graphite-dev team mailing list archive

Re: [Question #228762]: After starting process: run-graphite-devel-server.py and trying to open "http://127.0.0.1l:8080/Dashboard" the process crashes

 

Question #228762 on Graphite changed:
https://answers.launchpad.net/graphite/+question/228762

Description changed to:
When I've started up all necessary processes for graphite:

/opt/graphite/bin/carbon-cache.py --debug start
/opt/graphite/bin/run-graphite-devel-server.py ../
/opt/statsd/node stats.js localConfig.js

And open: http://127.0.0.1:8080 everything looks just fine (a gray
graphite bar on top, I can create and login with a account). However as
soon as I open "Dashboard" section the process: run-graphite-devel-
server.py just stops (without any message).

Running run-graphite-devel-server.py with strace -f | tail -n 50 shows me this: 
[pid 10617] _llseek(6, 47104, [47104], SEEK_SET) = 0
[pid 10617] read(6, "\r\0\0\0\7\0%\0\0%\0\253\1 \1\232\2\33\2\313\3y\0\0\0\0"..., 1024) = 1024
[pid 10617] _llseek(6, 55296, [55296], SEEK_SET) = 0
[pid 10617] read(6, "\r\0\0\0\6\0e\0\0e\1\1\1\242\2K\2\374\3|\0\0\0\0\0\0\0"..., 1024) = 1024
[pid 10617] _llseek(6, 62464, [62464], SEEK_SET) = 0
[pid 10617] read(6, "\r\0\0\0\7\0]\0\0\352\1Z\1\330\2X\2\343\3m\0]\0\0\0\0\0"..., 1024) = 1024
[pid 10617] fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xb6f058f4) = 0
[pid 10617] fcntl64(6, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xb6f059f4) = 0
[pid 10617] fcntl64(6, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}, 0xb6f059f4) = 0
[pid 10617] fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xb6f059f4) = 0
[pid 10617] access("/opt/graphite/storage/graphite.db-journal", F_OK) = -1 ENOENT (No such file or directory)
[pid 10617] fstat64(6, {st_mode=S_IFREG|0644, st_size=69632, ...}) = 0
[pid 10617] _llseek(6, 24, [24], SEEK_SET) = 0
[pid 10617] read(6, "\0\0\0q\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
[pid 10617] _llseek(6, 31744, [31744], SEEK_SET) = 0
[pid 10617] read(6, "\r\0\0\0\1\3\7\0\3\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024
[pid 10617] _llseek(6, 32768, [32768], SEEK_SET) = 0
[pid 10617] read(6, "\n\0\0\0\1\3\333\0\3\333\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024
[pid 10617] fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xb6f05994) = 0
[pid 10617] fcntl64(6, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xb6f06574) = 0
[pid 10617] fcntl64(6, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}, 0xb6f06574) = 0
[pid 10617] fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xb6f06574) = 0
[pid 10617] access("/opt/graphite/storage/graphite.db-journal", F_OK) = -1 ENOENT (No such file or directory)
[pid 10617] fstat64(6, {st_mode=S_IFREG|0644, st_size=69632, ...}) = 0
[pid 10617] _llseek(6, 24, [24], SEEK_SET) = 0
[pid 10617] read(6, "\0\0\0q\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
[pid 10617] _llseek(6, 27648, [27648], SEEK_SET) = 0
[pid 10617] read(6, "\r\0\0\0\2\2\317\0\3l\2\317\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024
[pid 10617] fcntl64(6, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xb6f06514) = 0
[pid 10617] open("/opt/graphite/webapp/graphite/templates/dashboard.html", O_RDONLY|O_LARGEFILE) = 7
[pid 10617] fstat64(7, {st_mode=S_IFREG|0664, st_size=3510, ...}) = 0
[pid 10617] fstat64(7, {st_mode=S_IFREG|0664, st_size=3510, ...}) = 0
[pid 10617] _llseek(7, 0, [0], SEEK_CUR) = 0
[pid 10617] fstat64(7, {st_mode=S_IFREG|0664, st_size=3510, ...}) = 0
[pid 10617] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb5d68000
[pid 10617] _llseek(7, 0, [0], SEEK_CUR) = 0
[pid 10617] read(7, "{% autoescape off %}\n\n<html>\n  <"..., 4096) = 3510
[pid 10617] read(7, "", 4096)           = 0
[pid 10617] close(7)                    = 0
[pid 10617] munmap(0xb5d68000, 4096)    = 0
[pid 10617] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 10599 resumed
Process 10616 detached
Process 10617 detached
Process 10616 detached
<... waitpid resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0) = 10616
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigaction(SIGINT, {SIG_DFL}, {0xb7695e50, [], 0}, 8) = 0
exit_group(-11)                         = ?
Process 10599 detached

I have no idea how to trace this back to anything useful and some help
would be much appreciated!

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.