Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] log explosion fix

Featured Replies

So I'm running unRaid 4.7. I'm having some trouble where the logs are exploding and corrupting my unRaid session. I'm trying to track down the issues causing the log explosion and I think I have found it, however, I want to implement this to prevent log explosion from crashing my unRaid (which I think is kind of ridiculous).

 

I found this thread: http://lime-technology.com/forum/index.php?topic=3352.15

 

I created a script and am calling the script from /boot/config/go

 

But it didn't work, the symbolic link was failing because the syslog file still exists in /var/log, I had to do this instead to get it to work, is this the right approach or is there a better way ?

 

/etc/rc.d/rc.syslog stop

mkdir /tmp/log

mount tmpfs /tmp/log -t tmpfs

cp /var/log/syslog /tmp/log/

rm /var/log/syslog

ln -s /tmp/log/syslog /var/log/syslog

/etc/rc.d/rc.syslog start

So I'm running unRaid 4.7. I'm having some trouble where the logs are exploding and corrupting my unRaid session. I'm trying to track down the issues causing the log explosion and I think I have found it, however, I want to implement this to prevent log explosion from crashing my unRaid (which I think is kind of ridiculous).

 

I found this thread: http://lime-technology.com/forum/index.php?topic=3352.15

 

I created a script and am calling the script from /boot/config/go

 

But it didn't work, the symbolic link was failing because the syslog file still exists in /var/log, I had to do this instead to get it to work, is this the right approach or is there a better way ?

 

/etc/rc.d/rc.syslog stop

mkdir /tmp/log

mount tmpfs /tmp/log -t tmpfs

cp /var/log/syslog /tmp/log/

rm /var/log/syslog

ln -s /tmp/log/syslog /var/log/syslog

/etc/rc.d/rc.syslog start

It looks fine.  You could have moved the current syslog instead of removing it if it had anything you wanted to keep:

mv /var/log/syslog /var/syslog.old

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.