Networking Forums

Networking Forums > Computer Networking > Linux Networking > Server "goes to sleep"

Reply
Thread Tools Display Modes

Server "goes to sleep"

 
 
Bruce
Guest
Posts: n/a

 
      11-22-2004, 07:03 PM
I am having a difficult time trying to sort out a problem with a
Debian webserver, and am not even sure where to begin looking.

Setup:

Router: SMC solid state router; connects to ISP over DSL line & gets
(static) IP x.x.x.x via PPPoE.
- Firewall & NAT running on router to protect internal network
- Debian webserver is in DMZ outside firewall
- All traffic destined for static IP x.x.x.x is forwarded to Debian
webserver.

WebServer: called "nancy", running Debian Sid (Mepis), with apache2,
exim4, bind9, tomcat4. Gets static IP from router (192.168.1.200).

I also have registered a domain name example.org, which my registrar
forwards to ip address x.x.x.x.

When all is up and running, I can connect to www.example.org from
anywhere on the net and this will take me to the web server running on
nancy. So far, so good (other than the fact that the address bar now
says HTTP://x.x.x.x instead of http://www.example.org, but I can live
with that until this other problem is solved). Problem is, after about
an hour, any attempt from the internet to connect to www.example.org
will time out.

If I go to nancy, everything looks OK, network card is still up, and
if I open a web browser or try to ping an internet site, it will -
after a brief delay - connect. Once I do this, then I can access the
site from the internet again.

The brief delay is the only indicator of what might be wrong. It
almost seems as though opening the web page is triggering some kind of
"dial on demand" for the network card, as though the card had
auto-disconnected after a certain period of time. As this is a server,
this is kind of annoying behaviour.

I have no idea what I could have done to make it act like this; I did
nothing fancy to it, just absolute straightforward configuration
(ifconfig eth0 192.168.1.200 up). There is nothing in
/var/log/messages that sheds light on this either.

I'm not sure whether there is some kind of autodisconnect/dial on
demand thing happening here (where on earth would that have come
from?), but that is the best way I can describe it. I'm not sure where
to look to figure out what might be causing this; any suggestions?

Thanks,

B.
 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      11-22-2004, 09:34 PM
On 22 Nov 2004 12:03:36 -0800, Bruce <(E-Mail Removed)> wrote:
> I am having a difficult time trying to sort out a problem with a
> Debian webserver, and am not even sure where to begin looking.
>
> Setup:
>
> Router: SMC solid state router; connects to ISP over DSL line & gets
> (static) IP x.x.x.x via PPPoE.
> - Firewall & NAT running on router to protect internal network
> - Debian webserver is in DMZ outside firewall
> - All traffic destined for static IP x.x.x.x is forwarded to Debian
> webserver.
>
> WebServer: called "nancy", running Debian Sid (Mepis), with apache2,
> exim4, bind9, tomcat4. Gets static IP from router (192.168.1.200).
>
> I also have registered a domain name example.org, which my registrar
> forwards to ip address x.x.x.x.
>
> When all is up and running, I can connect to www.example.org from
> anywhere on the net and this will take me to the web server running on
> nancy. So far, so good (other than the fact that the address bar now
> says HTTP://x.x.x.x instead of http://www.example.org, but I can live
> with that until this other problem is solved). Problem is, after about
> an hour, any attempt from the internet to connect to www.example.org
> will time out.
>
> If I go to nancy, everything looks OK, network card is still up, and
> if I open a web browser or try to ping an internet site, it will -
> after a brief delay - connect. Once I do this, then I can access the
> site from the internet again.


What are settings on SMC router related to idle timeout and what do its
logs show? If there is not a checkbox to remain connected, usually
setting idle to zero will do that, unless your ISP terminates your
connection after a period of inactivity. But hopefully router logs would
give some clue about reason for disconnect (terminated by peer, etc.).
 
Reply With Quote
Reply

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fwd: SPEWS DOLTS "SneakyP", "Kevin!:?)", "WindsorFox" SPAM braodbandnewsgroup] !:?) Broadband 0 11-30-2005 01:04 AM
Re: SPEWS SLIMES "WindsorFox", "Kevin-!:?)", "Spin Dryer" get the cold shoulder at broadband ng! SneakyP Broadband 0 11-29-2005 10:46 PM
Attention Plus.net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM broadband newsgroup !:?) Broadband 0 11-28-2005 04:28 AM
Attention Plus.Net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM braodband newsgroup !:?) Broadband 0 11-28-2005 03:03 AM
When does "Dave" sleep? Bob Eager Broadband 3 02-07-2005 01:31 PM



1 2 3 4 5 6 7 8 9 10 11