Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using a PIII 400MHz with 192MB of RAM and 256MB swap and every 10 to 20 minutes Opera (or sometimes other programs) just closes all of a sudden. I checked /var/log/syslog and found this:
Code:
Feb 7 19:28:39 default kernel: Out of Memory: Killed process 3803 (opera).
Feb 7 19:28:39 default kernel: Out of Memory: Killed process 3807 (opera).
Feb 7 19:33:28 default kernel: Out of Memory: Killed process 4009 (opera).
Feb 7 19:33:28 default kernel: Out of Memory: Killed process 4020 (opera).
What I'm wondering is if I can just increase the swap space and fix the problem, if the only way is to get more RAM, or if something else altogether is the problem. If anyone has any suggestions on something that I can do to fix this it would be greatly appreciated.
I was doing some searching on other forums and found something else that may be pertinent. When I ran top I found that my swap wasn't being used at all. It was all cached. Here is what it shows:
ok you say you have a 256MB swap, but according to top its not on ...
if it was activated the line that states :
Swap: 0k av,
should actually read :
Swap: 262144k av,
or something similiar ..
so this could be partial if not all your problem (possibly?)
i still don't undertand though, just cause according to your info you have approx 117MB of ram unused ...
First, how do I activate the swap partition? Second, I think that the problem is that when I start a new program the available RAM gets used up by the new program and then Linux kills Opera. So, what I'm trying to say is, although not a necessarily high percentage of RAM is being used right now, it does jump up at certain times and overruns what is available.
well the command is :
/sbin/swapon <swap device>
(without the <> )
but i have no idea what your swap device is, and only you can figure that out ..
check your /etc/fstab file to see if its even listed in there, and if so then you will see the device you designated for it ... in my case /dev/hda2 ...
when your experiencing problems, or start to for that matter ... run top and see if you can see anything out of the ordinary ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.