Trace process with high outgoing traffic

2013-10-13 Thread admin
Hello, I'm looking for a way to trace a PHP-FPM forked proces which has high outgoing traffic (user attacking some remote servers). Any ideas? Thank you Luke ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-

ZFS hanging on too hard

2013-10-13 Thread Daniel O'Connor
Hi all, I'm trying to setup a ZFS mirror system with a USB disk as backup. The backup disk is a ZFS pool which I am zfs send'ing to. However I find that if the disk is disconnected while mounted then things go pear shaped.. root@gateway:~ # zpool status -v pool: backupA state: UNAVAIL status:

pkg2ng not making pkg.bak dir after upgrade

2013-10-13 Thread Zoran Kolic
After a while, I found that I messed something. Upgraded the system from 9.1 to 9.2 with freebsd-update. Installed pkg. Used pkg2ng. It did some work, but made no /var/db/pkg.bak directory at all. Now, I could see either pkg version output just as pkg_version. So, it was not converted to pkg system

Re: ZFS hanging on too hard

2013-10-13 Thread Steven Hartland
- Original Message - From: "Daniel O'Connor" Hi all, I'm trying to setup a ZFS mirror system with a USB disk as backup. The backup disk is a ZFS pool which I am zfs send'ing to. However I find that if the disk is disconnected while mounted then things go pear shaped.. root@gateway:~ #

Re: ZFS hanging on too hard

2013-10-13 Thread Daniel O'Connor
On 14/10/2013, at 2:32, Steven Hartland wrote: > First "pool" is not your pool name its backupA so try: > zpool online backupA /dev/da0 > > If that still fails try: > zpool online backupA 1877640355 I get.. root@gateway:~ # zpool online backupA /dev/da0 cannot online /dev/da0: pool I/O is curr

Re: ZFS hanging on too hard

2013-10-13 Thread Steven Hartland
- Original Message - From: "Daniel O'Connor" On 14/10/2013, at 2:32, Steven Hartland wrote: > First "pool" is not your pool name its backupA so try: > zpool online backupA /dev/da0 > > If that still fails try: > zpool online backupA 1877640355 I get.. root@gateway:~ # zpool online

Re: ZFS hanging on too hard

2013-10-13 Thread Daniel O'Connor
On 14/10/2013, at 8:44, "Steven Hartland" wrote: >> root@gateway:~ # zpool export -f backupA >> load: 0.04 cmd: zpool 1384 [tx->tx_sync_done_cv)] 2.63r 0.00u 0.00s 0% 2804k >> load: 0.04 cmd: zpool 1384 [tx->tx_sync_done_cv)] 2.79r 0.00u 0.00s 0% 2804k >> load: 0.04 cmd: zpool 1384 [tx->tx_syn

Re: ZFS hanging on too hard

2013-10-13 Thread Steven Hartland
- Original Message - From: "Daniel O'Connor" On 14/10/2013, at 8:44, "Steven Hartland" wrote: >> root@gateway:~ # zpool export -f backupA >> load: 0.04 cmd: zpool 1384 [tx->tx_sync_done_cv)] 2.63r 0.00u 0.00s 0% 2804k >> load: 0.04 cmd: zpool 1384 [tx->tx_sync_done_cv)] 2.79r 0.00u

Re: ZFS hanging on too hard

2013-10-13 Thread Steven Hartland
- Original Message - From: "Steven Hartland" To: "Daniel O'Connor" Cc: "freebsd-stable stable" Sent: Sunday, October 13, 2013 11:27 PM Subject: Re: ZFS hanging on too hard - Original Message - From: "Daniel O'Connor" On 14/10/2013, at 8:44, "Steven Hartland" wrote: >

Re: ZFS hanging on too hard

2013-10-13 Thread Daniel O'Connor
On 14/10/2013, at 9:00, "Steven Hartland" wrote: >>> pulls the disk while it's imported then the server would need to be >>> rebooted. >> That could mean the underlying issue may be a USB or CAM scsi_da. >> You didnt say which OS version your running? > > The following may help forcing the shut

Re: ZFS hanging on too hard

2013-10-13 Thread Steven Hartland
- Original Message - From: "Daniel O'Connor" On 14/10/2013, at 9:00, "Steven Hartland" wrote: >>> pulls the disk while it's imported then the server would need to be rebooted. >> That could mean the underlying issue may be a USB or CAM scsi_da. >> You didnt say which OS version your

[releng_10 tinderbox] failure on mips/mips

2013-10-13 Thread FreeBSD Tinderbox
TB --- 2013-10-13 20:40:41 - tinderbox 2.20 running on worker01.tb.des.no TB --- 2013-10-13 20:40:41 - FreeBSD worker01.tb.des.no 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-10-13 20:

Re: ZFS hanging on too hard

2013-10-13 Thread Daniel O'Connor
On 14/10/2013, at 9:19, Steven Hartland wrote: >> > > hw.usb.no_shutdown_wait=1 >> That seems to work around the hang on reboot, thanks. >> I am running 9.2 (fresh install from a USB key). > > That does kind of point the finger away from ZFS code, is it reproducable? Yes, 100% of the time. I

FreeBSD 9.2 ahci under Parallels VM

2013-10-13 Thread Daniel O'Connor
Hi, I am trying to setup a FreeBSD 9.2 under Parallels and I find that I have to tell it to present IDE disks instead of SATA ones otherwise it gets timeouts probing for the disks. Is there some debugging I can enable to gather more information? -- Daniel O'Connor software and network engineer

Re: Suggest changing dirhash defaults for FreeBSD 9.2.

2013-10-13 Thread Robert_Burmeister
Presentation describing the logic behind adding dynamic memory allocation to UFS dirhash can be found at: "EuroBSDCon 2008 - Nick Barkas - Dynamic memory allocation for dirhash in UFS2" http://www.za.freebsd.org/multimedia/tag-nick_barkas.html -- View this message in context: http://freebsd.1