-
-
Notifications
You must be signed in to change notification settings - Fork 405
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
Spine using CPU is very high #88
Comments
What is the version of MySQL and what method are you using? |
Using snmp uptime and ping with tcp is normal |
|
Lastly, add this to the mix: |
OK, I try update MySQL to 5.7.17 |
When I upgraded the MySQL version to 5.7.17 the problem still exists !!! |
what type of pings? |
icmp and udp |
ICMP is a bit of a problem since if you have many threads, every thread get's interrupted every time an icmp reply comes back from the monitored hosts. If you reduce the threads and processes, things will get a little better. With a site your size, 1 process and 8 threads should be good enough. Also, consider using boost if your polling times go up. |
NO,I only have one device that is used in ICMP detection mode,the other are SNMP, I tried a new CENTOS6.8 is the same situation |
ls -altr from the spine bin directory. |
chmod +s spine (as root) |
The net result should be 'rwsr-sr-x' or close to it. |
What os version and release? I'm polling over 700 hosts using ICMP and this does not happen. You should strace the process once it starts, or strace it manually to see what is happening. In fact, you can debug the actual host: strace -s 2500 ./spine -R -V 3 -S -f host_id -l host_id With the host_id of the host you think is causing this. |
root@ISC:bin#./spine -R -V 5 -S -f 654 -l 654 |
Well, that is not the one. He's just doing a ping and existing. 200ms total. |
I just enabled the host_id for 654 of this host will make cpu high |
Strace is the next step then. Again, though what OS and release? |
Linux version 2.6.32-642.el6.x86_64 (mockbuild@worker1.bsys.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Tue May 10 17:27:01 UTC 2016 |
Same here. Once you fine the host, and do the strace, do a tcpdump as well. This makes no sense. Not sure if GitHub allows you to upload them though. |
Are you planning on attaching the required output? |
I got the same problem. I wilk debugowanie it after 5th day of 2017. |
Very odd in that we moved to semaphores to avoid this problem, the tcpdump/strace will be important to understand what is going on. Might be in the socket timeout. I'll have a look. Just udp ping right? |
Pretty sure this resolved it. |
When I use other availability/reachability options methods other than snmp uptime the spine using CPU is very high ! is bug ???
The text was updated successfully, but these errors were encountered: