Re: Lindows programs unexpectantly closing



Oldtech wrote:
Stefan Patric wrote:
On Thu, 28 Jun 2007 23:21:56 +0200, goarilla wrote:

Pete wrote:
I am having a problem with Lindows programs unexpectedly closing. Just
DISAPPEARING! This most often happens while using my web browser. Has
anyone else encountered this, and found a fix or at least what the
problem is?
my best bet would be that you have ( memory or max nr of user processes
) limits in place
check ulimit -a and /var/log/messages, if your programs hit those limits
they get killed
You didn't indicate what programs and their versions, or what version of Lindows. Is it any program or just the browser? Does the OS crash or does the GUI or is it just the apps? How often does it do it?

Also, after an app dies, type 'free' in a terminal. See, if your swap is max'ed. You could have a memory leak. Also, on boot up, see if your RAM is being checked and it's all good. Check if any of your partitions are full or close to it, especially /, /var and /home: df -h

Stef
My results are here as an example:
root@1[patrick]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
max nice (-e) 20
file size (blocks, -f) unlimited
pending signals (-i) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) unlimited
max rt priority (-r) unlimited
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited


no problem there although i would set max user processes to anything else
than unlimited since this makes you vulnerability to a fork bomb which crashes your system
don't believe me try this in a bash shell

WARNING WILL CRASH SYSTEM
:(){ :|:&};:

i personally have this set up in my /etc/profile to prevent this
ulimit -u 192

192 is still a heck of a lot processes tho but it does the job of preventing this kind of forkbombs
but yes like people say run it in a console so you can check STDERR en STDOUT.
if that doesn't help see if it has debug symbols aka (if it's not stripped)
so you could like send a valuable bug report.
.



Relevant Pages

  • Re: WinXP very slow (virtual memory low)
    ... requires a couple minutes just to open the web browser offline. ... notice quite a bit of disk activity and sometimes the disk runs for ... What version of Firefox are you using? ... it specifically that its the only time you are seeing the Virtual Memory ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Out-of-memory error: sample app
    ... request datarows - memory begins to skyrocket again immediately. ... Does this happen when you CLOSE the web browser and re-open? ... allow users to pull ridiculous amounts of data. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: PAE Slowdown
    ... Several Intel MBs, including the DP965LT, have a BIOS bug that rears ... This cause a chunk ... of your main memory ... whenever the kernel or user processes happen to touch memory in that ...
    (freebsd-stable)
  • Re: [patch] memory reclaim more efficiently
    ... IMHO, it is very wasteful, since the user processes stay ... This patch changes shrink_zonethat it finishes memory ... reclaim when it reclaims enough memory. ... I think this patch advocate many try_to_free_pagescalled is better than ...
    (Linux-Kernel)
  • Re: Is Chris Hills a troll?
    ... running other applications like a word processor or web browser and so ... to 150 Mb are actually used, and hence mapped to physical memory. ... I've got two gigs of RAM, and scientific papers are distributed in PDF. ...
    (comp.lang.c)