You are not logged in.
Pages: 1
Dear guys,
I have been using (enjoying, I must say!) SliTaz 4 on an iEi Wafer 945GSE for a while now.
Since the very beginning, it has been a real pleasure.
Now I have a problem (a small one, I hope): the system resets itself when I run the latest version of my application (I develop and test it on my XUbuntu 11.10, quad-enabled PC before bring it to the SBC). It sometimes let me run the application for a little while; it uses to bump to reset after just loading all the graphic controls and operating files.
I assumed it was a CPU occupation percentage problem. I kept one of my processes stopped, so that I would be able to check CPU occupation: around 50% of it, with full-screen graphics, video and audio playing (with vlc) and everything else running.
In case this is not a CPU-use related issue, it should be a memory-use related issue.
After install, I know I have a 512 MiB RAM drive called /dev/shm. I see it when I issue a df command to check available space. However, I have checked fstab, rcS, rcS.conf, and so on in order to see where I could change this volume size, with no success.
Any hint to follow?
Thanks a lot for being there!
Kind regards
Offline
Add swap and enter:
# mount -o remount,size=800M /dev/shm
If you are running the live CD, you can resize / too:
# mount -o remount,size=2048M /
Offline
@Bellard:
Thank you so much for your help.
However, it rises a couple of additional questions: Would the new size survive a reset? I can always put this line in .profile or wherever and make it happen...
Second question is: You said "add swap". I am using no swap partition. The system we're dealing with has a 2 GiB CompactFlash "drive" and it is intended to remain as the only available file system support... Or maybe I have misunderstood your statement. Please explain.
Kind regards,
Offline
Tmpfs uses the memory. Real (RAM) and virtual (swap). RAM+swap size must be > tmpfs size
You have 1Gb RAM. For a 2Gb tmpfs /, you must have more than 1Gb swap.
During boot /dev/shm tmpfs size is 50% of the RAM size. You need to abjust the size in /etc/init.d/local.sh
Offline
@Bellard:
I don't really need more than 512 MiB. In fact, I need less than that, in order to make a little extra room for the applications to run. So I won't use but the available RAM.
Coming to local.sh, it was among several options for me to explore today, in case there were no answers. Thanks God, that is not the case.
Thank you so much for your help.
Kind regards,
Antonio
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]