Re: Unusually high "Wired" memory

2017-09-13 Thread Dan Nelson via freebsd-stable
2017-09-12 1:27 GMT-05:00 Borja Marcos : > > > > On 11 Sep 2017, at 11:25, Borja Marcos wrote: > > > >> Since I’ve updated a machine to 11.1-STABLE I am seeing a rather unusual > >> growth of Wired memory. > >> > >> Any hints on what might have changed from 11-RELEASE to 11.1-RELEASE and > >> 11

Re: recommended memory for zfs

2013-05-09 Thread Dan Nelson
own as 256MB), but the critical part is running a 64-bit kernel. ZFS does a lot of kernel malloc/free operations, and address space fragmentation on a 32-bit system will eventually cause a panic when ZFS can't malloc a contiguous 128k chunk.

Re: tmpfs nfs exports?

2012-10-30 Thread Dan Nelson
ou really want an exportable /tmp, just live with the fact that you'll get ESTALE errors on all clients when you reboot the server. Maybe giving the root inode a constant generation number is all that's needed, since I suppose most clients that have mounted the server don't actual

Re: 9-stable from i386 to amd64

2012-02-10 Thread Dan Nelson
py with the result. I've never done it completely remotely, but if you do a trial run or two on a local machine or VM, you should be able to it confidently remotely. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-stable@free

Re: swi4: clock taking 40% cpu?!?

2011-12-15 Thread Dan Nelson
t in the dark here, but the only thing I can think of that might > cause this is software being extremely aggressive with calls to things > like gettimeofday(2) or clock_gettime(2). Really not sure. ntpd maybe > (unlikely but possible)? Sort of grasping at straws here. -- Dan N

Re: kernel: negative sbsize for uid = 0

2011-12-14 Thread Dan Nelson
hat value changes while the function is executing, it could cause problems. ui_sbsize is only used by the resource limiting code, though, so unless you're enforcing an sbsize rlimit, it should be harmless. -- Dan Nelson dnel...@allantgroup.com ___

Re: Something missing in truss

2011-12-03 Thread Dan Nelson
((lwpinfo.pl_flags&(PL_FLAG_SCE|PL_FLAG_SCX)) == 0) + err(1,"pl_flags=%x contains neither PL_FLAG_SCE or PL_FLAG_SCX", lwpinfo.pl_flags); + info->pr_why = (lwpinfo.pl_flags&PL_FLAG_SCE) ? S_SCE:S_SCX; + info->curth

Re: stable/8 nfsd: is it normal to have one worker regardless of -n setting?

2011-07-31 Thread Dan Nelson
grep nfsd 1373 ?? Is 0:00.02 nfsd: master (nfsd) 1374 ?? S 1:25.79 nfsd: server (nfsd) 1374 ?? S 1:26.65 nfsd: server (nfsd) 1374 ?? S 1:27.67 nfsd: server (nfsd) 1374 ?? S 1:27.04 nfsd: server (nfsd) -- Da

Re: ZFS I/O errors

2011-05-30 Thread Dan Nelson
ely weird. Could you have run a partitioning tool, or some other program that would have done direct writes to all of your component disks? Your scrub is also a bit worrying - 24k checksum errors definitely shouldn't occur during normal usage. -- Dan Nelson dnel...@allan

Re: Unstable ARP responses times

2011-05-13 Thread Dan Nelson
rland. If you run "tcpdump arp", you should be able to see the packet timestamps as the kernel sees them. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinf

Re: Large number of SATA commits (MFCs) to RELENG_8

2011-04-21 Thread Dan Nelson
sys/cddl/contrib/opensolaris U sys/amd64/include/xen Usys/sys/proc.h U sys Updated to revision 220927. Log: svn log -v -r 220903:220927 svn://svn.freebsd.org/base/stable/8 -- Dan Nelson dnel...@allantgroup.com ___ freebs

Re: Network throughput: Never get more than 112MB/s über two NICs

2011-04-12 Thread Dan Nelson
In the last episode (Apr 12), Dan Nelson said: > In the last episode (Apr 12), Denny Schierz said: > > Am Montag, den 11.04.2011, 21:52 +0200 schrieb Denny Schierz: > > > Am 11.04.2011 um 20:06 schrieb Tim Daneliuk: > > > > Are you certain you are not somehow run

