-
Notifications
You must be signed in to change notification settings - Fork 25
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
mariadb crash after fixes for #206 and #207 #208
Comments
Try to run mysqlcheck |
all supported checks are okay and yet in the cacti log I still see
|
|
check mysql log |
I did, that's where I got the crash info from this weekend.
|
follow-up confirming each mactrack run produces a stream of this in the log until run is complete :(
|
try again: |
we need mysql log from problematic time: |
nothing in mysql log only slow queries, mysql is not crashed or "gone away" cacti is still running fine.
|
try to run manually: You can try edit mactrack_resolver.php, line 140: It makes small break in each cycle process |
|
is it endless? |
yes i believe so, I had just stopped it but I can let it go a while to confirm |
oki, I have a lot of information ;-) I will look at it |
it did run endless for over 20min |
last question, show me result of: |
|
Script is trying find unresolved IP addresses. If there isn't any unresolved, it is sleeping for 3 seconds and try it again. It is repeated for 20 minutes. The most time scripts is "waiting" for mactrack_scanner.php finish his work. mactrack_scanner.php can add new unresolved IPs. So it is normal behavior. From my perspective - here is strange logic but it works. |
try reinstall/recompile/update your mariadb |
@jdcoats how is your mactrack setup: |
Scanning Frequency 4hr |
@jdcoats any news here? I created small fix for dns_resolver correct process end. You can test it but I think that you have problem with db server. |
I've disabled mactrack completely because it took down cacti twice in 2 weeks. |
Ugh! |
I re-enabled to see if I could get anything new but I still get this when the mactrack poller is running.
|
@jdcoats is it with last develop code? What php version? |
yes latest develop + your last pull request :) php 8.1.20 |
is it started automatic from poller or manually via php poller_mactrack.php? |
automatic |
are you using more mactrack sites? |
see my sites examples posted yesterday in #204 |
I think that my last change fixes this too. @jdcoats could you test it, please? |
yes, it has not crashed since i re-enabled it so if it makes it through the weekend id says something since then has fixed it. |
Enjoyed watching you two work through this. Great work! |
this is resolved also. |
Cool. |
The text was updated successfully, but these errors were encountered: