Strange Server Problems
Hi All, I have a dedicated server running FreeBSD 7.0 release, it has been running well for two months. Suddenly, some websites stopped responding, all websites hosted on this server are simple PHP sites, if one site is working, all of them should work. I checked the bind/apache/mysql, everything is fine (otherwise no websiets would be working). Could anyone please give me some hints? Where should I start to look into this problem? Thanks, Kevin ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Strange Server Problems
Thanks for your reply, Joe! There is nothing in either system log or Apache log files. Apache doesn't seem to have got the requests at all. Very strange. On Sat, Feb 28, 2009 at 7:27 AM, Joe Mays wrote: > > I have a dedicated server running FreeBSD 7.0 release, it has been > running > > well for two months. Suddenly, some websites stopped responding, all > > websites hosted on this server are simple PHP sites, if one site is > working, > > all of them should work. I checked the bind/apache/mysql, everything > is fine > > (otherwise no websiets would be working). Could anyone please give > me some > > hints? Where should I start to look into this problem? > > Well, logs, obviously. Does anything appear in the apache error log > when you try to hit the sites? > > ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: conf/132179: [patch] /etc/network.subr: ipv6 rtsol on incorrect wlan interface
Synopsis: [patch] /etc/network.subr: ipv6 rtsol on incorrect wlan interface Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: gavin Responsible-Changed-When: Sat Feb 28 15:38:25 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). I think -net is probably the most appropriate list for this, rather than -rc. http://www.freebsd.org/cgi/query-pr.cgi?pr=132179 ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Strange Server Problems
> I have a dedicated server running FreeBSD 7.0 release, it has been running > well for two months. Suddenly, some websites stopped responding, all > websites hosted on this server are simple PHP sites, if one site is working, > all of them should work. I checked the bind/apache/mysql, everything is fine > (otherwise no websiets would be working). Could anyone please give me some > hints? Where should I start to look into this problem? Well, logs, obviously. Does anything appear in the apache error log when you try to hit the sites? ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Strange Server Problems
Telnet to port 80 and do an http 1.1 get request for both a site hostname that works and one that doesn't. What do you get as output in each case? GET / HTTP/1.1 Host: www.hostname.com Also, if nothing is showing up in the logs at all I wouldn't expect it to be php problem, but you might test that too. Put a simple static html page in one of the websites that has stopped responding, see if you can pull that page. - Original Message - From: "Kevin" To: Sent: Saturday, February 28, 2009 10:35 AM Subject: Re: Strange Server Problems > Thanks for your reply, Joe! There is nothing in either system log or Apache > log files. Apache doesn't seem to have got the requests at all. Very > strange. > > > On Sat, Feb 28, 2009 at 7:27 AM, Joe Mays wrote: > > > > I have a dedicated server running FreeBSD 7.0 release, it has been > > running > > > well for two months. Suddenly, some websites stopped responding, all > > > websites hosted on this server are simple PHP sites, if one site is > > working, > > > all of them should work. I checked the bind/apache/mysql, everything > > is fine > > > (otherwise no websiets would be working). Could anyone please give > > me some > > > hints? Where should I start to look into this problem? > > > > Well, logs, obviously. Does anything appear in the apache error log > > when you try to hit the sites? > > > > > ___ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" > > > -- > BEGIN-ANTISPAM-VOTING-LINKS > -- > > Teach Your Spam and Virus filtering service if this mail (ID 129737484) is spam: > Spam: http://filter.win.net/b.php?i=129737484&m=54107737577b&c=s > Not spam: http://filter.win.net/b.php?i=129737484&m=54107737577b&c=n > Forget vote: http://filter.win.net/b.php?i=129737484&m=54107737577b&c=f > -- > END-ANTISPAM-VOTING-LINKS > ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Strange Server Problems
Hi Boris, Thanks for your reply! With Joe's help, I narrowed down the problem to IP configurations, it turned out to be my ISP's fault, they changed something on their side and caused some IPs to stop working, the requests didnt' reach the server. I convinced the support to report the problem, their networking stuff fixed the problem. Kevin On Sat, Feb 28, 2009 at 12:47 PM, Boris Kochergin wrote: > Kevin wrote: > >> Thanks for your reply, Joe! There is nothing in either system log or >> Apache >> log files. Apache doesn't seem to have got the requests at all. Very >> strange. >> >> >> On Sat, Feb 28, 2009 at 7:27 AM, Joe Mays >> wrote: >> >> >> >>> I have a dedicated server running FreeBSD 7.0 release, it has been >>> running >>> >>> well for two months. Suddenly, some websites stopped responding, all websites hosted on this server are simple PHP sites, if one site is >>> working, >>> >>> all of them should work. I checked the bind/apache/mysql, everything >>> is fine >>> >>> (otherwise no websiets would be working). Could anyone please give >>> me some >>> >>> hints? Where should I start to look into this problem? >>> Well, logs, obviously. Does anything appear in the apache error log >>> when you try to hit the sites? >>> >>> >>> >>> >> ___ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" >> >> > Apache doesn't write to the access log until a request is complete, so it > may be worth bumping the LogLevel value to something more verbose. > > -Boris > ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: Strange Server Problems
Kevin wrote: Thanks for your reply, Joe! There is nothing in either system log or Apache log files. Apache doesn't seem to have got the requests at all. Very strange. On Sat, Feb 28, 2009 at 7:27 AM, Joe Mays wrote: I have a dedicated server running FreeBSD 7.0 release, it has been running well for two months. Suddenly, some websites stopped responding, all websites hosted on this server are simple PHP sites, if one site is working, all of them should work. I checked the bind/apache/mysql, everything is fine (otherwise no websiets would be working). Could anyone please give me some hints? Where should I start to look into this problem? Well, logs, obviously. Does anything appear in the apache error log when you try to hit the sites? ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" Apache doesn't write to the access log until a request is complete, so it may be worth bumping the LogLevel value to something more verbose. -Boris ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: kern/116837: [tun] [panic] [patch] ifconfig tunX destroy: panic
The following reply was made to PR kern/116837; it has been noted by GNATS. From: Takahiro Kurosawa To: Lucius Windschuh Cc: bug-follo...@freebsd.org Subject: Re: kern/116837: [tun] [panic] [patch] ifconfig tunX destroy: panic Date: Sun, 1 Mar 2009 14:46:44 +0900 2009/2/21 Lucius Windschuh : > =A0This is a follow-up to PR kern/116837. The described issue is solved, > =A0but now we have this issue. > =A0The following simple steps lead to a kernel panic on my system (i386, > =A0SMP, 8-CURRENT from Feb. 18th): > > =A0-->8-- > =A0cat < /dev/tun0 > /dev/tun0 & > =A0ifconfig tun0 up > =A0ifconfig tun0 destroy & ifconfig tun0 destroy > =A0--8<-- > > =A0Panic string: Bad link elm 0xc6437c00 prev->next !=3D elm > > =A0Responsible backtraces: > > =A0Tracing pid 1610 tid 100114 td 0xc686f240 > =A0kdb_enter(c090abd7,c090abd7,c08e2418,eaefeb6c,0,...) at kdb_enter+0x3a > =A0panic(c08e2418,c6437c00,c091867f,d3,2d,...) at panic+0x136 > =A0if_clone_destroyif(c0976300,c6437c00,c091867f,bf,0,...) at > =A0if_clone_destroyif+0x8a > =A0if_clone_destroy(c724f320,19c,eaefebd4,c0604976,c1494788,...) at > =A0if_clone_destroy+0xa2 if_clone_destroyif() should check that ifp is on ifc->ifc_iflist but it doesn't. Probably the following patch may fix this problem, but I fear that there might be another race between a thread accessing the ifp members and a thread calling if_clone_destroy(). # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # if_clone.c.diff # echo x - if_clone.c.diff sed 's/^X//' >if_clone.c.diff << 'fa5d2f08d96bc39865fb972ff194104f' X=3D=3D=3D sys/net/if_clone.c X=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D X--- sys/net/if_clone.c(revision 189132) X+++ sys/net/if_clone.c(local) X@@ -201,6 +201,7 @@ X int X if_clone_destroyif(struct if_clone *ifc, struct ifnet *ifp) X { X+ struct ifnet *tmp; X int err; X X if (ifc->ifc_destroy =3D=3D NULL) { X@@ -209,8 +210,15 @@ X } X X IF_CLONE_LOCK(ifc); X- IFC_IFLIST_REMOVE(ifc, ifp); X+ LIST_FOREACH(tmp, &ifc->ifc_iflist, if_clones) { X+ if (tmp =3D=3D ifp) { X+ IFC_IFLIST_REMOVE(ifc, ifp); X+ break; X+ } X+ } X IF_CLONE_UNLOCK(ifc); X+ if (tmp =3D=3D NULL) X+ return (ENXIO); /* ifp is not on the list. */ X X if_delgroup(ifp, ifc->ifc_name); X fa5d2f08d96bc39865fb972ff194104f exit ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
crazy network problem -- sleep?
hi,all: recently , we found a problem that , some server which with FreeBSD 6.2 may stop networking after days of services, it is so difficulty express this status, e, such as sleep? i can not ping this server, tracert is also failure, and other services ,network/server seems to be down... but while i insert the keyboard/mouse/crt in , everything is ok, such as a ring to call the system to wake-up... no errors found in dmesg or /var/log/messages, such as nothing happened...orz,our unlimit args as follow: cputime unlimited filesize unlimited datasize 2088152 kbytes stacksize65536 kbytes coredumpsize unlimited memoryuseunlimited vmemoryuse unlimited descriptors 655000 memorylocked unlimited maxproc 5547 sbsize unlimited plz give me some suggestion to trace the problem or solve it . thanks a lot ! Best wishes ! ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"