superset icon indicating copy to clipboard operation
superset copied to clipboard

Superset runs slow, most times fails to load the page

Open gamefundas opened this issue 9 years ago • 10 comments

My Superset version is 0.15. Tried both, pip and docker installs but in both cases the page takes minutes to load. Most often the request runs in to 50x errors. The logs don't seem to indicate anything either. #1867 somewhat indicates the same issue. Also this issue is generic across all pages

Wondering if there is something in the configuration that can help fix this. My hardware is a m4xlarge EC2 instance so don't this is a hardware issue. Tried other web applications on the same machine and they seemed to work fine so this is not because of the network.

gamefundas avatar Jan 28 '17 05:01 gamefundas

Do you use sql lite ?

On Fri, Jan 27, 2017 at 9:25 PM, Anand Nadar [email protected] wrote:

My Superset version is 0.15. Tried both, pip and docker installs but in both cases the page takes minutes to load. Most often the request runs in to 50x errors. The logs don't seem to indicate anything either. #1867 https://github.com/airbnb/superset/issues/1867 somewhat indicates the same issue. Also this issue is generic across all pages

Wondering if there is something in the configuration that can help fix this. My hardware is a m4xlarge EC2 instance so don't this is a hardware issue. Tried other web applications on the same machine and they seemed to work fine so this is not because of the network.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/airbnb/superset/issues/2070, or mute the thread https://github.com/notifications/unsubscribe-auth/AFdmwn79xkr5Xk2YETj_OaoUq1dBYy18ks5rWtFdgaJpZM4LwbMt .

-- Best regards, Bogdan Kyryliuk.

bkyryliuk avatar Jan 28 '17 05:01 bkyryliuk

The pip install, uses sqllite I guess while the docker one was tried using mysql. So the answer is I tried both and slowness was seen in both cases.

gamefundas avatar Jan 28 '17 05:01 gamefundas

@gamefundas What do the logs say? Are you proxying gunicorn? Have you tried investigating where is the time spent?

xrmx avatar Jan 28 '17 08:01 xrmx

We do have http proxy set in the session but at the same time we have no_proxy variables set to prevent any local traffic to hit the proxy. Does gunicorn use the no_proxy variable? Else I will have to unset everything prior to starting the process.

gamefundas avatar Jan 28 '17 16:01 gamefundas

@gamefundas I don't understand whay you said, i meant an http proxy like nginx in front of gunicorn. Anyway whatever you have configured just do a curl 127.0.0.1:8088 (or whatever address) from the machine superset is running and see how long it takes.

xrmx avatar Jan 28 '17 16:01 xrmx

Same to me, it always runs very slow, how did you resolve that?

data-strategy avatar Mar 16 '17 02:03 data-strategy

Closing as ~2 months without user activity.

xrmx avatar Mar 16 '17 15:03 xrmx

Missed updating this thread but this closing note might help. In my case the problem was with the AWS load balancer. Switching to Route53 worked fine.

gamefundas avatar Mar 16 '17 18:03 gamefundas

i guess its because of gunicron , any body have any idea about changing superset's web server ?

scarletin avatar Oct 11 '17 10:10 scarletin

http://flask.pocoo.org/docs/0.12/deploying/

mistercrunch avatar Oct 11 '17 15:10 mistercrunch