FreeBSD stacksize problem, possibly?

2004-04-01 Thread Nick Gaugler
I am running mysql-standard-4.0.18-unknown-freebsd4.7-i386-linuxthreads and I am unable to achieve more than 440 connections. I receive the common "Can't create a new thread (errno 35). If you are not out of available memory, you can consult the manual for a possible OS-dependent bug". Now, I hav

RE: FreeBSD 4.9 + MySQL 4.0 + LinuxThreads

2004-02-11 Thread Nick Gaugler
Interesting idea, but I should be ok. I don't plan to have large amounts of MySQL threads. I just had FreeBSD setup to allow 2GB of memory per process because of memcached which I also plan to run on this server. I just compiled it to a little under 2GB and MySQL ran fine, it was just hard to tr

RE: C API: undefined reference

2003-11-11 Thread Nick Gaugler
http://www.mysql.com/doc/en/mysql_connect.html This function is deprecated. It is preferable to use mysql_real_connect() instead. #include #include int main(void) { MYSQL mysql; if(mysql_init(&mysql) == NULL) { fprintf(stderr,"Unable to initlize MySQL structure.\n");

RE: FreeBSD 4.8 runaway MySQL 4.0.14

2003-08-28 Thread Nick Gaugler
mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 4:14 PM To: Nick Gaugler; [EMAIL PROTECTED] Subject: Re: FreeBSD 4.8 runaway MySQL 4.0.14 Hi Nick, This is due (so I am told) to a problem in FreeBSD threads. I have this happen once in a while also. There have been some threads changes for

FW: FreeBSD 4.8 runaway MySQL 4.0.14

2003-08-28 Thread Nick Gaugler
I am running the binary installation of MySQL 4.0.14 on FreeBSD 4.8, all MyISAM tables, and after alittle while mysqld will jump to 100% of my CPU and go crazy. I've investigated SHOW INNODB STATUS, and as you can see below, there is nothing happening with Innodb. Infact my Innodb files have not

RE: SELECT with 1,000,000 ROWS

2003-08-19 Thread Nick Gaugler
> Hello, > > I have aproximately 1,000,000 rows and I would like to do some query. > The first one is to get the number of row so I do : > > mysql> SELECT COUNT(*) FROM `Log`; > +--+ > | COUNT(*) | > +--+ > | 969129 | > +--+ > 1 row in set (0.00 sec) MyISAM tables keep

3.23.56 Replication Bug

2003-08-03 Thread Nick Gaugler
I know the replication method is different in MySQL 4.0 then MySQL 3.23.x, but I have a bug that causes problems. The following query will cause MySQL's logic to not properly read any of the following my.cnf commands on slave servers: replicate-wild-do-table replicate-wild-ignore-table replicate-