Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2006 09:52:17 +0700 (ICT)
From:      Olivier Nicole <on@cs.ait.ac.th>
To:        grog@FreeBSD.org
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: User vs Kernel mode
Message-ID:  <200610170252.k9H2qHaD012527@banyan.cs.ait.ac.th>
In-Reply-To: <20061017024102.GO96445@wantadilla.lemis.com> (grog@FreeBSD.org)
References:  <200610170235.k9H2ZElx012419@banyan.cs.ait.ac.th> <20061017024102.GO96445@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Processes always start in kernel mode, because they're started by the
> kernel.  They typically spend most of their time in kernel mode (for
> example, whenever they're idle or waiting for I/O).  An active process
> may switch back and forward between kernel mode and user mode
> thousands of times a second.

Thanks for the clarification.

> Maybe you should describe your problem.
 
The application has been working fine for almost 3 years, along with
Apache, going through RELENG upgrade without problem.

Now I start noticing that Apache hangs (sig 11), either manually built
or port built, make buildworld hanged once with sig 11, my application
hangs with sig 11.

2 options:

- I added memory in the machine and the meory is causing problems.

- I changed my application a little bit and it started eating
  other processes.

Yesterday make buildworld consistenly hanged on building groff, today
after cleaning the memory (using plain rubber on DIMM contacts) it is
going fine (although Apache did hang since the cleaning).

So I'd like to be sure that my application cannot eat other processes,
so i could eliminate one cause.

Bests,

Olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610170252.k9H2qHaD012527>