~40 mysql processes

Tom Samplonius tom at sdf.com
Mon Jun 16 23:19:25 PDT 2003


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



More information about the freebsd-isp mailing list