Re: ping's seem to hang ... 'zoneli' state?

2007-03-06 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


vmstat 1 shows:

# vmstat 1
 procs  memory  pagedisks faults  cpu
 r b w avmfre  flt  re  pi  po  fr  sr da0 da1   in   sy  cs us sy id
 0 1577 0 7813112 657312 1553   9   1   1 1325  68   0   0  569 4774 2359  7 10 
83
 0 1578 0 7815368 656600  199  59   0   0  64   0   0   2  226  679 616  0  6 93
 0 1578 0 7815368 656564 1120   0   0   0 220   0   0   0  208  638 608  1  8 91
 0 1578 0 7815368 6565645   0   0   0 314   0   0   9  343  890 974  1  8 91
 0 1578 0 7815368 656564  804   0   0   0   0   0   2   0  233  469 633  1  9 90

Normally I'd look for any mysql processes using alot of CPU, but I'm not 
finding anything using alot of CPU (this system is the only one we have using 
gmirror, if that helps any) ...



- --On Tuesday, March 06, 2007 11:10:53 -0400 Marc G. Fournier 
[EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 Does this show anything?  I can't kill the processes, even with kill -9 ...
 this happens consistently just after 3 days uptime on a kernel built Fri Feb
 23 07:47:20 AST 2007, and the interface is an fxp0 device ...

# ps auxl | grep ping
 root 68994  0.0  0.0  1556   808  ??  D 7:58AM   0:00.02 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 70555  0.0  0.0  1556   808  ??  D 8:05AM   0:00.02 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 73863  0.0  0.0  1452   520  ??  D 8:33AM   0:00.01 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 75857  0.0  0.0  1452   520  ??  D 8:49AM   0:00.01 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 76676  0.0  0.0  1556   808  ??  D 8:53AM   0:00.02 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 77048  0.0  0.0  1556   808  ??  D 8:54AM   0:00.01 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 80071  0.0  0.0  1452   520  ??  D 9:15AM   0:00.01 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 80198  0.0  0.0  1452   520  ??  D 9:15AM   0:00.01 ping -c 1 -t
 5  j 0 1   0 -16  0 zoneli
 root 81210  0.0  0.0  1556   808  ??  D 9:22AM   0:00.02 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 81212  0.0  0.0  1556   808  ??  D 9:22AM   0:00.01 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 81841  0.0  0.0  1556   808  ??  D 9:25AM   0:00.01 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 88041  0.0  0.0  1452   524  ??  D10:11AM   0:00.01 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 88418  0.0  0.0  1452   524  ??  D10:13AM   0:00.01 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 89800  0.0  0.0  1452   524  ??  D10:24AM   0:00.01 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 90774  0.0  0.0  1452   556  ??  D10:58AM   0:00.00 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 91118  0.0  0.0  1452   556  ??  D10:58AM   0:00.00 ping -c 1 -t
 30  0 1   0 -16  0 zoneli
 root 91635  0.0  0.0  1452   556  ??  D11:04AM   0:00.00 ping -c 1 -t
 30  0 1   0 -16  0 zoneli


 - 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (FreeBSD)

 iD8DBQFF7YR94QvfyHIvDvMRAqo7AKCsPVLSXhtMD4pFd/ho2hoX3CL5cgCfcQmy
 HkV4+EgX4ue/gxVZzyuXE+U=
 =8YX2
 -END PGP SIGNATURE-



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFF7YZ54QvfyHIvDvMRAp2SAKCnpJJLgxI1SnkfE83L+xH05/981QCfYQBQ
NUqCavoRoH8lo6ZPdXLyBFg=
=Ww+Z
-END PGP SIGNATURE-

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


ping's seem to hang ... 'zoneli' state?

2007-03-06 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Does this show anything?  I can't kill the processes, even with kill -9 ... 
this happens consistently just after 3 days uptime on a kernel built Fri Feb 
23 07:47:20 AST 2007, and the interface is an fxp0 device ...

# ps auxl | grep ping
root 68994  0.0  0.0  1556   808  ??  D 7:58AM   0:00.02 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 70555  0.0  0.0  1556   808  ??  D 8:05AM   0:00.02 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 73863  0.0  0.0  1452   520  ??  D 8:33AM   0:00.01 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 75857  0.0  0.0  1452   520  ??  D 8:49AM   0:00.01 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 76676  0.0  0.0  1556   808  ??  D 8:53AM   0:00.02 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 77048  0.0  0.0  1556   808  ??  D 8:54AM   0:00.01 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 80071  0.0  0.0  1452   520  ??  D 9:15AM   0:00.01 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 80198  0.0  0.0  1452   520  ??  D 9:15AM   0:00.01 ping -c 1 -t 5 
j 0 1   0 -16  0 zoneli
root 81210  0.0  0.0  1556   808  ??  D 9:22AM   0:00.02 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 81212  0.0  0.0  1556   808  ??  D 9:22AM   0:00.01 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 81841  0.0  0.0  1556   808  ??  D 9:25AM   0:00.01 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 88041  0.0  0.0  1452   524  ??  D10:11AM   0:00.01 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 88418  0.0  0.0  1452   524  ??  D10:13AM   0:00.01 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 89800  0.0  0.0  1452   524  ??  D10:24AM   0:00.01 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 90774  0.0  0.0  1452   556  ??  D10:58AM   0:00.00 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 91118  0.0  0.0  1452   556  ??  D10:58AM   0:00.00 ping -c 1 -t 
30  0 1   0 -16  0 zoneli
root 91635  0.0  0.0  1452   556  ??  D11:04AM   0:00.00 ping -c 1 -t 
30  0 1   0 -16  0 zoneli


- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFF7YR94QvfyHIvDvMRAqo7AKCsPVLSXhtMD4pFd/ho2hoX3CL5cgCfcQmy
HkV4+EgX4ue/gxVZzyuXE+U=
=8YX2
-END PGP SIGNATURE-

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ping's seem to hang ... 'zoneli' state?

2007-03-06 Thread Anton Yuzhaninov
Hello Marc,

You wrote on Tuesday, March 6, 2007, 6:10:45 PM:

MGF Does this show anything?  I can't kill the processes, even with kill -9 ...
MGF this happens consistently just after 3 days uptime on a kernel built Fri 
Feb
MGF 23 07:47:20 AST 2007, and the interface is an fxp0 device ...

MGF # ps auxl | grep ping
MGF root 68994  0.0  0.0  1556   808  ??  D 7:58AM   0:00.02 ping -c 1 
-t
MGF 30  0 1   0 -16  0 zoneli

This is know problem:
http://www.freebsd.org/releases/6.2R/errata.html

There are some different cases when zonelimit livelock is possible.
Send vmstat -z output (when processes lock in zonelimit state).

-- 
 Anton Yuzhaninov.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ping's seem to hang ... 'zoneli' state?

2007-03-06 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Tuesday, March 06, 2007 18:59:04 +0300 Anton Yuzhaninov
[EMAIL PROTECTED] 
wrote:

 Hello Marc,

 You wrote on Tuesday, March 6, 2007, 6:10:45 PM:

 MGF Does this show anything?  I can't kill the processes, even with kill -9
 ... MGF this happens consistently just after 3 days uptime on a kernel built
 Fri Feb MGF 23 07:47:20 AST 2007, and the interface is an fxp0 device ...

 MGF # ps auxl | grep ping
 MGF root 68994  0.0  0.0  1556   808  ??  D 7:58AM   0:00.02 ping -c
 1 -t MGF 30  0 1   0 -16  0 zoneli

 This is know problem:
 http://www.freebsd.org/releases/6.2R/errata.html

 There are some different cases when zonelimit livelock is possible.
 Send vmstat -z output (when processes lock in zonelimit state).

Great, thanks ... just read the errata on zonelimit, and it seems to imply that 
it was fixed on the 12th of February, but (of course) it doesn't indicate which 
files ... I just did a new cvsup since my last one, and all that has changed is:

Updating collection src-all/cvs
 Edit src/lib/libarchive/archive_read_extract.c
 Edit src/share/man/man4/tap.4
 Edit src/share/man/man4/tun.4
 Edit src/sys/amd64/conf/SMP
 Edit src/sys/dev/wi/if_wi_pccard.c
 Edit src/sys/kern/sys_generic.c
 Edit src/sys/net/if_tap.c
 Edit src/sys/net/if_tun.c
 Edit src/sys/netgraph/ng_ksocket.c
 Edit src/sys/netinet/ip_mroute.c
 Edit src/sys/netinet/tcp.h
Finished successfully

Can someone comment on whether I just missed the commit on my last cvsup, or if 
I'm hitting the same problem but in a different way?

Thanks ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFF7ZYU4QvfyHIvDvMRAhr6AKDQqpDNoCvq1UJYLbS4ayjcfZ2tSgCfawZX
WNM499ARzFVvxW6ubUJtYDo=
=ImQ+
-END PGP SIGNATURE-

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ping's seem to hang ... 'zoneli' state?

2007-03-06 Thread ??/LI Xin
Marc G. Fournier wrote:
[...]
 Can someone comment on whether I just missed the commit on my last cvsup, or 
 if 
 I'm hitting the same problem but in a different way?

I think so.  Try patching your system with:

src/sys/kern/kern_mbuf.c,v 1.9.2.9
src/sys/sys/mbuf.h,v 1.170.2.7
src/sys/vm/uma.h,v 1.22.2.8
src/sys/vm/uma_core.c,v 1.119.2.19
src/sys/vm/uma_core.c,v 1.119.2.18

and perhaps also:

src/sys/kern/uipc_socket.c,v 1.293.

Cheers,
-- 
Xin LI [EMAIL PROTECTED]  http://www.delphij.net/
FreeBSD - The Power to Serve!



signature.asc
Description: OpenPGP digital signature


Re: ping's seem to hang ... 'zoneli' state?

2007-03-06 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Wednesday, March 07, 2007 00:44:25 +0800 ??/LI Xin
[EMAIL PROTECTED] 
wrote:

 Marc G. Fournier wrote:
 [...]
 Can someone comment on whether I just missed the commit on my last cvsup, or
 if  I'm hitting the same problem but in a different way?

 I think so.  Try patching your system with:

 src/sys/kern/kern_mbuf.c,v 1.9.2.9
 src/sys/sys/mbuf.h,v 1.170.2.7
 src/sys/vm/uma.h,v 1.22.2.8
 src/sys/vm/uma_core.c,v 1.119.2.19
 src/sys/vm/uma_core.c,v 1.119.2.18

 and perhaps also:

 src/sys/kern/uipc_socket.c,v 1.293.

Here's what I have right now:

__FBSDID($FreeBSD: src/sys/kern/kern_mbuf.c,v 1.9.2.9 2007/02/11 03:31:18 
mohans Exp $);
 * $FreeBSD: src/sys/sys/mbuf.h,v 1.170.2.7 2007/02/11 03:31:19 mohans Exp $
 * $FreeBSD: src/sys/vm/uma.h,v 1.22.2.8 2007/02/11 03:31:19 mohans Exp $
__FBSDID($FreeBSD: src/sys/vm/uma_core.c,v 1.119.2.19 2007/02/11 03:31:19 
mohans Exp $);
__FBSDID($FreeBSD: src/sys/vm/uma_core.c,v 1.119.2.19 2007/02/11 03:31:19 
mohans Exp $);
__FBSDID($FreeBSD: src/sys/kern/uipc_socket.c,v 1.242.2.8 2007/02/03 04:01:22 
bms Exp $);

The only one that looks off is uipc_socket.c ... do I need to copy that from 
HEAD?  Are there any compatibility issues with doing that?


- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFF7aKV4QvfyHIvDvMRAloYAKCsA0x+THahW+MZjW/8MjDZwsJDrgCcD4Qw
WbA/0nXgvv4xwEDtBxirLlo=
=Ro3T
-END PGP SIGNATURE-

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ping's seem to hang ... 'zoneli' state?

2007-03-06 Thread ??/LI Xin
Marc G. Fournier wrote:
[...]
 Here's what I have right now:
 
 __FBSDID($FreeBSD: src/sys/kern/kern_mbuf.c,v 1.9.2.9 2007/02/11 03:31:18 
 mohans Exp $);
  * $FreeBSD: src/sys/sys/mbuf.h,v 1.170.2.7 2007/02/11 03:31:19 mohans Exp $
  * $FreeBSD: src/sys/vm/uma.h,v 1.22.2.8 2007/02/11 03:31:19 mohans Exp $
 __FBSDID($FreeBSD: src/sys/vm/uma_core.c,v 1.119.2.19 2007/02/11 03:31:19 
 mohans Exp $);
 __FBSDID($FreeBSD: src/sys/vm/uma_core.c,v 1.119.2.19 2007/02/11 03:31:19 
 mohans Exp $);
 __FBSDID($FreeBSD: src/sys/kern/uipc_socket.c,v 1.242.2.8 2007/02/03 
 04:01:22 
 bms Exp $);
 
 The only one that looks off is uipc_socket.c ... do I need to copy that from 
 HEAD?  Are there any compatibility issues with doing that?

No, you can not simply copy the file.  Try patching your system with:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/uipc_socket.c.diff?r1=1.292r2=1.293

You can just ignore the first hunk.  Please note that you may also need
to modify uipc_socket2.c just in the way that this file is changed.

Cheers,
-- 
Xin LI [EMAIL PROTECTED]  http://www.delphij.net/
FreeBSD - The Power to Serve!



signature.asc
Description: OpenPGP digital signature