I am trying to deal with a server that is getting slower and slower.
Machine is based on a AMD Opteron(tm) Processor 244 with 4GB memory.
It is running MySQL, and Apache 13 and serving about 400 web sites
written in PHP.
OK the design of PHP is certainly not the most efficient, but actually
the server cannot hold 50 simultaneous http connections.
I am wondering:
1) what optimization I should look for in the system
2) as there are many connections comming from search engines siders
(90% of all the established connections), I'd like to limit the
ressources that spiders are using. One way would be through IPFW,
but are there better ways? Is there a way to limit/prioritize in
Apache (not that I know any).
Re: Split DB over the internet with SQL backend? ... end, but much, much slower than 100 Mbit.... It's not noticeably slower than a mdb on my ... connecting client and server over the internet, ...connections in mind, but nor is the original poster's: ... (comp.databases.ms-access)
Re: PHP eating up server resources! ... and that PHP was the root cause. ... served at the same time by the Apache server that also serves PHP pages. ...connections and serve many static content files that do not need ... (comp.lang.php)
RE: [PHP] (Semi OT) Number of concurent Users. ...simultaneous connections decays exponentionally.... I'm going to go out on a limb and say that the limitations of your server... Accelerators) as a gateway to your PHP machine.... Any idea how many concurrent users can run on such a configuration? ... (php.general)
Re: CGI PHP vs. FastCGI vs. mod_php vs. application server? ... between FastCGI and server modules will depend on the HTTP ... Apart from loading the PHP interpreter at boot time, ... And MySQL connections are generally best NOT being left open. ... But I really think you're worrying about performance problems that don't exist. ... (comp.lang.php)
Re: How often do I need to connect to MySQL database? ...zzapper wrote: ...connections per hour " from my webserver, ... At the end of the page, that connection will be closed by the PHP cleanup if you don't do it yourself. ... What's not clear is if this is your server or a shared host. ... (comp.lang.php)