This is a discussion on No response from server within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I have this weird problem, and I can't find anywhere what it might be. I'm not sure ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I have this weird problem, and I can't find anywhere what it might be. I'm not sure if it's completely apache related, but I'll try it here.. I'm running apache on my Linux server (slackware). I also have MySQL and PHP installed. I have created a site that consists mostly of PHP scripts. For example, I have written a guestbook using PHP and MySQL. Everything is working, most of the time. I'm always able to browse to my server using my windows pc that is connected to my LAN. People from outside are also able to browse to my site. However, sometimes my site is not responding and they cannot visit my site anymore. After waiting a couple of minutes the site is available again. When this happens I'm still able to browse to my server from my windows pc.. This could be a DNS problem.. but when I kill and restart MySQL the site is available again from the outside. That's the weird part. What could be the problem? I figure that it cannot be a DNS problem, but more likely something of a configuration thing.. Anyone?? Thanks in advance, Marcel |
|
|||
|
Sounds like maybe you are not closing the MySQL connectsions at the bottom
of each page so creating multiple open connections, Once the MySQL server reaches its max connections it would block (or maybe Apache treats each open connection as a connection to itself ) I dunno but whatever the reason it causes the system to block until some of the connections time out, obviously if you stop and restart the MySQL it wipes all connections, Why not next time before you restart the MySQL have a look at the server stats and see how many open connections to the MySQL server you have? Mike. "pickme" <pickmeeee@yahoo.com> wrote in message news:3ef8c37d$0$49100$e4fe514c@news.xs4all.nl... > Hi, > > I have this weird problem, and I can't find anywhere what it might be. I'm > not sure if it's completely apache related, but I'll try it here.. > > I'm running apache on my Linux server (slackware). I also have MySQL and PHP > installed. I have created a site that consists mostly of PHP scripts. For > example, I have written a guestbook using PHP and MySQL. > > Everything is working, most of the time. I'm always able to browse to my > server using my windows pc that is connected to my LAN. People from outside > are also able to browse to my site. However, sometimes my site is not > responding and they cannot visit my site anymore. After waiting a couple of > minutes the site is available again. When this happens I'm still able to > browse to my server from my windows pc.. > > This could be a DNS problem.. but when I kill and restart MySQL the site is > available again from the outside. That's the weird part. > > What could be the problem? I figure that it cannot be a DNS problem, but > more likely something of a configuration thing.. Anyone?? > > Thanks in advance, > Marcel > > |
| Thread Tools | |
| Display Modes | |
|
|