Search results

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. cmkelley

    Release Asuswrt-Merlin 388.2 is now available for select models

    Exactly. We go through this every so often here. On my AX86U Pro, cat/proc/meminfo give me the following: # cat /proc/meminfo MemTotal: 1018788 kB MemFree: 33116 kB MemAvailable: 421140 kB The webgui reports the 33mB free, but in reality, 421mB is available for immediate...
  2. cmkelley

    Scribe Asuswrt-Merlin 388.2 is now available for select models

    @elorimer is correct, despite the warning message, I couldn't find any actual documentation on the change. Syslog-ng should have refused to start if it was no longer a valid entry, so I'm left to assume it's been deprecated, but not invalidated. As to why that would cause massive slowdown, I...
  3. cmkelley

    Scribe scribe 3.x_y - syslog-ng and logrotate installer

    It depends on the log. As installed by scribe, most are set to rotate by size, some just by time. The default number to keep is 4, messages keeps 9, many of the "nuisance" are set for 2, but it's not difficult to change the files in /opt/etc/logrotate.d/ to whatever you like. Some people have...
  4. cmkelley

    Scribe syslog-ng not starting on boot if IPv6 enabled.

    I started to think ddns and dnsmasq but now I think not. I wasn't really clever enough with my logging and I think I misread the cause. The cases I caught may have been actually started by logger. I made my logging a bit more rational and I'm going to monitor for the next few days and see...
  5. cmkelley

    Scribe scribe 3.x_y - syslog-ng and logrotate installer

    If you didn't fix it, "scribe reload" would bring it back up since that makes it read the configuration file from the disk.
  6. cmkelley

    Entware Entware Update

    See this post to fix: https://www.snbforums.com/threads/scribe-3-x_y-syslog-ng-and-logrotate-installer.84720/page-8#post-845976
  7. cmkelley

    Scribe scribe 3.x_y - syslog-ng and logrotate installer

    After (or before, it really doesn't matter) updating syslog-ng to 4.2 (e.g. today's Entware update) or higher, please run the following from your router's command line: /bin/sed -i "s/stats_freq(21600)/stats(freq(21600))/g" /opt/etc/syslog-ng.conf If you've changed the stats_freq value in your...
  8. cmkelley

    Entware Entware Update

    Because the syslog-ng guys just can't stop changing things ... If you "scribe status" after updating entware, syslog-ng throws a warning about an obsolete keyword in syslog-ng.conf. Fortunately it doesn't hurt anything now, but I'll figure out a fix for it. syslog-ng continues to work. Oh...
  9. cmkelley

    Scribe syslog-ng not starting on boot if IPv6 enabled.

    Welp, at least with the AX86U Pro (388.2_2), there seem to be multiple culprits. What. A. Pain. Okay, scorched earth time, anytime service-event is called, find and kill klgod & syslogd. I was trying to minimize CPU cycles by only trying to kill them in known instances, but it looks like...
  10. cmkelley

    Scribe syslog-ng not starting on boot if IPv6 enabled.

    Put the following line near the top of /jffs/scripts/service-event: printf "$( date ) $0 $* \tsylogd: %s\tklogd: %s\n" "$( /bin/pidof syslogd )" "$( /bin/pidof klogd )" >> /opt/var/log/services.log Periodically (like every couple days) look at the /opt/var/log/services.log file and see if any...
  11. cmkelley

    Scribe syslog-ng not starting on boot if IPv6 enabled.

    I do get it, but I don't really have the time to try to track down what's happening, and I'm more or less convinced that even if I did, I'd end up with something I have no control over - I know that for some people just enabling IPv6 triggers it, and I can't possibly imagine a scenario where I...
  12. cmkelley

    Scribe syslog-ng not starting on boot if IPv6 enabled.

    Thanks. I may try to code a watchdog into the service event script that will log PIDs of syslogd and klogd any time service event fires. See if something besides logger or time starts them. Not tonight though, maybe not until next week, there's a lot going on right now.
  13. cmkelley

    Scribe syslog-ng not starting on boot if IPv6 enabled.

    Once the router is running and all the jffs scripts are active, the known things that restart syslogd and klogd will trip the service-event script and they will be killed. In theory it should just be 'logger start' that gets called by anything that want to try to restart them, but oddly enough...
  14. cmkelley

    Scribe syslog-ng not starting on boot if IPv6 enabled.

    I know your words weren't meant as criticism. It depends on your view of "too much damage". You are concerned with keeping 100% of your logs - others, myself included, are more concerned with seamless operation, and are willing to give up a few log entries during boot-up to have it otherwise...
  15. cmkelley

    Scribe syslog-ng not starting on boot if IPv6 enabled.

    Just a bit of a clarification - scribe doesn't start when the computer boots, syslog-ng does. Fundamentally, all scribe does is install syslog-ng and logrotate, modify the S01syslog-ng file that gets installed in /opt/etc/init.d to terminate syslogd and klogd, and provide a couple utilities like...
  16. cmkelley

    Scribe scribe 3.x_y - syslog-ng and logrotate installer

    Okay ... make that 2 reports, then, lol. Please let me know either way. Not that I have a clue in life what to do if it doesn't fix the issue.
  17. cmkelley

    Scribe scribe 3.x_y - syslog-ng and logrotate installer

    Try 3.1_2 please. Hopefully that will solve your issue, because I'm out of ideas otherwise. :-/
  18. cmkelley

    Scribe scribe 3.x_y - syslog-ng and logrotate installer

    Sounds like you were on the edge of a race condition and moving the scribe kickoff to the end made sure whatever else was causing the issue always completed first. Probably not something I can count on across all routers / issues. Although IPv6 seems to be the culprit in most cases, there's...
  19. cmkelley

    Scribe scribe 3.x_y - syslog-ng and logrotate installer

    I surrender, 3.1_2 pushed Pretty much the end of what I can do to solve the not starting syslog-ng at boot problem. Fingers crossed. For the technically curious who may not have been following, I've moved the bit that kills syslogd & klogd to be inside the do loop, so that if something...
  20. cmkelley

    Scribe syslog-ng not starting on boot if IPv6 enabled.

    I can only guess that some ISPs are doing something wrong in the IPv6 "DHCP" routine causing slowness. Or there's a bug in ASUS' implementation that only manifests in some situations. In either case it wouldn't be an issue if we weren't running custom scripts that are trying to do things at...
Top