Puppy OS goes slowly to low memory (Solved)

Using applications, configuring, problems
Post Reply
Message
Author
petty
Posts: 26
Joined: Sun 25 Nov 2007, 09:52

Puppy OS goes slowly to low memory (Solved)

#1 Post by petty »

Hi,

I use a microclient with 512 Mb of memory and a riser 2Gb-card.
Sttaring up, the system is loaded into memory.
I started with 20 Mb free en now I have 3.7 Mb free and the warning "low memory".
I did not install new sw and do not see logfiles.

The temp-file is 80 MB. i
Is it possible to reduce the temp-file to 40 MB.

I hope You can help me.

Grtz.

Petty
Last edited by petty on Tue 22 Apr 2008, 18:05, edited 1 time in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

Re: Puppy OS goes slowly to low memory

#2 Post by MU »

petty wrote:Hi,

I use a microclient with 512 Mb of memory and a riser 2Gb-card.
Sttaring up, the system is loaded into memory.
I started with 20 Mb free en now I have 3.7 Mb free and the warning "low memory".
I did not install new sw and do not see logfiles.

The temp-file is 80 MB. i
Is it possible to reduce the temp-file to 40 MB.

Petty
what tempfile?
You can set a smaller size for /tmp

Edit /etc/rc.d/rc.sysinit

around line 65
mount -t tmpfs -o size=${QTRFREERAM}k shmfs /dev/shm

you could replace that with
mount -t tmpfs -o size=49m shmfs /dev/shm

This is a ram-drive, to what /tmp is mounted.

Or even better, do not use a ram-drive.
Comment the lines like that:

Code: Select all

#v2.20 some apps need shm (shared memory) (ex: xfdiff)...
#MU deactivated shm
#FREERAM=`free | grep 'Mem:' | tr -s ' ' | cut -f 5 -d ' '`
#QTRFREERAM=`expr $FREERAM \/ 4`
#mount -t tmpfs -o size=${QTRFREERAM}k shmfs /dev/shm
Then /tmp is used directly in pup_save.2fs
You need to reboot for the change.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Bruce B

Re: Puppy OS goes slowly to low memory

#3 Post by Bruce B »

petty wrote:Hi,

I use a microclient with 512 Mb of memory and a riser 2Gb-card.
Sttaring up, the system is loaded into memory.
I started with 20 Mb free en now I have 3.7 Mb free and the warning "low memory".
I did not install new sw and do not see logfiles.

The temp-file is 80 MB. i
Is it possible to reduce the temp-file to 40 MB.

I hope You can help me.

Grtz.

Petty
You're post by virtue of this statement: . . . with 512 Mb of memory, that you are referring to physical RAM?

Are you?

If so, do you think the 20MB Free which drops to 3.7 is also referring to available physical RAM?

petty
Posts: 26
Joined: Sun 25 Nov 2007, 09:52

#4 Post by petty »

Hi all.

Thanks for the answers.
I discoverd that the pup_save.2fs was corrupted. I deleted this file and made a new one. Now it is working nice.
I tried to use the backup-file, but that was not possible. How can I do that, because You cannot unmount it.

My system sets all in memory and the save-file on the Compact Flashcard.

How can I use the Flashcard as a total and not a load to the memory?
(I think that it is better.).

Grtz.

Petty

Bruce B

#5 Post by Bruce B »

To use the backup file you boot from another OS or same OS with pfix=ram option.

This can be a permanent GRUB option

One entry for normal booting

Another entry that appends the kernel line with pfix=ram or pfix=ram,nox - witch ever suits your purpose.

When using the ram options your pup_saves are not in use and can be managed.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#6 Post by Béèm »

And to answer the second part.
If you don't want to use a pup_save file you could see for a full install.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

petty
Posts: 26
Joined: Sun 25 Nov 2007, 09:52

#7 Post by petty »

Hi all,

Thanks for the answers.
It helps me to solve the things I asked for.

Grtz.

Petty

Post Reply