Re: Network throughput: Never get more than 112MB/s über two NICs

2011-04-12 Thread Dan Nelson
ersubscribed (common for older blade switches, or very high-density blades); sometimes there will be rectangles enclosing groups of 6-8 ports, which means that they are controlled by a single chip internally. Moving each of your test machines to a separate group may improve your performan

Re: 3TB disc and block alignment

2011-02-17 Thread Dan Nelson
61588MB (732566646 4096 byte sectors: 255H 63S/T 364801C) > > According to Hitachi, this is an 512b drive. Correct. This isn't a 4k drive. Datasheet: http://www.hgst.com/internal-drives/enterprise/ultrastar/ultrastar-7k3000 Sector size (variable, Bytes/sector)5

Re: link aggregation - bundling 2 lagg interfaces together

2011-02-04 Thread Dan Nelson
there is preliminary code under #ifdef LAGG_PORT_STACKING, but it claims to be untested. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: Panic in ZFS layer on 8.1-STABLE

2010-12-15 Thread Dan Nelson
extern zio_t *zio_unique_parent(zio_t *cio); extern void zio_add_child(zio_t *pio, zio_t *cio); extern void *zio_buf_alloc(size_t size); +extern void *zio_buf_alloc_nowait(size_t size); extern void zio_buf_free(void *buf, size_t size); extern void *zio_data_buf_alloc(size_t size); extern

Re: TTY task group scheduling

2010-11-19 Thread Dan Nelson
rence, but here's a mention of it from Luigi: http://lists.freebsd.org/pipermail/freebsd-hackers/2004-November/008891.html -- Dan Nelson dnel...@allantgroup.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: 8.1R ZFS almost locking up system

2010-09-02 Thread Dan Nelson
In the last episode (Sep 01), Tim Bishop said: > On Tue, Aug 31, 2010 at 10:58:29AM -0500, Dan Nelson wrote: > > In the last episode (Aug 31), Tim Bishop said: > > > It happened again this Saturday (clearly something in the weekly > > > periodic run is triggering the

Re: 8.1R ZFS almost locking up system

2010-08-31 Thread Dan Nelson
In the last episode (Aug 31), Tim Bishop said: > On Sat, Aug 21, 2010 at 05:24:29PM -0500, Dan Nelson wrote: > > In the last episode (Aug 21), Tim Bishop said: > > > A few items from top, including zfskern: > > > > > > PID USERNAME THR PRI NICE SIZE

Re: 8.1R ZFS almost locking up system

2010-08-21 Thread Dan Nelson
> root20986 0.0 0.1 14636 1572 ?? D 2:00PM 0:02.07 zfs snapshot > -r po...@2010-08-21_14:00:01--1d procstat -k on some of these processes might help to pinpoint what part of the zfs code they're all waiting in. -- Dan Nelson dnel...@allantgroup.co

Re: Why is NFSv4 so slow? (root/toor)

2010-06-29 Thread Dan Nelson
hange this behavior yet. If there are multiple users that map to the same userid, nscd on Linux will select one name at random and return it for getpwuid() calls. I haven't seen this behaviour on FreeBSD or Solaris, though. They always seem to return the first entry in the passwd file.

Re: Make ZFS auto-destroy snapshots when the out of space?

2010-05-29 Thread Dan Nelson
can have monthly/daily/hourly snapshots but set it so the hourly ones disappear first, then the dailies (by setting the destroy trigger slightly higher for the ones you want to expire first). -- Dan Nelson dnel...@allantgroup.com __

Re: ugen kernel module?

2010-03-09 Thread Dan Nelson
now. All USB devices (including USB hubs and devices controlled by other drivers) now have a ugen device. Try running "usbconfig list" to show them. I bet your UPS has just moved to a different ugen number. -- Dan Nelson

Re: numeric sort(1) is broken on -STABLE

2010-02-10 Thread Dan Nelson
le dependant? Why is -g working anyway? Try adding a 'b' to your sort flags. I bet the leading spaces in front of your numbers are being treated as part of the sort key. Maybe de_DE.UTF-8 and C have different ideas of what is whitespace? -- Dan Nelson dnel...@allant

Re: do I want ch0 or pass1?

2010-01-22 Thread Dan Nelson
in probe order, that won't work. Ideally, mtx should use cam_open_spec_device() which, when given a device name, will automatically open the matching pass device. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-stable@freebsd.org m

Re: how to get the UFSID of a mounted filesystem ?

2009-11-29 Thread Dan Nelson
ut byte-swapped so you have to mess with it to get a value that matches what glabel expects: /dev/ufsid/49b21fba667e8575 on /tmp/z (ufs, local, soft-updates, fsid ba1fb24975857e66) -- Dan Nelson dnel...@allantgroup.com ___ freebsd-stab

Re: 8.0-RC USB/FS problem

2009-11-24 Thread Dan Nelson
reset.bz2: No > > address record > > The above issue is unrelated to the USB/FS problem. It looks like > fetch(1) has a parser bug. Note the text portion between the URI and URL > is colon-slash not colon-slash-slash like it should be. That

Re: (MORE INFO) Ext firewire drive not mounted after update

2009-11-15 Thread Dan Nelson
In the last episode (Nov 13), Robert said: > On Fri, 13 Nov 2009 17:15:39 -0600 Dan Nelson wrote: > > In the last episode (Nov 13), Robert said: > > > On Fri, 13 Nov 2009 13:01:47 -0800 > > > Robert wrote: > > > It appears that some thing is amiss with the l

Re: (MORE INFO) Ext firewire drive not mounted after update

2009-11-13 Thread Dan Nelson
ere. Reviewed by: Primary misc. architecture maintainers (marcel, marius) -- Dan Nelson dnel...@allantgroup.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: Signing Request

2009-09-23 Thread Dan Nelson
mit.edu, etc), which I have found to hold most of the keys for people that sign messages on these lists. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-st

