Milvus Metrics - Could Not Open Hwmon Directory · Discussion #15885
Có thể bạn quan tâm
- Notifications You must be signed in to change notification settings
- Fork 3.7k
- Star 42k
- Code
- Issues 741
- Pull requests 155
- Discussions
- Actions
- Projects 0
- Wiki
- Security
Uh oh!
There was an error while loading. Please reload this page.
- Insights
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Quote reply editedUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
durai89 Mar 6, 2022
-
| After we enabled metrics in server_config.yaml, we are seeing loads of error messages like ERROR][SERVER][CPUTemperature][metric_thread] Could not open hwmon directory . System Spec:
Can you please advise what's the best approach to fix this issue? lm_sensors module is installed but is unable to detect any sensors on this ec2 instance. Though it would be great to report this metric, we are also happy if there is a way to blacklist this specific metric alone, so that our logs don't get bombarded with this error message? |
Beta Was this translation helpful? Give feedback.
1 You must be logged in to vote All reactionsReplies: 4 comments
- Oldest
- Newest
- Top
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Quote reply editedUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
LoveEachDay Mar 7, 2022 Maintainer
-
| Please make sure the /sys/class/hwmon directory exists, according to #4240 If you have installed lm_sensors, you can run sensors command to check whether any sensors enabled. |
Beta Was this translation helpful? Give feedback.
1 You must be logged in to vote All reactions 0 replies Comment optionsUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Quote replyyhmo Mar 7, 2022 Collaborator
-
| The source code use a hard code path to get CPU temperature from "/sys/class/hwmon/" std::string path = "/sys/class/hwmon/"; DIR* dir = nullptr; dir = opendir(path.c_str()); if (!dir) { LOG_SERVER_ERROR_ << "Could not open hwmon directory"; return result; }Maybe the EC2 instance has no such directory. Is it possible to create an empty directory? |
Beta Was this translation helpful? Give feedback.
1 You must be logged in to vote All reactions 0 replies Comment optionsUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Quote replyyhmo Mar 7, 2022 Collaborator
-
| If the EC2 instance doesn't allow creating a directory under the /sys/class, the error cannot be avoided. You have to modify the source code and compile/build a new docker image for yourself. The steps:
|
Beta Was this translation helpful? Give feedback.
1 You must be logged in to vote 👍 1 All reactions- 👍 1
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Quote reply editedUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
durai89 Mar 7, 2022 Author
-
| Thanks @LoveEachDay and @yhmo . Yes, I had already tried to create an empty directory /sys/class/hwmon but ec2 doesn't allow it which makes sense actually. I will try today to build the image commenting out the block of code 👍 |
Beta Was this translation helpful? Give feedback.
1 You must be logged in to vote All reactions 0 replies Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Category ❓ Q&A and General discussion Labels None yet 3 participants- Heading
- Bold
- Italic
- Quote
- Code
- Link
- Numbered list
- Unordered list
- Task list
- Attach files
- Mention
- Reference
Uh oh!
There was an error while loading. Please reload this page.
Create a new saved reply 👍 1 reacted with thumbs up emoji 👎 1 reacted with thumbs down emoji 😄 1 reacted with laugh emoji 🎉 1 reacted with hooray emoji 😕 1 reacted with confused emoji ❤️ 1 reacted with heart emoji 🚀 1 reacted with rocket emoji 👀 1 reacted with eyes emoji You can’t perform that action at this time.Từ khóa » C5 9xl
-
Amazon EC2 C5 Instances — Amazon Web Services (AWS)
-
Now Available – Compute-Intensive C5 Instances For Amazon EC2
-
Amazon EC2 Comparisons: C5 Instances - Apptio
-
Amazon EC2 Instance Comparison
-
AWS EC2 Instance Comparison: M5 Vs R5 Vs C5
-
Worker Counts - Current Instances And Stacks - Engine Yard Support
-
Splunk Cloud: Determining Search Head Resources - Hurricane Labs
-
[PDF] Enable Up To 40% Better Price-performance With AWS Graviton2 ...
-
Knowledge Base Articles - Ruckus Wireless Support
-
Installation | Knowledge Base - Ruckus Wireless Support
-
[ECS] [request]: Support For Restricting Containers To A Single NUMA ...
-
Use An EC2 Fleet Of Type 'instant' - Amazon Elastic Compute Cloud