You are running out of file descriptors, type this:
kes# sysctl -a | grep files
kes# limit -h
datasize 1048576 kbytes
stacksize 262144 kbytes
You probably increased the number of tables in my.cnf and did not
allocate enough descriptors for the process.
use sysctl to increase the number of available descriptors.
----- Original Message -----
From: "Brad Phinney" <phinney@stripped>
Sent: Tuesday, March 19, 2002 3:47 PM
Subject: MySQL, FreeBSD problem
> Hello all.
> I have an application that does a lot of table creation and writing
> a FreeBSD 4.4 SMP machine. Over time, I begin to see the following
> DBD::mysql::db tables failed: Can't read dir of './p0_samt_trans/'
(Errcode: 2) at /var/SAMT/code/SAMTlib/SAMTdb.pm line 2552, <FILE>
> DBD::mysql::db do failed: Table 'p3_samt_trans.p3_int_sender_2_12_0'
doesn't exist at /var/SAMT/code/SAMTlib/SAMTdb.pm line 2301, <FILE>
> These errors seem to happen for no reason. If I issue a select, do
> anything else 2 seconds later, I get no errors. The table in
> above does in fact exist, although MySQL claims that it does not.
> The machine (or mysql for that matter) is not under particularly
> load. It simply occassionally just cant read a database directory
> some reason or another. A fraction of a second later, the same
> will work fine.
> Now, I am using the 3.23.47 Free BSD binary from the MySQL site on
> I notice that the problem continues to get worse as time goes on.
> restart mysqld however, the problem seems to go away for a bit.
> after 2-3 days, the problem comes back.
> Any ideas? thoughts?
> Any assistance with this problem would be welcomed.
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
> To request this thread, e-mail <mysql-thread103495@stripped>
> To unsubscribe, e-mail
> Trouble unsubscribing? Try: