Grass

Members
  • Content Count

    5
  • Joined

  • Last visited

About Grass

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. One more interesting thing! nano /etc/default/armbian-zram-config ENABLED=true #ZRAM_PERCENTAGE=20 i comment ZRAM_PERCENTAGE=20 and what we see now: root@OrangePiPBX:~# swapon --show NAME TYPE SIZE USED PRIO /dev/zram1 partition 245.6M 0B 5 root@OrangePiPBX:~# zramctl NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT /dev/zram1 lzo 245.6M 4K 78B 12K 4 [SWAP] /dev/zram0 50M 21.2M 2.9M 3.4M 4 /var/log root@OrangePiPBX:~# df -h Filesystem Size Used Avail Use% Mounted on udev 177M 0 177M 0% /dev tmpfs 50M 1.7M 48M 4% /run /dev/mmcblk0p1 7.1G 3.8G 3.3G 54% / tmpfs 246M 0 246M 0% /dev/shm tmpfs 5.0M 12K 5.0M 1% /run/lock tmpfs 246M 0 246M 0% /sys/fs/cgroup tmpfs 246M 4.0K 246M 1% /tmp /dev/zram0 49M 22M 24M 48% /var/log tmpfs 50M 0 50M 0% /run/user/0
  2. Here is output: http://ix.io/25rM I think i have a problem with some default settings of Zram. Like i see in doc's - Zram and swap is "preninstalled". And from first run i have only 50% of RAM
  3. Hi! OS - Armbian bionic Board - Orange pi one I dont understand where goes 20-25% of 512mb ram. 18MB goes to video and wlan share. OK... root@OrangePiPBX:~# zramctl NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT /dev/zram1 lzo 98.2M 19.8M 10.2M 11M 4 [SWAP] /dev/zram0 50M 17.7M 2.5M 2.9M 4 /var/log Now we see - 150MB go's to swap and small partition for "logs". root@OrangePiPBX:~# free total used free shared buff/cache available Mem: 502932 242376 26380 20008 234176 232640 Swap: 100584 21504 79080 Here we see ram now in total(used and free) - 250MB 250+150 = 400 And now... can someone answer me - where is my 100MB ram? Here is config for ZRAM: nano /etc/default/armbian-zram-config ENABLED=true ZRAM_PERCENTAGE=20 Here is config for Ram-log: nano /etc/default/armbian-ramlog ENABLED=true SIZE=50M USE_RSYNC=true root@OrangePiPBX:~# df -h Filesystem Size Used Avail Use% Mounted on udev 177M 0 177M 0% /dev tmpfs 50M 5.4M 44M 11% /run /dev/mmcblk0p1 7.1G 3.8G 3.3G 54% / tmpfs 246M 0 246M 0% /dev/shm tmpfs 5.0M 12K 5.0M 1% /run/lock tmpfs 246M 0 246M 0% /sys/fs/cgroup tmpfs 246M 380K 246M 1% /tmp /dev/zram0 49M 18M 28M 40% /var/log tmpfs 50M 0 50M 0% /run/user/0 That's all. Maybe i am doing something wrong?
  4. Hi! Thank you for the best os, for single board computers! Info: Board: Orange pi one 512mb ram, H3 cpu, flash 8gb transcend 10c. OS Armbian Bionic, last release. Aditional info: intalled asterisk16 from src with chan_dongle, freepbx 15, fail2ban. I configured call recording, 3g modems for voice calls. All works fine! But now i have problems with logs... Asterisk make so many logs, flash will die after a week of use. But i need this logs, for make some debug, and ofcourse for fail2ban. From Armbian-Docs, i understand OS have preinstalled zram and log2ram, but i dont understand how to configure them for: Then os boot, i need to make VIRTUAL DISK 100MB from ram symlink to /var/log/. All logs will be there for 24 hours, and by cron delete, and start collecting new. Logs never save to SD card. I want to make image with all preinstalled software what works on 99% and share with other people. Need your help guys! Thank for your time! P.s. i am sorry for my bad english.