Re: Fatal Trap 12 in various processes always at address 0x3030313a

2009-08-29 Thread Dan Nelson
bsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html -- Dan Nelson dnel...@allantgroup.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: nsswitch.conf bad configuration?

2009-08-07 Thread Dan Nelson
the user is a member of. This lets you add local users to groups that exist only in LDAP, by creating a shadow user in LDAP with the same name and adding it to groups. If you're worried about overloading your ldap server with queries for nonexistant users (which is unlikely), you can enable

Re: process stuck in "umtxn"

2009-07-09 Thread Dan Nelson
is 7.2-PRERELEASE/amd64 from April 9th. Please, advise. > Thanks! Yours, That could be due to the following bug, fixed after 7.2 was released. Appliying the patch and rebuilding libc should be all you need to fix it: http://security.freebsd.org/advisories/FreeBSD-EN-09

Re: ZFS performance on 7.2-release/amd64 low compared to UFS2 + SoftUpdates

2009-06-17 Thread Dan Nelson
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- > --Seeks--- > MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec > %CPU > 1024 22591 53.7 45602 35.1 14770 13.2 45007 83.8 94595 28.0 102.2 > 1.2 > -- Dan Nelson dnel...

Re: jdk15/jdk16 build problems on amd64, 7.2-RELEASE

2009-05-26 Thread Dan Nelson
use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > gmake[4]: *** [../generated/MakeDeps.class] Killed: 9 Something sent a KILL signal to your process. Maybe you ran out of memory and the kernel killed the largest process

Re: run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config

2009-05-11 Thread Dan Nelson
ia Google it should be fixed already but apparently > it is not. :-( > > Is there a way to work around this issue and successfully boot and install > FreeBSD, please ? Do you have a connected firewire device? Try unplugging it during bootup, or kldload the sbp module after bootup inst

Re: bdes: fwrite error at 8

2009-04-08 Thread Dan Nelson
a single usefull error instead of a stream of useless ones. $ trap '' PIPE $ bdes -k asd < /boot/kernel/kernel | dd of=/dev/null count=1 -- Dan Nelson dnel...@allantgroup.com ___ freebsd-stable@freebsd.org mailing list ht

Re: incorrect port value in tcpdump output

2009-03-31 Thread Dan Nelson
hat's the NFS transaction id. See the tcpdump manpage, under the section "NFS Requests and Replies". -- Dan Nelson dnel...@allantgroup.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: vm_thread_new: kstack allocation failed with vm.kmem_size="1536M"

2009-02-28 Thread Dan Nelson
of FreeBSD are you running to get those > numbers ? I thought that 1536M was the absolute maximum for kmem > in versions of FreeBSD before 8-CURRENT. I'm running 7-STABLE as of Feb 26 or so. Commit r187466 on Jan 20 bumped up kmem_size_max on amd64 to 3.6GB: http://svn.freebs

Re: vm_thread_new: kstack allocation failed with vm.kmem_size="1536M"

2009-02-28 Thread Dan Nelson
ou've probably reduced kmem_size from the default. I don't set anything on my 6 GB amd64 system, and I get: $ sysctl vm.kmem_size vm.kmem_size_max vm.kmem_size: 2061496320 vm.kmem_size_max: 3865468109 I assume your 16GB system would default to even larger numbers. What values do you get w

Re: ZFS root File System

2009-02-27 Thread Dan Nelson
covery tools in case your non-UFS root has problems of any sort, and /boot always points to what you (and makefiles) think it should. If you have root on mirrored disks, you can gmirror /.boot too. Works great for ZFS; should work for HAMMER. -- Dan Nelson dnel...@allantgr

Re: Weird truss output

2008-12-03 Thread Dan Nelson
In the last episode (Dec 03), Vlad GALU said: > On Wed, Dec 3, 2008 at 8:56 PM, Dan Nelson <[EMAIL PROTECTED]> wrote: > [...] > > Am I doing something wrong? I've applied the full diff, rebuilt > truss, now I get this: > -- cut here -- > [EMAIL PROTECTED] / # tru

Re: Weird truss output

2008-12-03 Thread Dan Nelson
In the last episode (Dec 03), Dan Nelson said: > It looks like there's some other problem where truss either drops a > syscall event, or puts some status fields into the wrong thread's > structure. It seems to happen when two threads call blocking > syscalls, and when t

Re: Weird truss output

2008-12-03 Thread Dan Nelson
In the last episode (Dec 03), Vlad GALU said: > On Wed, Dec 3, 2008 at 5:23 PM, Dan Nelson <[EMAIL PROTECTED]> wrote: > > In the last episode (Dec 03), Vlad GALU said: > >> I'm running a statically linked binary, which I've built inside a > >> jail. The j

Re: Weird truss output

2008-12-03 Thread Dan Nelson
t;curthread->in_syscall = 0; +} } if (fsc.name && (trussinfo->flags & FOLLOWFORKS) -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY

2008-09-29 Thread Dan Nelson
72 [..] kstat.zfs.misc.arcstats.p: 235221504 kstat.zfs.misc.arcstats.c: 268435456 kstat.zfs.misc.arcstats.c_min: 67108864 kstat.zfs.misc.arcstats.c_max: 268435456 kstat.zfs.misc.arcstats.size: 263926784 -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@fre

Re: Problem with dtrace

2008-09-20 Thread Dan Nelson
oc, profile, and syscall probes work fine for me; it seems to be just fbt probes that cause problems. Enabling any one will cause a trap 12 a few instructions inside the probed function when it gets called. -- Dan Nelson [EMAIL PROTECTED] __

Re: snapshots and disk usage

2008-09-07 Thread Dan Nelson
he kernel pretends that the space is available. That doesn't really work with a snapshot, since if you delete a file that existed in the snapshot, no space will free up. So you see a jump in freespace as the kernel fakes the f_bfree statfs amount, then it slowly drops to the correct value

Re: Temperature monitoring on old desktop - Dell OptiPlex SX270?

2008-08-03 Thread Dan Nelson
gt; > SpeedFan. If that thing is able to detect and provide thermal data, > > Ouch. I was hoping that I wouldn't have to do that. The machine have > no internal CD-drive, and for some reason doesn't want to boot from a > (usb) external

Re: Pseudoterminals increase: compilation error

2008-07-19 Thread Dan Nelson
at version of expect are you running? Versions between 5.38.0_1 and 5.43.0_2 had a bug in the port Makefile that limited the number of ptys expect could see. See http://www.freebsd.org/cgi/query-pr.cgi?pr=108311 . -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: auto_nlist failed on cp_time at location 1

2008-04-24 Thread Dan Nelson
hat it's correct. I'm not sure why my first patch didn't apply; I attached it straight out of my net-snmp/files/ directory. -- Dan Nelson [EMAIL PROTECTED] --- agent/mibgroup/ucd-snmp/vmstat_freebsd2.c 2008-04-24 10:25:59.834152091 -0500 +++ agent/mibgroup/ucd-sn

Re: auto_nlist failed on cp_time at location 1

2008-04-23 Thread Dan Nelson
s patch (put it in /usr/ports/net-mgmt/net-snmp/files and rebuild net-snmp). I've sent it to the net-snmp port maintainer so hopefully it will be committed soon. -- Dan Nelson [EMAIL PROTECTED] --- agent/mibgroup/hardware/cpu/cpu_nlist.c 2007-01-19 10:53:44.0 -

Re: zeroed fields in ps output

2008-04-23 Thread Dan Nelson
why RSS=0, and may explain why etime is unavailable. ps should probably print a "-" there (like it does for STARTED) instead of an obviously wrong value. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing lis

Re: NFS and /etc/exports

2008-04-14 Thread Dan Nelson
NFS_MAXDATA 32768 But it looks like /sbin/mount_nfs always overrides them to NFS_WSIZE and NFS_RSIZE (both 8K) in its nfsdefargs struct. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Question about file system checks

2008-03-28 Thread Dan Nelson
> so this is a low-quality observation), closely followed by JFS and XFS. ZFS's transaction commit interval is only 5 seconds (see txg_time in uts/common/fs/zfs/txg.c); how many more files/second did it create vs the others to be able to lose the mo

Re: Analysis of disk file block with ZFS checksum error

2008-02-08 Thread Dan Nelson
(^89^2146C)(^8A=)(^8B=40)(^8C=2e)(^8D^84)(^8E=0)(^90^21472) > (^91^21460)] > @$$}138C18}@ > > and more of the same. Note the date string. There are several like > that. Anyone recognize this text format? It's a Mork database from the Mozilla project: http://devel

Re: mount -p and NFS options

2008-02-05 Thread Dan Nelson
quot;nfs_args" option whose value is the same binary "struct nfs_args" it used to call mount(2) with :( The fix would be to make nfs_vfsops.c and mount_nfs.c use the options array instead of a custom struct, but nfs_vfsops.c:nfs_decode_args scares me off e

Re: questionable feature- rcvar woes

2007-11-28 Thread Dan Nelson
want to start > some service without appropriate line in rc.conf. I'd prefer to see > somekind of warning about misconfigured rc.conf or at least > information about what's going on in reality. Try "/etc/rc.d/powerd forcestop". What happens during startup and shutdown is t

Re: Question about 'top' values on memory usage

2007-10-14 Thread Dan Nelson
example). Processes forked from the same parent can share the same pages until one process writes to one (a copy is then made so the other processes still see the right data). Chances are that those three httpd processes are sharing 99% of their pages. I don't know of any easy way of determi

Re: rm(1) bug, possibly serious

2007-09-26 Thread Dan Nelson
t; contents of the parent directory. Clearly a POLA violation. > > > > Maybe. But I expect that the behavior for "rm -rf .." is there so > > that things don't get REALLY astonishing when you do "rm -rf *". > > The expansion of "*" does n

Re: moused(8) consuming cpu for nothing

2007-08-08 Thread Dan Nelson
ps: select(1024,{3},0x0,0x0,{0.02}) = 0 (0x0) gettimeofday({1186587244.432606},0x0)= 0 (0x0) select(1024,{3},0x0,0x0,{0.020000}) = 0 (0x0) gettimeofday({1186587244.457868},0x0)= 0 (0x0) -- Dan Nelson [EMAIL PRO

Re: rwhod / ntpdate don't work ... amd64/-STABLE ...

2007-07-16 Thread Dan Nelson
somehow screwed up my mergmaster, and actually wiped out > /etc/services ... just ran mergemaster on a whim, and the file was > totally recreated, and all services now start up as expected ... For the archives: truss -f will follow forks. -- Dan Nelson [EMAIL PROTECTED] ___

Re: RTC clock doesn't generate interrupts

2007-05-20 Thread Dan Nelson
t rate for the stat clock over one second getticks() { ( vmstat -i ; sleep 1 ; vmstat -i ) | awk '/rtc/ { if (sum) sum+=$3; else sum-=$3 } END { print sum }' } ticks=$( getticks ) # It should be firing at 128 hz. If not, kick it if [ $ticks -lt 64 ] ; then echo "Stat clock

Re: ntpd(8) exits quietly after fork()

2007-03-13 Thread Dan Nelson
ild of this fork operation. This ktrace output looks a lot like the code in ntpd.c:ntpdmain(), in which ntpd forks, the parent immediately exits, and the child continues. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Problems installing JDK 1.5

2007-02-27 Thread Dan Nelson
. :) > > That may well be the case. I assumed the port installed it as a > dependency, but I didn't really look close. Thanks for the hint! I'll > report back later. You could also install the native diablo-jdk15 port instead of a Linux one.

Re: 6.2 buildworld fails with NO_SHARED

2007-01-26 Thread Dan Nelson
1.6.2.1 +++ Makefile26 Jan 2007 17:00:38 - @@ -3,7 +3,7 @@ PROG= gstat MAN= gstat.8 WARNS?=5 -DPADD= ${LIBGEOM} ${LIBDEVSTAT} ${LIBBSDXML} ${LIBCURSES} ${LIBEDIT} -LDADD= -lgeom -ldevstat -lbsdxml -lcurses -ledit +DPADD= ${LIBGEOM} ${LIBDEVSTAT} ${LIBBSDXML} ${LIBEDIT

Re: 2.4TB disk - MBR and GPT coexist?

2007-01-11 Thread Dan Nelson
re? > > Not any one that I've ever seen in commodity disks. Yes, on big > fiber channel disk cabinets. No to 6-8 drive raid controllers. I've got ancient AMI Megaraid controllers (Dell PERC 2/Si cards) that can put multiple logical drives on one RAID set, so I&

Re: Is syslog() reentrant? Was: OpenBSD's spamd.

2006-12-19 Thread Dan Nelson
nctions (syslog_r, > openlog_r, etc) Is FreeBSD's syslog already reentrant? It is, as of FreeBSD 5.4. In previous versions only openlog() and syslog("%m") with an invalid errno were non-reentrant. http://www.freebsd.org/cgi/query-pr.cgi?pr=72394 -- Dan Nelson

Re: malloc(0) returns 0x800 on FreeBSD 6.2 ?

2006-12-11 Thread Dan Nelson
In the last episode (Dec 11), Dan Nelson said: > In the last episode (Dec 11), Luigi Rizzo said: > > i was debugging a program on FreeBSD 6, and much to my surprise, i > > noticed that malloc(0) returns 0x800, as shown by this program: > > > > > more a.c > >

Re: malloc(0) returns 0x800 on FreeBSD 6.2 ?

2006-12-11 Thread Dan Nelson
st return unique pointers, so the 7.x malloc silently rounds zero-size mallocs to 1. Ideally malloc would return unique pointers to blocks of memory set to MPROT_NONE via mprotect() (you could fit 8192 of these pointers in an 8k page), to prevent applications from using

Re: adaptec utilities on amd64?

2006-11-17 Thread Dan Nelson
smart /full : enclosure list /full : enclosure show status" for c in $CONTROLLERS ; do OUT_AAC=$OUT_AAC$($AACCLI open /readonly $c : $CMD_AAC) done It then processes the contents of $OUT_AAC to determine if the array's happy or not. -- Dan Nelson [EMAIL

Re: Pleading for commit

2006-10-24 Thread Dan Nelson
patch > so you won't forget. :) Or cvsup the CVS repository (instead of using checkout mode), check out your working tree from there, and run "cvs update" to update your sources, which will preserve local changes. -- Dan Nelson [EMAIL PROTECTED]

Re: Is jemalloc going to make its way into RELENG_6?

2006-10-05 Thread Dan Nelson
l size: 512 Pointer size: 4 Assertions enabled Allocated: 4096, space used: 1048576 I've tried this with seamonkey and mysqld, so this method seems to work fine on complex apps. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebs

Re: problem with old /usr/src/contrib/amd

2006-10-03 Thread Dan Nelson
rent, not stable. Until a newer version is imported, you can use the sysutils/am-utils port. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscr

Re: Poor write performance with LSI 320-2 on 6.1-STABLE

2006-09-29 Thread Dan Nelson
ference in the sequential input test; judging by your insane sequential read and random seek values, your 300M test file looks like it's completely cached in RAM. A size 2x your RAM capacity is recommended. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Recovering Swap Partition

2006-09-03 Thread Dan Nelson
g? Swap doesn't need to be formatted; it just has to exist if enabled. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: FreeBSD boots too fast on Dell PE850

2006-08-17 Thread Dan Nelson
you add or remove an IP. I know the ti driver (whose chipset the broadcom chips are based on) had that problem. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-s

Re: TOP shows above 100% WCPU usage

2006-08-17 Thread Dan Nelson
RIX view is most > useful), sometimes you want to get a handle on which processes are > loading down a machine (the Solaris view is most useful). Is this similar to FreeBSD top's 'H' option? -- Dan Nelson [EMAIL PROTECTED] ___

