Date: 11/29/00
- Next message: nathan r. hruby: "Re: [phplib] performance"
- Previous message: Christopher Vrooman: "Re: [phplib] 'Un'expected response using crclogin w/ MD5.js"
- In reply to: Philip Strnad: "[phplib] performance"
- Next in thread: nathan r. hruby: "Re: [phplib] performance"
- Reply: nathan r. hruby: "Re: [phplib] performance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Hello,
>
> I'm having some performance issues with one of my PHPlib-based web
> sites. The site gets around 220,000 hits a day. It runs on Redhat 6.1,
> MySQL 3.22.32, PHP 3.07, Apache 1.3.6. 128 MB RAM. Can anybody with
> similar traffic and a similar configuration post how they've configured
> Apache and MySQL to handle the traffic?
>
> I know there are too many variables involved in tuning a system, but any
> input will at least be a starting point for me. By the way, some other
> information:
>
> MySQL:
> max_connections: 100
>
> Apache:
> MaxClients: 150
> MaxRequestsPerChild: 50
> StartServers: 10
> MaxSpareServers: 10
> MinSpareServers: 5
>
> Sometimes I get "can't connect to db, too many connections" errors,
> which I find strange.
I don't know what is your php setup, but It might be that each apache
instance is having its own db connection and when you exceed 100 concurrent
users the 'too many connections' error appears.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: nathan r. hruby: "Re: [phplib] performance"
- Previous message: Christopher Vrooman: "Re: [phplib] 'Un'expected response using crclogin w/ MD5.js"
- In reply to: Philip Strnad: "[phplib] performance"
- Next in thread: nathan r. hruby: "Re: [phplib] performance"
- Reply: nathan r. hruby: "Re: [phplib] performance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

