From owner-freebsd-stable Mon Jan 24 8:23:23 2000 Delivered-To: freebsd-stable@freebsd.org Received: from smtppzh.pzh.nl (webshield.pzh.nl [194.178.168.50]) by hub.freebsd.org (Postfix) with SMTP id 05AB014A14 for ; Mon, 24 Jan 2000 08:17:11 -0800 (PST) (envelope-from MULHUIJZEN@PZH.NL) Received: FROM smtp.pzh.nl BY smtppzh.pzh.nl ; Mon Jan 24 17:16:29 2000 0000 Received: from PZH40-1-Message_Server by smtp.pzh.nl with Novell_GroupWise; Mon, 24 Jan 2000 17:16:35 +0100 Message-Id: X-Mailer: Novell GroupWise 5.5.2 Date: Mon, 24 Jan 2000 17:16:06 +0100 From: "ROGIER MULHUIJZEN" To: Subject: Re: weird crashes Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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" 01/24 5:17 PM >>> ----- Original Message ----- From: ROGIER MULHUIJZEN To: ; 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" 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