Re: TOP shows above 100% WCPU usage

2006-08-17 Thread Dan Nelson
In the last episode (Aug 17), Bill LeFebvre said: > Mike Jakubik wrote: > >Dan Nelson wrote: > >>>How can mysql use 160%? Is this a reporting bug in top because mysql > >>>is threaded? > >>You have multiple CPUs, so a threaded process can theoretically

Re: TOP shows above 100% WCPU usage

2006-08-15 Thread Dan Nelson
> threaded? You have multiple CPUs, so a threaded process can theoretically reach 100*ncpus cpu usage. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-sta

Re: gmake: virtual memory exhausted

2006-07-08 Thread Dan Nelson
gestion of a tuning parameter to work around this is > greatly appreciated. Does the port compile? -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stab

Re: FreeBSD 6.1 Tor issues (Once More, with Feeling)

2006-07-02 Thread Dan Nelson
ed to send ~~^B to pass the right characters to FreeBSD. Or change ssh's escape character with the -e flag. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: em device hangs on ifconfig alias ...

2006-06-28 Thread Dan Nelson
tch not to autodetect fancy features on that port, it may very well take 45 seconds for it to come up. See: http://www.cisco.com/warp/public/473/12.html Using PortFast and Other Commands to Fix Workstation Startup Connectivity Delays -- Dan Nelson

Re: FreeBSD 6-STABLE freezing up ...

