0
欢迎, 游客
用户名: 密码: 记住我

主题: Troubleshooting Debian crashes and reboots

Troubleshooting Debian crashes and reboots 4 年 2 个月 前 #985

  • jgillespie
  • jgillespie的头像
  • 离线
  • Junior Member
  • 帖子: 27
  • 感谢您收到 5
  • 声望: 1
I found a major memory issue with Debian on the JaguarBoard. When the 1gb of memory is used up or it is estimated that a program will need more memory than is available the system will crash and reboot. If anyone is having issues with Debian crashing try this.


I limited the amount of memory usage by adding the following lines of code to etc/sysctl.conf
vm.overcommit_memory = 2
vm.overcommit_ratio = 200


after adding those lines of code run
sysctl -p
to activate the new code.

This prevented the system from crashing and only crashed the process hogging the memory, it also raised the estimated amount of memory allowed to be 200% of what is available. Hopefully this helps someone during their diagnosis process. If you are still having issues with Debian crashing try using a 2.4a or higher power adapter or plug the power to usb adapter directly into a 2.4a computer usb port and test instead of using the 2a Power Adapter provided with the board.
最后修改: 4 年 2 个月 前 由 jgillespie.
本论坛禁止游客发帖。
以下用户向您表示感谢:: tim
创建页面时间:0.029秒