-
Notifications
You must be signed in to change notification settings - Fork 68
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
cdat_info extreme thread creation/CPU load needs work #2213
Comments
For other users this issue causes the following error when trying to login to a machine:
And for existing terminals the other familiar error, any time a new command is attempted:
|
Copied from CDAT/cdms#248 (comment) @dnadeau4
This behaviour really needs to change |
@doutriaux1 this should get you the behaviour, if you toggle threads on in top (Shift-H) you should see this behaviour [duro@ocean ~]$ more .uvcdat/.anonymouslog
{
"log_anonymously": true,
"last_version_check": [
"",
"8.0"
],
"last_time_checked": 1534367252.604961
} |
@durack1 I cannot reproduce this, when you are back please stop by my office. |
@doutriaux1 @muryanto1 is this now in a nightly? |
It should be in -c cdat/label/nightly now. |
thanks @muryanto1 |
So |
yep |
@doutriaux1 I can confirm this fixes me, I was prompted to set the anonymous log info again, and set this as |
As noted in CDAT/cdms#248 and CDAT/cdms#264 the thread (50+ processes spawned during 2 mins of a running script, with more if it runs for longer CDAT/cdms#248) and CPU load (4300% CDAT/cdms#264) for
cdat_info
when"log_anonymously": true
is causing real problems, and is hitting per user thread limits (1024 on RHEL6) leading to process crashes due to thread blocks.It would be great to get this thread and CPU load under control
@doutriaux1 @dnadeau4 @zshaheen
The following config in a script solves the problems
But rather the software should just work out of the box, and not require custom env vars to be set by unsuspecting users
The text was updated successfully, but these errors were encountered: