Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to workspace freezes when loading moderately big maven project #3115

Closed
KakashiMamun opened this issue Nov 18, 2016 · 9 comments
Closed
Assignees
Labels
kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. sprint/next
Milestone

Comments

@KakashiMamun
Copy link

KakashiMamun commented Nov 18, 2016

[Access to workspace freeze when loading moderately big maven project]

Reproduction Steps:

  1. Create a workspace with Java-maven stack.
    2.Import medium or big java maven project with several module and module inside module.
    3.While connected to the workspace try to connect with incognito window/another pc in the same network.

Expected behavior:
Should connect to the worksapce and being able to modify code.

[Describe expected behavior here]
When 2nd or 3rd person connects to the workspace he/she should be able to load the page and open file to edit.

Observed behavior:
Page starts "Reading project structure..." and freezes.
[Describe observed behavior here]
When second or 3rd person logs in the page stops responding. Even starts lagging for the 1st person also.

Che version: [5.0.0-M5]
OS and version: [Ubuntu 14.04]
Docker version: [1.12.3]
Che install: [Docker container, codenvy/che-server:latest but local assembly. built on 5.0.0-M5]

Additional information:
The issue occurs only for maven project. other types of project shows "Reading project structure.." but doesn't freeze. only incase of maven and medium or big project it freezes.

  • Problem started happening recently, didn't happen in an older version of Che: [Yes/No]
    I haven't tested older versions.
  • Problem can be reliably reproduced, doesn't happen randomly: [Yes/No]
    Every time. may be some time it freeze for 30s-1min... sometimes for 20mins
@TylerJewell
Copy link

Can you try upgrading to M7? We had some issues that affected performance due to our file system watchers that I believe were solved in m7. This issue sounds similar to that.

@KakashiMamun
Copy link
Author

M7 has new config for docker launcher right ? I couldn't find the new config. i tried M7 and codenvy/che-server failed. can you help me finding the right setting for M7 codenvy/che-server

@TylerJewell
Copy link

This is the latest syntax.
https://eclipse-che.readme.io/docs/usage-docker-server

@KakashiMamun
Copy link
Author

thanks

@tolusha tolusha added the kind/question Questions that haven't been identified as being feature requests or bugs. label Nov 18, 2016
@patricknazar
Copy link

I experience this issue too using M8. It's hard to reproduce, it just seems to be a constant thing that prevents me from doing any real work... sadly :( I am using boot2docker with Virtualbox on windows if that helps. I notice it happens a lot during npm install/composer install/bower install/possibly .git file changes. How does the system react to files in the project changing?

@TylerJewell
Copy link

@slemeur - is this related to the popup issue that we are working on now? If yes, then we can reproduce it. If it's not, then we may need to ask for some diagnostic time on @patricknazar machine to see if we can diagnose the root cause.

@dkuleshov - FYI.

@patricknazar - the system has file system watchers inside of the container that monitor for file changes. It's supposed to make the system super fast, but there are edge cases that we have to account for at times.

@TylerJewell TylerJewell added kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. and removed kind/question Questions that haven't been identified as being feature requests or bugs. labels Dec 13, 2016
@TylerJewell TylerJewell added this to the 5.0.0-M9 milestone Dec 13, 2016
@bmicklea bmicklea changed the title Access to workspace freeze when loading moderately big maven project Access to workspace freezes when loading moderately big maven project Dec 13, 2016
@JamesDrummond
Copy link
Contributor

This could be related to codenvy/codenvy#1249

@TylerJewell
Copy link

@KakashiMamun - FYI - this comment and merge should solve the issue.
codenvy/codenvy#1249 (comment)

@bmicklea
Copy link

@KakashiMamun I am closing this issue as the merged change fixes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. sprint/next
Projects
None yet
Development

No branches or pull requests

7 participants