Replies: 3 comments
-
It sounds like the server is getting stuck somewhere or simply there are too many files so it takes ages to parse them. The best way to get to the bottom of this is to share the version of the codebase that causes the issue. If that is not an option I can try and walk you through debugging the issue using the |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick answer gnikit, I indeed am not allowed to share source code, unfortunately. And identifying the file in question that creates the problem will take us some time because of the number of files involved (~100 programs and ~1500 modules). For comparison, for a version of the project with which fortls is initializing correctly, it takes 10 to 30 sec to finalize initialization. Passing the number of core used from 4 to 1 would be already a way to minimize the impact of the issue when it happen until we understand what happen, thanks for pointing me out this option. I understand and would not wish to bother you too much with that. The minimum advise you can provide is already highly welcome. |
Beta Was this translation helpful? Give feedback.
-
My advice would be to;
I hope this helps, feel free to update this discussion with any news since you might have stumbled onto a bug. |
Beta Was this translation helpful? Give feedback.
-
Dear community,
I would like to report a situation that I have faced in the institute in which I worked regarding fortls and Visual Studio code -- modern fortran. The problem is that fortls starts via modern fortran extension to initialize itself but never ends (I mean there is no usual error message showing up that other users may have reported in the other discussions available). After approximately one hour, our server started to highly lag because the fortls jobs was still running in background and took all the memory available on our server.
I am not sure what information would be required to give you the possibility to provide helps or advises on how to investigate this issue (this is the first time I write a request message on a forum so I may not know the code of a good request message), so feel free to ask me for additional information. I just provide details that I think may be interesting in the discussion:
This is a screenshot of the modern fortran output with the last messages, after that no more output and fortls job runs and never ends
We would like to be able to investigate what could have happened with fortls around this specific version of our software, but we missed some ideas on where and how to start investigation. We are scientists and are a bit limited in our informatics abilities ^^'.
Would someone have some advises on what he would do to start investigating the problem ?
Thanks in advance for your ideas and support,
Best regards,
César
Beta Was this translation helpful? Give feedback.
All reactions