Project

General

Profile

Issues with MySQL

Added by Homer Jenkins over 13 years ago

Hello,

I have a problem with MySQL. I will try to explain it the best I can.

I have a Debian (5, Lenny) server on which I installed lighttpd. I also installed PHP5 and the following modules: mysql, gd, curl. Then I opened /etc/php5/cgi/php.ini, uncommented "cgi.fix_pathinfo" and set it's value to 1. Then I opened /etc/lighttpd/lighttpd.conf and added "mod_fastcgi" to "server.modules", then I added the following to the file: http://paste.lighttpd.net/3395
Basically, what I did so far is installing Lighttpd and PHP and configured them to work with each other. It seems to work fine but MySQL is making some troubles.

I have 3 sites hosted on my server, 2 of them use MySQL:
Site A doesn't use MySQL at all, Site B uses MySQL to connect to Server 1, Site C uses MySQL to connect to Server 2. Now whenever Server 1 is down and Site B fails to connect to it's database, it needs 60 seconds to load the page (ok, that seems normal, the timeout is set to 60). What confuses me is that Site C needs the 60 seconds to load too, though it doesn't connect to Server 1 but to Server 2.
Any solutions?

Thanks in advance,
Homer


Replies (1)

RE: Issues with MySQL - Added by Felix Schäfer over 13 years ago

I think you meant to go over to the lighttpd redmine, this is the Redmine redmine (sic.) :-)

    (1-1/1)