No response from server

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-24-2003
pickme
 
Posts: n/a
Default No response from server

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


  #2 (permalink)  
Old 06-29-2003
Michael Forster
 
Posts: n/a
Default Re: No response from server

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:10 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0