Re: Mem leak : malloc/free + pthreads = leakage?

2011-03-06 Thread Eric Anderson
On Mar 6, 2011, at 11:35 AM, Ryan Stone wrote: On Sun, Mar 6, 2011 at 10:34 AM, Ryan Stone ryst...@gmail.com wrote: I would try playing with MALLOC_OPTIONS. I seriously doubt that there is an actual leak in jemalloc, but from my own experiences with it I suspect that there are certain

Re: Mem leak : malloc/free + pthreads = leakage?

2011-03-06 Thread Eric Anderson
On Mar 6, 2011, at 6:09 AM, Vlad Galu wrote: On Sun, Mar 6, 2011 at 2:06 PM, Vlad Galu d...@dudu.ro wrote: On Sun, Mar 6, 2011 at 6:53 AM, Eric Anderson ander...@ttel.com wrote: On Mar 5, 2011, at 10:44 AM, Deomid Ryabkov wrote: On 03/05/2011 04:02 AM, Eric Anderson wrote: Hi all

Re: Mem leak : malloc/free + pthreads = leakage?

2011-03-05 Thread Eric Anderson
On Mar 5, 2011, at 6:23 AM, Eygene Ryabinkin wrote: Fri, Mar 04, 2011 at 10:02:45PM -0600, Eric Anderson wrote: I have a moderately threaded userland program (all C) I am working on (using pthreads, freebsd 8.1 64bit). It seems to leak memory (using standard malloc/free) badly. I am using

Re: Mem leak : malloc/free + pthreads = leakage?

2011-03-05 Thread Eric Anderson
On Mar 5, 2011, at 10:44 AM, Deomid Ryabkov wrote: On 03/05/2011 04:02 AM, Eric Anderson wrote: Hi all, I have a moderately threaded userland program (all C) I am working on (using pthreads, freebsd 8.1 64bit). It seems to leak memory (using standard malloc/free) badly. as opposed

Mem leak : malloc/free + pthreads = leakage?

2011-03-04 Thread Eric Anderson
Hi all, I have a moderately threaded userland program (all C) I am working on (using pthreads, freebsd 8.1 64bit). It seems to leak memory (using standard malloc/free) badly. I am using pcap to capture packets and process them. I have a handful of libs statically linked in (pcap is one, the

Re: impossible packet length ...

2009-02-08 Thread Eric Anderson
On Feb 8, 2009, at 3:31 AM, Danny Braniss wrote: --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-Feb-08 10:45:13 +0200, Danny Braniss da...@cs.huji.ac.il wrote: Feb 6 18:00:13

Re: nfs v2/v3 and diskless boot problem

2008-01-03 Thread Eric Anderson
Danny Braniss wrote: Danny Braniss wrote: Danny Braniss wrote: there is an undocumented option: boot-nfsroot-options that the diskeless boot can use. I tried boot-nfsroot-options = nfsv3 since the pxeboot does the initial mount via nfsv2, and this has at least one problem: removing

Re: nfs v2/v3 and diskless boot problem

2008-01-03 Thread Eric Anderson
Danny Braniss wrote: Danny Braniss wrote: Danny Braniss wrote: Danny Braniss wrote: there is an undocumented option: boot-nfsroot-options that the diskeless boot can use. I tried boot-nfsroot-options = nfsv3 since the pxeboot does the initial mount via nfsv2, and this has at least

Re: mksnap_ffs time

2008-01-03 Thread Eric Anderson
On 01/03/08 17:46, Daan Vreeken [PA4DAN] wrote: On Friday 04 January 2008 00:30:20 you wrote: Hi! 1) Is anyone else seeing this? As far as I know, this is somehow related to the SoftUpdates, but I am not 100% sure. Look at the mailinglist archives, there was a discussion a few months ago

Re: nfs v2/v3 and diskless boot problem

2008-01-02 Thread Eric Anderson
Danny Braniss wrote: there is an undocumented option: boot-nfsroot-options that the diskeless boot can use. I tried boot-nfsroot-options = nfsv3 since the pxeboot does the initial mount via nfsv2, and this has at least one problem: removing a file from the readonly / will hang the

Re: nfs v2/v3 and diskless boot problem

