[
https://issues.apache.org/jira/browse/AIRAVATA-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241739#comment-17241739
]
Marcus Christie commented on AIRAVATA-3392:
-------------------------------------------
To debug this problem I used the Python fault handler
```
PYTHONFAULTHANDLER=true python manage.py runserver
```
Then I sent the ABORT signal to the process
```
kill -SIGABRT 1212
```
This dumped out stack traces for all of the threads. Pretty handy.
> Django portal dashboard page hangs and fails to ever finish loading
> -------------------------------------------------------------------
>
> Key: AIRAVATA-3392
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3392
> Project: Airavata
> Issue Type: Bug
> Components: Django Portal
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> Ran into an issue where the Django Portal dashboard page would not load. It
> appears that the Python process was hung. After setting up the [Python fault
> handler](https://docs.python.org/3/library/faulthandler.html) I was able to
> determine that the webpack loader was waiting for a webpack build to complete.
> To problem is that at some point I ran `yarn serve` or `yarn build` in
> `django_airavata/apps/workspace`, but I killed it before it could complete.
> This leaves the webpack-stats.json file in a state where it indicates that
> the webpack compiling is in progress.
> To prevent this from hanging the page from loading and to get a better error
> message that indicates the actual problem, I'm going to add a 60 second
> [timeout
> configuration](https://github.com/owais/django-webpack-loader#timeout) to the
> webpack loader for each configuration.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)