Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2000 17:16:06 +0100
From:      "ROGIER MULHUIJZEN" <MULHUIJZEN@PZH.NL>
To:        <freebsd-stable@freebsd.org>
Subject:   Re: weird crashes
Message-ID:  <s88c88f3.052@smtp.pzh.nl>

next in thread | raw e-mail | index | archive | help
As someone else suggested, try adding more swap space. The general rule
is 3 times physical memory.

On a side note, you run mySQL under root? scary...

         DocWilco

>>> "Jeroen Bulten" <j.bulten@chello.nl> 01/24 5:17 PM >>>

----- Original Message -----
From: ROGIER MULHUIJZEN <MULHUIJZEN@PZH.NL>
To: <j.bulten@chello.nl>; <freebsd-stable@freebsd.org>
Sent: Monday, January 24, 2000 4:34 PM
Subject: Re: weird crashes


> What version of FreeBSD are you running, and can you show some
messages
> from logs?
>
>             DocWilco
>
> >>> "Jeroen Bulten" <j.bulten@chello.nl> 01/24 4:35 PM >>>
> Hi,
>
> I co-admin a freebsd box running a mysql and webserver for two
> internet
> sites, each getting about 15.000 hits a day. Lately, we've been
> experiencing
> weird crashes where the box seems to run out of cache memory (100MB)
> while
> there's plenty of conventional memory ( 768 MB) available.
>
> Any hints?
>
> t.i.a.
> jeroen
>

Sorry. I was in a bit of a hurry when i posted the first message. I
will
provide a bit more info.

The server is a dual Pentium III 450 with 768MB memory and 12GB HD. It
is
running FreeBSD 3.3 with Apache 1.3.9 (mod_php compiled in) and a perl
5.005_03 external interpreter. An important part of both sites is the
UBB
forum, which we will soon replace by a php forum with mysql backend
because
UBB is a giant hog on server resources (especially two of them). The
server
load can become very high especially in the early evening, but as i
mentioned before this seems to be due to the server running out of
swap
space before running out of conventional memory.

This was in /var/log/messages right after the crash (after it had come
up
again of course :)

Jan 24 10:11:04 sebulba /kernel: pid 44034 (perl), uid 65534: exited
on
signal 11 (core dumped)
Jan 24 10:11:07 sebulba /kernel: pid 44038 (perl), uid 65534: exited
on
signal 11 (core dumped)
Jan 24 10:11:08 sebulba /kernel: pid 44039 (perl), uid 65534: exited
on
signal 11 (core dumped)
Jan 24 10:11:08 sebulba /kernel: pid 44037 (perl), uid 65534: exited
on
signal 11 (core dumped)
Jan 24 10:11:09 sebulba /kernel: pid 44041 (perl), uid 65534: exited
on
signal 11 (core dumped)
Jan 24 10:11:11 sebulba /kernel: pid 293 (mysqld), uid 0, was killed:
out of
swap space

(and many more of the same)

jeroen





To Unsubscribe: send mail to majordomo@FreeBSD.org 
with "unsubscribe freebsd-stable" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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