openbsd-sparc
[Top] [All Lists]

Re: MySQL 4.0.17/8 on OpenBSD 3.4 SPARC64

To: Sean Brown <sblinux@shaw.ca>
Subject: Re: MySQL 4.0.17/8 on OpenBSD 3.4 SPARC64
From: tonyb@vegan.net
Date: Sat, 10 Apr 2004 21:29:25 -0400 (EDT)
Cc: sparc@openbsd.org
In-reply-to: <200404101241.52359.sblinux@shaw.ca>
References: <Pine.LNX.4.58.0404091847440.21940@automator.vegan.net> <200404101241.52359.sblinux@shaw.ca>
Sender: owner-sparc@openbsd.org
> Error code   9:  Bad file descriptor - so you might need to increase your file
> descriptors even more, I've seen them over 32,000 for some things.

> It might not be that directory thats the problem, it my just be having a
> problem allocating temp space. If the error code doesn't explain enough you
> could try launching the mysqld daemon with --tempdir=path with path being a
> volume that the mysql user can read/write too that has a lot of free space.
> > or this:

OK, I tried those suggestions, still no dice.

I put tmpdir on a partition with 5 GB free, where mysql had full
read/write to the directory.  I kicked up maxfiles to 32,000:

sysctl -w kern.maxfiles=32000

Also of interesting note, I compiled PostgreSQL 7.4.2 from source, and ran
sql-bench against that (sql-bench can run against MySQL, Postgres, mSQL,
and Solid Server)

Most of the tests died with:

Bus error (core dumped)

Next, I'm going to try a ports-compiled PostgreSQL.

Tony

<Prev in Thread] Current Thread [Next in Thread>