2008-01-02 Thread Eric Anderson
Danny Braniss wrote: Danny Braniss wrote: there is an undocumented option: boot-nfsroot-options that the diskeless boot can use. I tried boot-nfsroot-options = nfsv3 since the pxeboot does the initial mount via nfsv2, and this has at least one problem: removing a file from the

Re: questions on development(7)

2007-11-09 Thread Eric Anderson
On Nov 8, 2007, at 11:36 PM, Aryeh M. Friedman wrote: 2. If yes to #1 how do I setup keeping everything except my modified code in sync (and if possible to retro activally apply patchs from the local branch unto the main source tree [/usr/src2]) You won't be able to commit to the BSD

Re: Interrupt/speed problems with 6.2 NFS server

2007-10-17 Thread Eric Anderson
Doug Clements wrote: Hi, I have an new NFS server that is processing roughly 15mbit of NFS traffic that we recently upgraded from an older 4.10 box. It has a 3-ware raid card, and is serving NFS out a single em nic to LAN clients. The machine works great just serving NFS, but when I try to

Re: Filesystem snapshots dog slow

2007-10-17 Thread Eric Anderson
Kostik Belousov wrote: On Wed, Oct 17, 2007 at 08:00:03PM +1000, Peter Jeremy wrote: On 2007-Oct-16 06:54:11 -0500, Eric Anderson [EMAIL PROTECTED] wrote: will give you a good understanding of what the issue is. Essentially, your disk is hammered making copies of all the cylinder groups

Re: Filesystem snapshots dog slow

2007-10-16 Thread Eric Anderson
Jeremy Chadwick wrote: Since the snapshot code (e.g. mksnap_ffs(8) and friends) was introduced, dump(8) was modified to nag you if you didn't use the -L argument. Um, okay, I'd better use -L is what came out of my mouth, and I'm sure a lot of other administrators' when they saw this message.

Re: SCSI and SAN

2007-10-05 Thread Eric Anderson
Sharad Chandra wrote: On Thursday 04 October 2007 6:51 pm, Eric Anderson wrote: Sharad Chandra wrote: Hello, How to distinguish if /dev/da* devices are internal scsi drivers or LUNs of external SAN? camcontrol devlist -v Might help you.. Eric Yes, right by analyzing camcontrol

Re: SCSI and SAN

2007-10-05 Thread Eric Anderson
Sharad Chandra wrote: On Friday 05 October 2007 5:25 pm, Eric Anderson wrote: Sharad Chandra wrote: On Thursday 04 October 2007 6:51 pm, Eric Anderson wrote: Sharad Chandra wrote: Hello, How to distinguish if /dev/da* devices are internal scsi drivers or LUNs of external SAN

Re: SCSI and SAN

2007-10-05 Thread Eric Anderson
Sharad Chandra wrote: That's very right, but it needs a manual setup. Whereas I need to work on storage disks attached to system, to accomplish that i have to write a script and know in itself whether it is attached to SAN or not. I know mainly there are sysctl kern.disks storage attached to

Re: SCSI and SAN

2007-10-04 Thread Eric Anderson
Sharad Chandra wrote: Hello, How to distinguish if /dev/da* devices are internal scsi drivers or LUNs of external SAN? camcontrol devlist -v Might help you.. Eric ___ freebsd-hackers@freebsd.org mailing list

Modifying bridged traffic

2007-08-15 Thread Eric Anderson
What is the easiest way to play with modifying data in-transit within an ethernet bridge? For instance, say I have something like this: [BOX 1] [ BOX 2 ] [ BOX 3 ] And BOX 2 is a FreeBSD box with bridging enabled between two ethernet interfaces, how can I parse/modify the ethernet

Re: How to stop attached USB device / send IRP_MN_REMOVE_DEVICE?

2007-08-14 Thread Eric Anderson
Sven Hazejager wrote: So, the question really is: how to send a IRP_MN_REMOVE_DEVICE command? `camcontrol da? stop` seemed to do the trick before (5.2.1-R, AFAIR), but now I'm not sure (looks like it doesn't) sorry, I meant to say that `camcontrol da? stop` does not power down the device

Re: permission denied to properly chmod'd files

