kernel debugging: seeing swap issues in 7.0
Kris Kennaway
kris at FreeBSD.org
Sat May 24 08:28:10 UTC 2008
On Fri, May 23, 2008 at 10:12:17PM -0700, paul beard wrote:
> On Fri, May 23, 2008 at 2:08 PM, Kris Kennaway <kris at freebsd.org> wrote:
>
> >
> > You can try increasing the timeout by editing the relevant kernel
> > source, but if it's failing to reply to the I/O after 30 seconds then
> > something is drastically overloaded on your system.
>
>
> Well, not much is running, and I have recently built a new kernel and
> world in less time than it takes to get this one port upgraded. I
> think there is something else amiss. Should this really be soaking up
> 100Mb of RAM?
Yes, that is quite normal.
> PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
> 32272 root 1 -20 0 101M 70340K
> swread 3:04 0.93% cc1
>
>
> I have filed a bug against gcc, per instructions. There seems to be an
> issue somewhere in py-gtk that is exacerbated by the low resources on
> this system.
There is no bug in gcc. Your system does not have enough memory to
run the compilation job, so you are thrashing it severely. Try
turning down the CFLAGS optimization level, or use a precompiled
package from the FTP site or built on another machine.
Kris
More information about the freebsd-questions
mailing list