amcfague / linesman

Intelligent Profiling for Python WSGI Applications

Home Page:http://pypi.python.org/pypi/linesman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The call graph is throwing ISE 500 on profile visit.

shriyanshagnihotri opened this issue · comments

The call graph is throwing ISE 500 on profile visit.

The UI tries to pull the png from backend but the backend returns 500.

I have installed libcgraph6 graphviz graphviz-dev OS packages. I am using debian 8.
I have installed linesman using pip.

screen shot 2016-07-18 at 12 05 55 am

screen shot 2016-07-18 at 12 06 36 am

require help!!

Also in one of my machine I am able to see the call hierarchy but in few machines i get "method 'disable' of '_lsprof.Profiler' objects". any idea why this is happening.

You'll need to look at the server logs to see why its returning a 500--if its failing to return the PNG, chances are something is going on with your graphviz installation . Were you able to figure this out?

@amcfague : I checked the log, un-luckily after the request of graph image file from client the server takes to much time to respond and hence it times out.

Here is my request log:
"127.0.0.1 - - [2016-08-09 09:40:28] "GET /favicon.ico HTTP/1.0" 200 2406 0.327379
127.0.0.1 - - [2016-08-09 09:40:32] "GET /profiler/profiles/2f68efaa-5de7-11e6-bda9-000c29762109 HTTP/1.0" 200 7234 0.024593"

after this the server stops responding. Also what is the nominal time for computing the call graph, maybe I can adjust the timeout as per that to overcome this problem.