2007-07-17 Thread Eric Anderson
On 07/17/07 20:04, Rogelio Bastardo wrote: Today while trying to create a Cacti graph (something I've been able to do with no problems on this box before), I got a permission denied error on the .rrd file that I was trying to access. I shelled into a FreeBSD box, only to find that the

Re: Tar output mode for installworld

2007-07-15 Thread Eric Anderson
On 07/15/07 16:20, Tim Kientzle wrote: Ulrich Spoerlein wrote: On Sat, 14.07.2007 at 23:28:05 -0700, Tim Kientzle wrote: #%ntree bin/echo uid=0 gid=0 group=wheel contents=my/bin/echo ... create a tarball with tar -czf system.tgz @specification.ntree or install directly from the

Re: Accounting test data

2007-05-16 Thread Eric Anderson
On 05/16/07 02:35, Diomidis Spinellis wrote: I'm testing the backwards compatibility of the process accounting processing tools (sa(8) and lastcomm(1)) with the upcoming new acct(5) record format. If you have root access on a FreeBSD AMD64, Sparc64, ia64, or PowerPC machine please run the

Re: Accounting test data

2007-05-16 Thread Eric Anderson
On 05/16/07 08:49, Larry Rosenman wrote: On Wed, 16 May 2007, Diomidis Spinellis wrote: I'm testing the backwards compatibility of the process accounting processing tools (sa(8) and lastcomm(1)) with the upcoming new acct(5) record format. If you have root access on a FreeBSD AMD64, Sparc64,

Re: System Drops to manual mount root prompt after HDD duplication

2007-05-14 Thread Eric Anderson
On 05/13/07 22:33, David Cramblett wrote: My FreeBSD 5.2.1 server had a 4.5 GB HDD. I decided to upgrade it with a larger drive. I installed a new drive on the second IDE channel which made it ad2, of course, my original drive was ad0. I created a partition, boot loader and matching slices

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-11 Thread Eric Anderson
On 05/11/07 19:48, Jona Joachim wrote: Ivan Voras a écrit : David Naylor wrote: Dear Jordan Recently I stumbled across a document you wrote in 2001, entitled FreeBSD installation and package tools, past, present and future. I find FreeBSD appealing and I would like to contribute it its

Re: MIME-ifying sysctl types

2007-05-07 Thread Eric Anderson
On 05/07/07 11:39, Ivan Voras wrote: In the output of sysctl -oa I see values like: kern.proc.all: Format:S,proc Length:75264 Dump:0x00032011fac380d4fec3... kern.proc.proc_td: Format:N Length:75264 Dump:0x00032011fac380d4fec3... kern.file: Format:S,xfile Length:18616

Re: strange bit-shifting

2007-04-03 Thread Eric Anderson
On 04/03/07 12:22, Andriy Gapon wrote: $ cat test_shl.c #include stdint.h #include stdio.h int main() { uint64_t l; l = 0; l--; printf(%.16lX\n, l); l = 64; printf(%.16lX\n, l); return 0; } $ cc test_shl.c -o test_shl test_shl.c: In

Re: Dual Logic with Qlogic card

2007-03-26 Thread Eric Anderson
On 03/26/07 15:06, Josef Grosch wrote: I have a Qlogic HBA card (QLA2342) in a machine running FreeBSD 6.2. FreeBSD sees the card and when the HBA is attached to a SAN we are able to see the disk space. The thing we can't seem to get working is a dual path to the same space. Can anyone point me

Re: FreeBSD at SXSW

2007-03-14 Thread Eric Anderson
On 03/10/07 02:07, R. Tyler Ballance wrote: I just thought that I'd throw this out there, I've run into some folks running FreeBSD on various systems here at SXSW in Austin, and would certainly like to coordinate a meetup with any users or hackers as there's some folks here touting

Re: sysinstall creates corrupt filesystems after repartitioning

2007-03-02 Thread Eric Anderson
On 03/01/07 17:42, Steven Hartland wrote: I've been repartitioning some of our machines here and found that using the following method sysinstall creates corrupt filesystems. 1. Boot a machine using an nfs mounted /usr 2. Run: sysctl kern.geom.debugflags=16 to enable writing to the disk mbr 3.

Re: sysinstall creates corrupt filesystems after repartitioning

2007-03-02 Thread Eric Anderson
On 03/02/07 07:46, Steven Hartland wrote: Eric Anderson wrote: I don't know about the fs corruption, but the double mounts is something you asked it to do (maybe unknowingly). When you added that partition, one of the options is to mount it. Clearly an easy work around in that case

Re: sysinstall creates corrupt filesystems after repartitioning

2007-03-02 Thread Eric Anderson
On 03/02/07 08:37, Steven Hartland wrote: Eric Anderson wrote: On 03/02/07 07:46, Steven Hartland wrote: Mounting an NFS share on top of a skimmed down /usr is very common, and very desirable. You may mount /usr from a small read-only partition (vnode file, etc) and then mount a different

Re: sysinstall creates corrupt filesystems after repartitioning

2007-03-02 Thread Eric Anderson
On 03/02/07 08:44, Jeremy Chadwick wrote: On Fri, Mar 02, 2007 at 08:11:52AM -0600, Eric Anderson wrote: Mounting an NFS share on top of a skimmed down /usr is very common, and very desirable. You may mount /usr from a small read-only partition (vnode file, etc) and then mount a different

Re: sysinstall creates corrupt filesystems after repartitioning

2007-03-02 Thread Eric Anderson
On 03/02/07 09:37, Steven Hartland wrote: Jeremy Chadwick wrote: On Fri, Mar 02, 2007 at 08:11:52AM -0600, Eric Anderson wrote: Mounting an NFS share on top of a skimmed down /usr is very common, and very desirable. You may mount /usr from a small read-only partition (vnode file, etc

Re: Mount on non-empty directories (Was: sysinstall creates corruptfilesystems after repartitioning)

2007-03-02 Thread Eric Anderson
On 03/02/07 09:56, Steven Hartland wrote: Mike Meyer wrote: In [EMAIL PROTECTED], Steven Hartland This is just a special case of mounting on a non-empty directory. It should work right. The last mounted file system is the one you get (unless you're using a file system that's designed to behave

Re: Are there any known issues for installing FreeBSD on Vmware onwindows XP ?

2007-03-02 Thread Eric Anderson
On 03/02/07 12:22, Greg Larkin wrote: Hey all, Are there any known issues for installing FreeBSD on Vmware on windows XP ? I have never tried installiing FreeBSD earlier and i just saw a mail in this mailing list regarding some problems while installing on vmware. Could not make out much.

Re: Instruction fault panic while installing 6.2 on VMware Server

2007-03-01 Thread Eric Anderson
On 02/24/07 05:44, ghozzy wrote: Hi, On 2/23/07, Greg Larkin [EMAIL PROTECTED] wrote: Hi everyone, I'm creating a standard FreeBSD 6.2 ISO image that I can use to perform unattended installations into VMware Server virtual machines. I'm using VMServer 1.0.1, and I've hit a roadblock when

Re: beefy system exhausted by MRTG port install (Cannot allocate memory)

2007-02-21 Thread Eric Anderson
On 02/20/07 11:44, Arone Silimantia wrote: --- Eric Anderson [EMAIL PROTECTED] wrote: after this attempt, swapinfo still shows zero swap in use. What does this mean ? Is my system now in an unstable state ? Should I reboot ? Did you try reducing your maxdsiz to something a few hundred

Re: beefy system exhausted by MRTG port install (Cannot allocate memory)

2007-02-20 Thread Eric Anderson
On 02/19/07 22:20, Arone Silimantia wrote: New, modern, p4-xeon based system. 4 GB physical RAM: # dmesg|grep emory real memory = 3489071104 (3327 MB) avail memory = 3418656768 (3260 MB) 4 GB swap: # swapinfo Device 1K-blocks UsedAvail Capacity /dev/da0s1b 4194304

Re: FreeBSD 5.5 persistent crashing

2007-02-15 Thread Eric Anderson
On 02/14/07 10:09, Geoff Garside wrote: Hi, I’m trying to get to the bottom of some issues we have been experiencing with a server of ours. We have so far tried replacing the memory in the server and we are still experiencing the crashes. If anyone has any ideas as to what could be causing

Re: /etc/group limits (REAL limits)

2007-02-07 Thread Eric Anderson
On 02/07/07 07:44, Kostik Belousov wrote: On Wed, Feb 07, 2007 at 12:17:51PM +0300, Maxim Konovalov wrote: On Tue, 6 Feb 2007, 22:56-0600, Eric Anderson wrote: On one of my boxes where I have a decent amount of (less than 50) users in a few groups, I finally hit the limit. Not 1024 bytes

Re: nullfs and named pipes.

2007-02-06 Thread Eric Anderson
On 02/03/07 20:37, Josef Karthauser wrote: Hey guys, does anyone know off the top of their heads why named pipes don't appear to work across null_fs mounted partitions? i.e. if I have a named pipe in a file system, # ls -ld /mysql/mysql.sock srwxrwxrwx 1 mysql wheel 0 Feb 3 19:01

/etc/group limits (REAL limits)

2007-02-06 Thread Eric Anderson
from about mid-September. I have also seen some issues on amd64, which I went through some debugging with Konstantin Belousov back in November (cc'ed). Thanks! Eric -- Eric AndersonSr. Systems Administrator

Re: Where to start?

2007-01-20 Thread Eric Anderson
off softupdates and adding the journal on another device should work. Eric -- Eric AndersonSr. Systems AdministratorCentaur Technology An undefined problem has an infinite number of solutions

Re: Where to start?

2007-01-20 Thread Eric Anderson
On 01/20/07 12:37, LI Xin wrote: Eric Anderson wrote: On 01/20/07 02:48, Mike Silbersack wrote: On Fri, 19 Jan 2007, Soeren Straarup wrote: Hi I'm looking for a project. Something that would actually be used. Preferely something with kernel and geom. I have looked over the project page

Re: Where to start?

2007-01-19 Thread Eric Anderson
there with ideas. Eric -- Eric AndersonSr. Systems AdministratorCentaur Technology An undefined problem has an infinite number of solutions

Re: NFS attr cache performance

2006-10-30 Thread Eric Anderson
-- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't

Re: Yeah, but what does it mean? [Was: Re: File trees: the deeper, the weirder]

2006-10-29 Thread Eric Anderson
for something along the lines of VNode Least Recently Used. Yep, that's what it means. vn* is commonly used in the kernel for vnodes, and an 'lru' is commonly known for a 'least recently used' sort of list. Eric -- Eric

Re: 6-STABLE filesystem related panics/locks (kgdb output)

2006-09-18 Thread Eric Anderson
On 09/18/06 10:02, Eric Anderson wrote: Hi all, On one of our NFS servers, we've seen repeated filesystem issues with two of the filesystems (it has 4 exported via NFS). It usually manifests itself by a hung 'df -lk' (wedged in 'ufs'), and mountd becomes wedged also, not allowing new mounts

Re: Hard disk going-bad detection

2006-08-28 Thread Eric Anderson
. Eric -- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-27 Thread Eric Anderson
On 08/27/06 00:53, Pawel Jakub Dawidek wrote: On Sat, Aug 26, 2006 at 08:19:40PM -0500, Eric Anderson wrote: On 08/26/06 07:44, Pawel Jakub Dawidek wrote: On Sat, Aug 26, 2006 at 07:23:36AM -0500, Eric Anderson wrote: Hmm - had another panic. Again, screen shots are here: http

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-26 Thread Eric Anderson
On 08/24/06 23:13, Eric Anderson wrote: On 08/24/06 05:54, Pawel Jakub Dawidek wrote: On Tue, Aug 22, 2006 at 03:38:15PM -0500, Eric Anderson wrote: Did you get a chance to look at those screenshots? I'm curious to know if you also think it is gjournal related. I've stopped loading gjournal

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-26 Thread Eric Anderson
On 08/26/06 07:44, Pawel Jakub Dawidek wrote: On Sat, Aug 26, 2006 at 07:23:36AM -0500, Eric Anderson wrote: Hmm - had another panic. Again, screen shots are here: http://www.googlebit.com/freebsd/snapshots/gjournal_panic2/ I can't find panic message. What was it? It was a deadlock

Re: [PATCH] adding two new options to 'cp'

2006-08-25 Thread Eric Anderson
-- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't. ___ freebsd-hackers@freebsd.org

fsync: giving up on dirty

2006-08-25 Thread Eric Anderson
: dev label/vol11-data.journal Aug 25 13:47:07 snapshot1 kernel: GEOM_JOURNAL: Cannot suspend file system /vol11 (error=35). Eric -- Eric AndersonSr. Systems AdministratorCentaur Technology Anything

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-24 Thread Eric Anderson
On 08/24/06 05:54, Pawel Jakub Dawidek wrote: On Tue, Aug 22, 2006 at 03:38:15PM -0500, Eric Anderson wrote: Did you get a chance to look at those screenshots? I'm curious to know if you also think it is gjournal related. I've stopped loading gjournal, and I've had no other related deadlocks

Re: [PATCH] adding two new options to 'cp'

2006-08-24 Thread Eric Anderson
On 08/20/06 04:21, Mike Silbersack wrote: On Wed, 26 Jul 2006, Eric Anderson wrote: I'm tired of trying to use rsync or gcp (which doesn't like symlinks often) to copy trees of files/directories using hard links, so I added the gcp-ish options -a and -l. ... Comments? Flames? Committers

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-24 Thread Eric Anderson
On 08/24/06 05:54, Pawel Jakub Dawidek wrote: On Tue, Aug 22, 2006 at 03:38:15PM -0500, Eric Anderson wrote: Did you get a chance to look at those screenshots? I'm curious to know if you also think it is gjournal related. I've stopped loading gjournal, and I've had no other related deadlocks

missing license?

2006-08-23 Thread Eric Anderson
Is this file supposed to have a license at the top? sys/fs/udf/osta.h Eric -- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't

devfs related panic info

2006-08-22 Thread Eric Anderson
sitting around now though. Anything else I can provide? Eric -- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-22 Thread Eric Anderson
On 08/17/06 10:06, Eric Anderson wrote: On 08/17/06 10:04, Kostik Belousov wrote: On Thu, Aug 17, 2006 at 09:53:28AM -0500, Eric Anderson wrote: On 08/17/06 07:30, Eric Anderson wrote: On 08/17/06 07:25, Kostik Belousov wrote: On Thu, Aug 17, 2006 at 07:08:31AM -0500, Eric Anderson wrote

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-22 Thread Eric Anderson
On 08/22/06 15:47, Pawel Jakub Dawidek wrote: On Tue, Aug 22, 2006 at 03:38:15PM -0500, Eric Anderson wrote: Did you get a chance to look at those screenshots? I'm curious to know if you also think it is gjournal related. I've stopped loading gjournal, and I've had no other related deadlocks

6-STABLE snapshot (background fsck) lock-up

2006-08-17 Thread Eric Anderson
-- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't. ___ freebsd-hackers@freebsd.org

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-17 Thread Eric Anderson
On 08/17/06 07:25, Kostik Belousov wrote: On Thu, Aug 17, 2006 at 07:08:31AM -0500, Eric Anderson wrote: I've seen this several times now, but this time I got a dump. Basically, the system comes up after unclean shutdown, throws a bunch of filesystems into the background fsck list, and begins

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-17 Thread Eric Anderson
On 08/17/06 07:30, Eric Anderson wrote: On 08/17/06 07:25, Kostik Belousov wrote: On Thu, Aug 17, 2006 at 07:08:31AM -0500, Eric Anderson wrote: I've seen this several times now, but this time I got a dump. Basically, the system comes up after unclean shutdown, throws a bunch of filesystems

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-17 Thread Eric Anderson
On 08/17/06 10:04, Kostik Belousov wrote: On Thu, Aug 17, 2006 at 09:53:28AM -0500, Eric Anderson wrote: On 08/17/06 07:30, Eric Anderson wrote: On 08/17/06 07:25, Kostik Belousov wrote: On Thu, Aug 17, 2006 at 07:08:31AM -0500, Eric Anderson wrote: I've seen this several times now

Re: struct dirent question

2006-08-16 Thread Eric Anderson
On 08/16/06 00:49, Tobias Roth wrote: On Tue, Aug 15, 2006 at 10:26:13PM -0500, Eric Anderson wrote: Does the ifdef in the struct dirent (pasted in below) make any sense? Seems like regardless of whether the __BSD_VISIBLE is defined or not, the d_name length will always be 255 + 1. Eric

Re: struct dirent question

2006-08-16 Thread Eric Anderson
On 08/16/06 13:45, Garance A Drosihn wrote: At 11:31 AM -0500 8/16/06, Eric Anderson wrote: My point was, that either path you take (if BSD_VISIBLE is defined or not), you end up with d_name having a size of 255 + 1, so what's the point the having it at all? To make it clear that d_name

struct dirent question

2006-08-15 Thread Eric Anderson
than this */ #else chard_name[255 + 1];/* name must be no longer than this */ #endif }; -- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than

Re: NFS Problems

2006-08-08 Thread Eric Anderson
-- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't. ___ freebsd-hackers@freebsd.org mailing list

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Eric Anderson
think about adding this option? Steve Some people on this list might argue that you could do this another way, something like piping a tar extract to another tar create that excludes that file. Eric -- Eric Anderson

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Eric Anderson
On 08/08/06 13:49, Steven Hartland wrote: - Original Message - From: Eric Anderson [EMAIL PROTECTED] Some people on this list might argue that you could do this another way, something like piping a tar extract to another tar create that excludes that file. Sure that can be done

ollecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2006-08-07 Thread Eric Anderson
really tweaking. Any hints or guidelines? Eric -- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't

Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2006-08-07 Thread Eric Anderson
On 08/07/06 12:50, Eric Anderson wrote: I saw these two warnings come up soon after rebooting a server (running 5-STABLE): kernel: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC kernel: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC I see there is a tunable

Re: ollecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2006-08-07 Thread Eric Anderson
On 08/07/06 14:49, Thomas Hurst wrote: * Eric Anderson ([EMAIL PROTECTED]) wrote: I saw these two warnings come up soon after rebooting a server (running 5-STABLE): kernel: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC kernel: collecting pv entries -- suggest increasing

Re: [PATCH] adding two new options to 'cp' (UPDATE)

2006-08-01 Thread Eric Anderson
On 07/26/06 21:51, Eric Anderson wrote: I'm tired of trying to use rsync or gcp (which doesn't like symlinks often) to copy trees of files/directories using hard links, so I added the gcp-ish options -a and -l. -a is 'archive' mode, which is just a quick form of -PpR. -l is 'link' mode, where

Re: [PATCH] adding two new options to 'cp'

2006-08-01 Thread Eric Anderson
of zeros? It would turn them in to sparse files when they shouldn't be, correct? Is that what happens with other tools? Eric -- Eric AndersonSr. Systems AdministratorCentaur Technology Anything

Re: [PATCH] adding two new options to 'cp'

2006-08-01 Thread Eric Anderson
On 08/01/06 12:40, Rick C. Petty wrote: On Tue, Aug 01, 2006 at 12:27:54PM -0500, Eric Anderson wrote: Wouldn't this be incorrect for files that are really full of zeros? It would turn them in to sparse files when they shouldn't be, correct? Is that what happens with other tools? Why

Re: [PATCH] adding two new options to 'cp'

2006-07-31 Thread Eric Anderson
On 07/27/06 12:44, Doug Barton wrote: Oliver Fromme wrote: Eric Anderson [EMAIL PROTECTED] wrote: I'm tired of trying to use rsync or gcp (which doesn't like symlinks often) to copy trees of files/directories using hard links, so I added the gcp-ish options -a and -l

Re: [PATCH] adding two new options to 'cp'

2006-07-31 Thread Eric Anderson
On 07/31/06 09:11, Mike Meyer wrote: In [EMAIL PROTECTED], Eric Anderson [EMAIL PROTECTED] typed: The patch doesn't change any current behavior, nor should it be noticed by anyone not looking for it. However, it is useful, and it does make our cp work just like the GNU cp, which eases

Re: [PATCH] adding two new options to 'cp'

2006-07-31 Thread Eric Anderson
-- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't. ___ freebsd-hackers

Re: [PATCH] adding two new options to 'cp'

2006-07-31 Thread Eric Anderson
On 07/31/06 10:23, Mike Meyer wrote: In [EMAIL PROTECTED], Eric Anderson [EMAIL PROTECTED] typed: On 07/31/06 09:11, Mike Meyer wrote: In [EMAIL PROTECTED], Eric Anderson [EMAIL PROTECTED] typed: The patch doesn't change any current behavior, nor should it be noticed by anyone not looking

Re: [PATCH] adding two new options to 'cp'

2006-07-31 Thread Eric Anderson
On 07/31/06 13:44, Rick C. Petty wrote: On Mon, Jul 31, 2006 at 12:42:02PM -0500, Eric Anderson wrote: On 07/31/06 12:28, Rick C. Petty wrote: In both cases, why don't you just use: /usr/compat/linux/bin/cp Two reasons - it's not in the base system, so a port has to be installed

Re: sys/dev/em/if_em.c

2006-07-26 Thread Eric Anderson
); + while (adapter-num_tx_desc_avail = EM_TX_CLEANUP_THRESHOLD); } /* Eric -- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't

[PATCH] adding two new options to 'cp'

2006-07-26 Thread Eric Anderson
/freebsd/patches/cp-patch cd /usr/src/ patch /tmp/cp-patch cd bin/cp make make install Patch was done for rsnapshot users mainly (there are quite a few of us). Comments? Flames? Committers willing to commit? Eric -- Eric

Re: [PATCH] adding two new options to 'cp'

2006-07-26 Thread Eric Anderson
On 07/26/06 21:51, Eric Anderson wrote: The patch attached had some junk in it. The patch on the website doesn't have that. :) Oops.. Eric [..snip..] --- etc/mtree/BSD.include.dist 16 Nov 2005 10:50:10 - 1.100.2.2 +++ etc/mtree/BSD.include.dist 26 Jul 2006 03:42:10 -

Re: [PATCH] Fancy rc startup style RFC

2006-07-25 Thread Eric Anderson
On 05/25/06 15:15, Eric Anderson wrote: Coleman Kane wrote: On Wed, May 24, 2006 at 12:29:28PM -0500, Eric Anderson wrote, and it was proclaimed: Eric Anderson wrote: Coleman Kane wrote: On Mon, May 01, 2006 at 12:29:20PM -0700, Brooks Davis wrote: On Mon, May 01, 2006 at 02:16:04PM -0500

Re: ENOMEM @ RELENG_6 graid3

2006-06-27 Thread Eric Anderson
Dmitry Morozovsky wrote: On Mon, 26 Jun 2006, Eric Anderson wrote: EA turning on bootverbose reveals additional info to EA ad10: FAILURE - out of memory in start EA EA under load this machine (5 ata disks, most of their space allocated for 2 EA graid3's) many messages like EA EA

Re: ENOMEM @ RELENG_6 graid3

2006-06-26 Thread Eric Anderson
is clean? Can you try unmounting it, and running an fsck_ffs on it? Also, I think this has been discussed before on freebsd-geom@, did you check the archives? Eric -- Eric AndersonSr. Systems Administrator

Re: A New FreeBSD Server

2006-06-24 Thread Eric Anderson
-- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't

Re: Coding question: finding the size of a block device

2006-06-22 Thread Eric Anderson
, sectorsize); printf(Media size: %jd\n, (intmax_t)mediasize); printf(Media: %jd sectors\n, (intmax_t)mediasize/sectorsize); return(error); } --- -- Eric AndersonSr. Systems

fdisk partition / disklabel recovery (help!)

2006-06-13 Thread Eric Anderson
could provide. Thanks in advance! Eric -- - Eric Anderson[EMAIL PROTECTED]Centaur Technology You have my continuous partial attention

Re: fdisk partition / disklabel recovery (help!)

2006-06-13 Thread Eric Anderson
Alexander Leidinger said: Quoting Eric Anderson [EMAIL PROTECTED] (Tue, 13 Jun 2006 12:33:14 -0500 (CDT)): From the subject, you probably already know my dilemma. After booting a linux livecd (I'll refrain from naming the distro), my laptop no longer has any partitions. Now, the drive

Re: Snapshot's causing access problems

2006-06-05 Thread Eric Anderson
-- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't. ___ freebsd-hackers@freebsd.org

Re: Is anyone working on a port of ZFS to FreeBSD

2006-06-01 Thread Eric Anderson
Iantcho Vassilev wrote: On 6/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: --- Eric Anderson [EMAIL PROTECTED] ha scritto: I realize how hard getting write support for one of those is, for certain.You'd still have to go through the labor with ZFS though, unless you are talking

Re: Is anyone working on a port of ZFS to FreeBSD

2006-05-31 Thread Eric Anderson
-- Eric AndersonSr. Systems AdministratorCentaur Technology Anything that works is better than anything that doesn't. ___ freebsd

Re: Is anyone working on a port of ZFS to FreeBSD

2006-05-31 Thread Eric Anderson
[EMAIL PROTECTED] wrote: --- Eric Anderson [EMAIL PROTECTED] ha scritto: ... ZFS surely is cool, but I'm not sure how much it benefits FreeBSD compared to something like journaling, or adding features to our existing filesystem, or even write support for one of the already ported read

truncate tool - must be root?

2006-05-30 Thread Eric Anderson
Is it expected that truncate(8) must be used by a superuser? If so, then the man page should probably mention it. If not, then it's broken :) Eric -- Eric AndersonSr. Systems AdministratorCentaur

  1   2   3   >