We have moved at community.getvera.com

Author Topic: Vera Memory  (Read 9232 times)

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: Vera Memory
« Reply #15 on: May 29, 2011, 04:12:47 pm »
PM sent to @JOD, for experiment; for now. (My log file is currently 0 bytes.)
You needed a HOWTO on this JOD?
:) The HowTo was in the PM, for testing.
Dezwaved at the moment...

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: Vera Memory
« Reply #16 on: May 29, 2011, 04:16:27 pm »
PM sent to @JOD, for experiment; for now. (My log file is currently 0 bytes.)
You needed a HOWTO on this JOD?
:) The HowTo was in the PM, for testing.

So how will we all benefit :D
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline JOD

  • Hero Member
  • *****
  • Posts: 1973
  • Karma: +4/-0
Re: Vera Memory
« Reply #17 on: May 31, 2011, 08:07:33 pm »
Quote
So how will we all benefit
Still testing. These are my current settings with Verbose logging off and an uptime of 2 days 20hrs.

LogLevels = 1,2,3,4,5,6,7,8,9,50 NOW= 1
ImmediatelyFlushLog=0
LogUPnP = 0
#Number of log files to keep
NumberOfCopies= 10 NOW=5
#rotation interval in seconds of log files
RotationInterval= 15 * 60

#Store logs on mcv server at rotation
ArchiveLogsOnServer=1 NOW= 0 (I'm hoping this eliminates the lockups during rotations)

JOD.
I'm sorry, my responses are limited. You must ask the right questions.

Offline Henk

  • Hero Member
  • *****
  • Posts: 820
  • Karma: +3/-0
Re: Vera Memory
« Reply #18 on: June 01, 2011, 06:42:01 am »
@JOD

Great..uptime 2 days sounds promising! Better still, you havent killed loggin indefinite, just reduced the log load. Keep us posted on your experiences!

Ill try and combine your info with the remark @mcvflorin made and create a preliminary HOWTO.

I could use input/reviewinfo from you and @oTI@ once ive posted it to make sure its accurate and not too dangerous for users.
| Vera2 @ UI4 1.1.1350 / 3.20 | Vera Lite @ UI5 | Vera 3 @ UI5 | 2x Merten  504519 | 1x Duewi  064374 | 1x Everspring SM103 doorbell mod |1 Y-cam IP cam | various LUUP plugins |

Offline JOD

  • Hero Member
  • *****
  • Posts: 1973
  • Karma: +4/-0
Re: Vera Memory
« Reply #19 on: June 01, 2011, 09:30:00 am »
Bah humbug.
Uptime is now 4hrs 20 mins so it's still rebooting.  :-\
This puts it around 5:00am my time, at least it didnt interfere with any of my timed events.
Maybe the best thing is just to schedule nightly reboots to avoid lockups or slowdowns during system usage during the day?

I'm going to set everything to -0- and see what happens for now.
oTi@, what's your experience?

JOD.

I'm sorry, my responses are limited. You must ask the right questions.

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: Vera Memory
« Reply #20 on: June 01, 2011, 09:36:26 am »
General note: I feel the stuff discussed here (USB logging, log level changes, low resources, etc.) is essential to very few (known) users. Please don't draw the conclusion that one must enable USB logging and must change the configuration files to have a stable Vera with .1245.

I'm going to set everything to -0- and see what happens for now.
@JOD, set it to 101 (or some other log level that doesn't appear to exist); that will effectively stop logging to LuaUPnP. Still some chatter ends up in there, perhaps from start-up etc., but it's very little.

I'd have to check the script again, but I think log rotation is time driven (not just size) as well.

I'm still looking to get you a modified script / bigger partition.

« Last Edit: June 01, 2011, 09:44:25 am by oTi@ »
Dezwaved at the moment...

Offline JOD

  • Hero Member
  • *****
  • Posts: 1973
  • Karma: +4/-0
Re: Vera Memory
« Reply #21 on: June 01, 2011, 09:49:15 am »
set it to 101 (or some other log level that doesn't appear to exist
OK.

Quote
I'd have to check the script again, but I think log rotation is time driven (not just size) as well.
#rotation interval in seconds of log files
RotationInterval= 15 * 60
Question. If this is not a rotation / USB issue, maybe it's more of an internal memory issue? A reboot always brings a slow system back to full speed and that would only clear the internal memory.

I'm going to keep a "top" session active and log the output for the next couple of days.
*Edit. the "top" dosen't give me a time stamp, anything else I can run?

JOD.
« Last Edit: June 01, 2011, 09:59:44 am by JOD »
I'm sorry, my responses are limited. You must ask the right questions.

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: Vera Memory
« Reply #22 on: June 01, 2011, 10:07:00 am »
#rotation interval in seconds of log files
RotationInterval= 15 * 60
That's the interval for forced rotations, I believe. Normally, a rotation will happen at least every 12 hours.

PM sent.
Dezwaved at the moment...

Offline JOD

  • Hero Member
  • *****
  • Posts: 1973
  • Karma: +4/-0
Re: Vera Memory
« Reply #23 on: June 01, 2011, 10:20:06 am »
PM sent.
MCV must be screening your PM's, or maybe you've reached your quota?  Nothing received yet.

*Edit. I finally got it. It has a big "CENSORED" stamp across it.  ;D

JOD.
« Last Edit: June 01, 2011, 10:34:18 am by JOD »
I'm sorry, my responses are limited. You must ask the right questions.