2006-06-22 Thread Dan Nelson
un part is figuring out what > is killing the drives ;( Hit "m" in top to switch to I/O mode, and enter "ototal" to sort by I/O instead of CPU. As long as whatever's doing the I/O lasts longer than top's refresh interval i

Re: maxproc limit exceeded by uid 0

2006-06-22 Thread Dan Nelson
In the last episode (Jun 22), Johan Strm said: > On 22 jun 2006, at 17.42, Dan Nelson wrote: > > If it ever happens again, you can drop to the debugger with > > Ctrl-Alt-ESC and run "ps" to get a list of running processes. You > > might even be able to recover by k

Re: Poor swapping performance -- lot's of unused free memory.

2006-06-22 Thread Dan Nelson
tl which can tune > this ? (I've searched for such, but found nothing). Putting swap on a different disk from the rest of the OS should help. It's probably jumping between the swap partition and your filesystem, alternately paging in private data from swap a

Re: maxproc limit exceeded by uid 0

2006-06-22 Thread Dan Nelson
ing processes. You might even be able to recover by killing some offending processes with "kill 9 ", then continue with "c". -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: 6.1: kern.ipc.maxpipekva

2006-06-17 Thread Dan Nelson
In the last episode (Jun 17), Marc G. Fournier said: > On Sat, 17 Jun 2006, Dan Nelson wrote: > >In the last episode (Jun 17), Marc G. Fournier said: > >>On Sat, 17 Jun 2006, Marc G. Fournier wrote: > >>>Jun 17 16:00:03 pluto kernel: kern.ipc.maxpipekva exceeded; see

Re: 6.1: kern.ipc.maxpipekva

2006-06-17 Thread Dan Nelson
obviously I've been living on the edge ... not sure what to increase it > to, since not sure what it affects, so will wait on responses ... Try also running "sysctl kern.ipc | grep pipe", which will also tell you how many pipes are in use, plus some other counters. The comment a

Re: How can I know which files a proccess is accessing?

2006-06-10 Thread Dan Nelson
es by processes. > > Sadly, ktrace(1) seems to be rather useless in RELENG_6 right now. > Every medium sized app will result in an "out of ktrace objects" > error. I remember that some improvements to ktrace(1) went into > -CURRENT. Time for an MFC? Just raise the

Re: builtin openssl and debugging?

2006-05-12 Thread Dan Nelson
ay to do this w/o rebuilding world? /usr/src/crypto is like /usr/src/contrib ; just a repository for 3rd-party sources. You'll want to go to /usr/src/secure to build the openssl libs and binaries. > Using the port isn't an option since I need to test against the > version in the

Re: Switching virtual consoles from within X

2006-05-11 Thread Dan Nelson
d this restriction? Redirect stdin from a vty: vidcontrol -s 1 < /dev/ttyv0 If you're not root you'll either need to specify a vty you are logged in on, or wrap it in a sudo call. -- Dan Nelson [EMAIL PROTECTED] ___ freeb

Re: truss problems

2006-04-11 Thread Dan Nelson
IOCWAIT) and opening /proc/*/mem will fail. Try the attached patch (for 5.*, but should apply to newer versions). -- Dan Nelson [EMAIL PROTECTED] Index: setup.c === RCS file: /home/ncvs/src/usr.bin/truss/setup.c,v retri

Re: high interrupt load under 6.0?

2006-02-18 Thread Dan Nelson
203894894 1000 > > a clock rate of 1000 Hz is probably to high for a 486 class cpu. You > should add "options HZ=100" to your kernel config to get back to the > 100 Hz that where default before 6.0 Or add kern.hz="100" to your /boot/loader.conf if y

Re: Strange process

2006-02-15 Thread Dan Nelson
In the last episode (Feb 15), Kris Kennaway said: > On Wed, Feb 15, 2006 at 04:34:32PM -0600, Dan Nelson wrote: > > In the last episode (Feb 15), Kris Kennaway said: > > > I often see this too. For example: > > > > > > PID USERNAMETHR PRI NICE SIZE

Re: Strange process

2006-02-15 Thread Dan Nelson
In the last episode (Feb 15), Kris Kennaway said: > On Wed, Feb 15, 2006 at 01:42:04PM -0600, Dan Nelson wrote: > > In the last episode (Feb 15), Ivan Kolosovskiy said: > > > top: > > > PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND > &g

Re: Strange process

2006-02-15 Thread Dan Nelson
ps: > > host$ ps -waux | grep grotty > findfile 38410 0,0 0,0 0 0 p6 REJ 19:57 0:00,25 [grotty] E in the STAT column means the process is trying to exit, but can't. What does "ps lp 38410" print? The MWCHAN column should say where in the kernel the process

Re: tr(1) buggy with de_DE.ISO8859-1(5) locale?

2006-02-03 Thread Dan Nelson
In the last episode (Feb 03), Martin said: > Dan Nelson wrote: > >See the "tr" manpage, especially the EXAMPLES and COMPATIBILITY > >sections. > > From tr(1) COMPATIBILITY: > > "Since tr now obeys the locale's collation order, this idiom may not &g

Re: tr(1) buggy with de_DE.ISO8859-1(5) locale?

2006-02-03 Thread Dan Nelson
Shouldn't it be "V"? See the "tr" manpage, especially the EXAMPLES and COMPATIBILITY sections. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Using [Open]LDAP for authentication

2006-01-20 Thread Dan Nelson
in your /usr/local/etc/nss_ldap.conf file. That should tell it not to retry after a failed connect, but just to fail. To avoid any failures at all, you should set up multiple replicated ldap servers there's always a server to connect to. -- Dan Nelson [EMAIL PROTECTED] _

  1   2   >