Date: Mon, 16 Jun 2003 21:35:46 -0700 (PDT) From: Tom Samplonius <tom@sdf.com> To: Troy Settle <troy@psknet.com> Cc: freebsd-isp@freebsd.org Subject: Re: ~40 mysql processes Message-ID: <Pine.BSF.4.05.10306162132480.2674-100000@misery.sdf.com> In-Reply-To: <000601c33483$7b1f8810$0100a8c0@tws>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 16 Jun 2003, Troy Settle wrote: > Is it normal to have ~40 MySQL processes running from a single server, > each using ~72MB of memory? > > MySQL was built with linux threads and is running on a Dual Xeon 2.4GHZ > w/HTT & 4GB RAM. For linuxthreads, yes. Linux threads implements threads as pseudo processes using rfork(). The 70MB memory usage is probably shared between all the "processes". Unfortunately, top doesn't do a job of showing how much of processes memory is shared with another process. Almost all forked processes share some memory space of the parent, whether rfork() or regular fork(). > TIA, > > -- > Troy Settle > Pulaski Networks > http://www.psknet.com > 540.994.4254 ~ 866.477.5638 > Pulaski Chamber 2002 Small Business Of The Year Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10306162132480.2674-100000>