Re: What is a sane setting for maxdsize when running amd64? it seems many normal suggestions do not apply.

2007-08-23 Thread N. Harrington
--- JoaoBR [EMAIL PROTECTED] wrote:
 On Tuesday 21 August 2007 20:54:36 N. Harrington wrote:
  Hello
   I feel stupid, but I am confused about kern.maxdsiz (or datasize via
  limits command) on FreeBSD amd64.
 
 
   I have seen many posts and suggestions to raise it to 1G. However it seems
  this only applies to i386. By default, on servers I have with 4G of
  physical memory, and 2X that of swap, I am showing a reported datasize
  limit of 33554432KB. far in excess of even my physical and swap combined! I
  have seen suggestions from mysql for maxdsize to be set to 1G. Obviously no
  such problem with amd64?
 
 on amd64 when maxdsiz not set it stops at 512 limit but soon you set it to 1G 
  
 it appearently is able to use more  this is not the case on i386 - but I 
 would say don't worry about it
 
 on i386 your machine could hang at boot when setting maxdsiz higher than 
 installed physical memory but that never happened to me with amd64
 
 I have some server running squid for caching perfect with 4, 8 and 16G of RAM 
 
 I set maxdsiz do 3G on machines with 4Gigs of RAM but I do not run anything 
 else so then I adjust cache_mem with maximum_object_size_in_memory to use the 
 most possible amount of memory without doing swap. 
 
 anyway you set it in boot.loader there is no need to compile something into 
 the kernel
 
 -- 
 
 João
 Thanks everyone.

  I tried setting my maxd size to 3.5G on a machine with 4gigs ram. It caused 
squid to seem to rop
out on occasion. 
 It seems so odd that on i366, maxd size is so small that one likely needs to 
set it higher to
allow access to more memory. However on amd64, is such a high number that one 
would need to lower
it to prevent accessing too much memory?  Something really odd about that.

 I also found that I could even double the datasize / maxd size to 2X 
33554432kB and it would boot
and run just fine on a machine with 8 gigs of ram. How weird is that! Did amd64 
just cause this
setting to add 3 zero's? I can see the legacy documentation for i386 BSD and 
applications is going
to cause some weirdness and problems if not careful. 



 As for squid, just like Sendmail and Apache, yes there and plenty of I do it 
better and I am
newer, alternatives out. But some things stay old favorites for a reason. I 
will take a look at
Varnish, but it seemed much less user friendly to me that squid and much much 
less feature laden.
Also, I saw no way to purge individual files from storage. (something I have to 
have) So it's
always nicer to know how to make things work with what one has or needs to use, 
rather than just
being told to use something else.

 I have over 30 machines with various configurations of squid in accelerator 
mode and most seem to
work fine. However I will say they do have a preference for running on (1) 
Single core cpu and
SCSI hard drives. On an average server with ~300G of disk, I have over 10M 
objects in storage. As
usual though, I am dealing with a program(squid) that seems to be, Linux first, 
it happens to also
run on FreeBSD second. Even though it seems many people seem to be using it 
with FreeBSD. 

 Squid has also been great for me to test/beatup on gjournal (which should be 
in 6 by now and be
available standard) and zfs.


 Nicole





The Large Print Giveth And The Small Print Taketh Away
 -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What is a sane setting for maxdsize when running amd64? it seems many normal suggestions do not apply.

2007-08-21 Thread N. Harrington

Hello
 I feel stupid, but I am confused about kern.maxdsiz (or datasize via limits 
command) on FreeBSD
amd64.

 I have seen many posts and suggestions to raise it to 1G. However it seems 
this only applies to
i386. By default, on servers I have with 4G of physical memory, and 2X that of 
swap, I am showing
a reported datasize limit of 33554432KB. far in excess of even my physical and 
swap combined!
 I have seen suggestions from mysql for maxdsize to be set to 1G. Obviously no 
such problem with
amd64?
 
 Is this just a high number chosen to let things run wild? (basically 
unlimited) I have been
having some problems with running squid and my servers locking up. I think, 
from the process
exceeding my physical memory and the server getting very unhappy trying use so 
much swap. (since
it seems the process size is so unlimited) 

 Could anyone help shed some light on this for me? If I have a server with 4G 
of memory, what
would be a safe /sane allowable maximum for datasize? (assuming a light 
networking load)

 Thanks!

  Nicole

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


FreeBSD-Current 7.0 reporting SCSI drives at 1/2 that of 6.2

2007-08-13 Thread N. Harrington
 Hello

 I seem to be having a problem similiar to one I found
also reported back in April. 

 I am running/testing FreeBSD-CURRENT 7.0 Dated Fri
Jul 27. amd64

 On boot-up, SCSI disk speed being reported as 1/2
that found when using 6.2. It also seems to be
somewhat  unstable. 

 FreeBSD 7
 da0: SEAGATE ST336753LW HPS2 Fixed Direct Access
 SCSI-3 device
 da0: 160.000MB/s transfers (80.000MHz DT, offset 63,
16 bit)
 da0: Command Queueing Enabled
 
 FreeBSD 6.2
da0: SEAGATE ST336753LW HPS2 Fixed Direct Access
SCSI-3 device
da0: 320.000MB/s transfers (160.000MHz DT, offset
 63, 16 bit), Tagged Queueing Enabled

 However the transfer speeds seem to be about the
same.


 I have tried 2 different TYAN S2881 opteron board
with built in Adaptec SCSI (ahd - AIC7902 Ultra320)

 Why would 7.0 be reporting disks at 1/2 speed?



  Thanks!

   Nicole



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


Re: How to solve mysterious system lockups?

2007-06-07 Thread N. Harrington

--- [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:

 On Mon, 4 Jun 2007 19:46:30 -0700 (PDT)
 N. Harrington [EMAIL PROTECTED] wrote:
 
  
  Hello
I have several systems that are used as squid
  caching servers. I have some systems that use SCSI
  disks and some  that use SATA disks. They are
  identical in everyway except for the sata vs SCSI
  drives. 
  
   At random times, the sata based systems seem to
 be
  freezing. You can ping them and they respond, but
 you
  cannot log in. Nor are any logs processed during
 that
  time. 
  
   I figure it mist be something to do with the
 disks,
  but I am not sure how to solve it. There seems to
 be
  little rhyme or reason. It does not happen
 necessarily
  during busy times. It can happen in the middle of
 the
  night.
  
   Any pointers in how to track down the cause would
 be
  much appreciated.
  
   Tyan S2881 Motherboard - 4gigs mem
   Using 4 SATA (or scsi) drives
   FreeBSD amd64 6.2-STABLE.
 
 Hi Nicole,
 
 I was also having system lockup problems with my
 FreeBSD-6.x servers running Squid with SATA disks. I
 could ping it but could not login using SSH.
 
 However, in my case, it was due to high mbufs usage.
 
 What's your output of the following commands?
 
 netstat -mb 
 sysctl kern.ipc.nmbclusters   
 
 Thanking you...
 
  
   Thanks!
  
Nicole

   Hi
 I have my servers behind a load balancer that also
does TCP acceleration / offloading so my mbufs usage
is pretty low. (it manages about 24 connections tops)
 However I have been noticing a larger and larger use
of swap space. Either because of an increase on our
part in the number of files stored or from upgrading
to the newest squid versions (2.6-STABLE12 and 13)
 (last look showed me having 9 million objects in
storeage for that one server)
 
  So, we could be suffering from the same thing but
from different causes. I plan to be adding more memory
soon (from 4gigs to 6 and 8) as a test. 
 
 Also I have been adding SW_Watchdog to my kernels for
now. It seems very good so far at sensing the death
and rebooting. As well as soon adding some debugging
to it to hopefully capture something useful.


 Be well.

  Nicole

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


Re: How to solve mysterious system lockups?

2007-06-05 Thread N. Harrington

--- Garrett Cooper [EMAIL PROTECTED] wrote:

 N. Harrington wrote:
  --- Garrett Cooper [EMAIL PROTECTED]
 wrote:
 

  N. Harrington wrote:
  
  Hello
I have several systems that are used as squid
  caching servers. I have some systems that use
 SCSI
  disks and some  that use SATA disks. They are
  identical in everyway except for the sata vs
 SCSI
  drives. 
 
   At random times, the sata based systems seem to

  be
  
  freezing. You can ping them and they respond,
 but

  you
  
  cannot log in. Nor are any logs processed during

  that
  
  time. 
 
   I figure it mist be something to do with the

  disks,
  
  but I am not sure how to solve it. There seems
 to

  be
  
  little rhyme or reason. It does not happen

  necessarily
  
  during busy times. It can happen in the middle
 of

  the
  
  night.
 
   Any pointers in how to track down the cause
 would

  be
  
  much appreciated.
 
   Tyan S2881 Motherboard - 4gigs mem
   Using 4 SATA (or scsi) drives
   FreeBSD amd64 6.2-STABLE.
 
   Thanks!
 
Nicole


  Nicole,
  What's the driver in use for the SATA and the
  SCSI drives?
  -Garrett
  
 
   Hi Garret
   Here is the driver info.
 
  -- SATA
 
  atapci0: SiI 3114 SATA150 controller port
 

0xbc00-0xbc07,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa80f
 
  mem
  0xfeafec00-0xfeafefff irq 17 at device 5.0 on pci3
  ata2: ATA channel 0 on atapci0
  ata3: ATA channel 1 on atapci0
  ata4: ATA channel 2 on atapci0
  ata5: ATA channel 3 on atapci0
  pci3: display, VGA at device 6.0 (no driver
  attached)
  isab0: PCI-ISA bridge at device 7.0 on pci0
  isa0: ISA bus on isab0
  atapci1: AMD 8111 UDMA133 controller port
  0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf
 at
  device 7.1 on pci0
  ata0: ATA channel 0 on atapci1
  ata1: ATA channel 1 on atapci1
  pci0: serial bus, SMBus at device 7.2 (no driver
  attached)
  pci0: bridge at device 7.3 (no driver attached)
  pcib2: ACPI PCI-PCI bridge at device 10.0 on
 pci0
  pci2: ACPI PCI bus on pcib2
 
  -- SCSI
 
  ahd0: Adaptec AIC7902 Ultra320 SCSI adapter port
 
  0x8000-0x80ff,0x7800-0x78ff
  mem 0xfc89c000-0xfc89dfff irq 24 at device 10.0 on
  pci2
  ahd0: [GIANT-LOCKED]
  aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X
  67-100Mhz, 512 SCBs
  ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port
 
  0x8800-0x88ff,0x8400-0x84ff
  mem 0xfc89e000-0xfc89 irq 25 at device 10.1 on
  pci2
  ahd1: [GIANT-LOCKED]
  aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X
  67-100Mhz, 512 SCBs
  pci0: base peripheral, interrupt controller at
  device 10.1 (no driver attached)
  pcib3: ACPI PCI-PCI bridge at device 11.0 on
 pci0
  pci1: ACPI PCI bus on pcib3
  pci0: base peripheral, interrupt controller at
  device 11.1 (no driver attached)
 
 
 
   Thanks!
 
Nicole
 Ok, so it's an AMD 8111 northbridge versus an
 Adaptec onboard SCSI 
 controller.
 
 1. What release / version of FreeBSD are you using?
 You should upgrade 
 to 6.2 STABLE because there have been a variety of
 issues worked out in previous releases.

 I have a range of Versions from 6.1-Pre to 6.2-STABLE
as of a few months ago.

 2. Do you have any logs for activity during the
 hours when it locks up 
 (in particular anything interesting / fishy popping
 up)?

 Nope. That would make it too easy :)
 They commit suicide without a note.

 3. What scheduler are you using? 4BSD, ULE?

4BSD

 4. Does your machine (using the SATA controllers)
 lock up under heavy 
 load? If so, you may have a northbridge cooling
 issue that you need to 
 put a fan on. For instance, the motherboard that I
 was using for a while 
 (ASUS P5N-E SLI) was really close to my CPU
 heatsink, and there was a 
 lot of heat transfer between my northbridge and CPU
 heatsink, which was 
 raising the onboard temperatures 5~10 degrees C. The
 new motherboard 
 (ASUS P5B DLX) doesn't do that though.

 The lockups seem rather random. I have healthd
running and they never seem to show very warm. The
room is cold and the servers have great fans. Altho
healthd can seem wonky as the cpu temp has actually
gone below the minimum. Also the -2Volt line seems
very low. But some servers runs forever that way.

 At least with SCSI, since it seems to manage itself
as another layer away from the system, you get some
error messages. Sort of like windows 3.1 dropping to
dos. Verses sata issues where it's just blue screen of
death but without even some debugging code.

 I am going to try the patch chuck Swiger sent me and
see how that effects things. Also try a few
replacement sata cards. Altho that is always fun
especially in 1U servers. As well as seeing if using
SAS drives may help if I can find some cheap enough. 
 Do you think that using the ULE scheduler could
really help? 

 Thanks

  Nicole


 Cheers,
 -Garrett
 

___
freebsd-questions@freebsd.org mailing list

How to solve mysterious system lockups?

2007-06-04 Thread N. Harrington

Hello
  I have several systems that are used as squid
caching servers. I have some systems that use SCSI
disks and some  that use SATA disks. They are
identical in everyway except for the sata vs SCSI
drives. 

 At random times, the sata based systems seem to be
freezing. You can ping them and they respond, but you
cannot log in. Nor are any logs processed during that
time. 

 I figure it mist be something to do with the disks,
but I am not sure how to solve it. There seems to be
little rhyme or reason. It does not happen necessarily
during busy times. It can happen in the middle of the
night.

 Any pointers in how to track down the cause would be
much appreciated.

 Tyan S2881 Motherboard - 4gigs mem
 Using 4 SATA (or scsi) drives
 FreeBSD amd64 6.2-STABLE.

 Thanks!

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


Re: How to solve mysterious system lockups?

2007-06-04 Thread N. Harrington

--- Garrett Cooper [EMAIL PROTECTED] wrote:

 N. Harrington wrote:
  Hello
I have several systems that are used as squid
  caching servers. I have some systems that use SCSI
  disks and some  that use SATA disks. They are
  identical in everyway except for the sata vs SCSI
  drives. 
 
   At random times, the sata based systems seem to
 be
  freezing. You can ping them and they respond, but
 you
  cannot log in. Nor are any logs processed during
 that
  time. 
 
   I figure it mist be something to do with the
 disks,
  but I am not sure how to solve it. There seems to
 be
  little rhyme or reason. It does not happen
 necessarily
  during busy times. It can happen in the middle of
 the
  night.
 
   Any pointers in how to track down the cause would
 be
  much appreciated.
 
   Tyan S2881 Motherboard - 4gigs mem
   Using 4 SATA (or scsi) drives
   FreeBSD amd64 6.2-STABLE.
 
   Thanks!
 
Nicole

 Nicole,
 What's the driver in use for the SATA and the
 SCSI drives?
 -Garrett

 Hi Garret
 Here is the driver info.

-- SATA

atapci0: SiI 3114 SATA150 controller port
0xbc00-0xbc07,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa80f

mem
0xfeafec00-0xfeafefff irq 17 at device 5.0 on pci3
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
ata4: ATA channel 2 on atapci0
ata5: ATA channel 3 on atapci0
pci3: display, VGA at device 6.0 (no driver
attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci1: AMD 8111 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at
device 7.1 on pci0
ata0: ATA channel 0 on atapci1
ata1: ATA channel 1 on atapci1
pci0: serial bus, SMBus at device 7.2 (no driver
attached)
pci0: bridge at device 7.3 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 10.0 on pci0
pci2: ACPI PCI bus on pcib2

-- SCSI

ahd0: Adaptec AIC7902 Ultra320 SCSI adapter port 
0x8000-0x80ff,0x7800-0x78ff
mem 0xfc89c000-0xfc89dfff irq 24 at device 10.0 on
pci2
ahd0: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X
67-100Mhz, 512 SCBs
ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port 
0x8800-0x88ff,0x8400-0x84ff
mem 0xfc89e000-0xfc89 irq 25 at device 10.1 on
pci2
ahd1: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X
67-100Mhz, 512 SCBs
pci0: base peripheral, interrupt controller at
device 10.1 (no driver attached)
pcib3: ACPI PCI-PCI bridge at device 11.0 on pci0
pci1: ACPI PCI bus on pcib3
pci0: base peripheral, interrupt controller at
device 11.1 (no driver attached)



 Thanks!

  Nicole



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


Problem with Serverworks HT1000 serial ATA support - Tyan S3992 Motherboard

2007-02-06 Thread N. Harrington
 Hello
 I am testing out a new tyan motherboard that uses the
next generation of AMD chips and the Serverworks
Chipset. It seems that I can reliably crash it with a
simple bonnie++ test if I set:

/boot/loader.conf  - Used for DiskD for Squid
  kern.ipc.msgtql=2048 

 I am using FreeBSD 6.1-STABLE amd64. This all works
just fine on a non Serverworks Chipset Tyan Board.
(literaly I unplug the drive and move it to another
system and it works and works in production)


 If I run: bonnie++ -d /home -u root s1g
  The system reboots.

 I have tried this is both S-ATA and P-ATA emulation.

 Any ideas on why this setting, which works on non
Serverworks boards, would make the Serverworks so
twitchy?


  Thanks

  Nicole


atapci0: ServerWorks HT1000 SATA150 controller port
0xb080-0xb087,0xb000-0xb003,0xac00-0xac07
,0xa880-0xa883,0xa800-0xa81f mem 0xff4fe000-0xff4f
irq 11 at device 14.0 on pci1

S-ATA:
ad4: 70911MB WDC WD740ADFD-00NLR1 20.07P20 at
ata2-master SATA150

 OR
P-ATA:
ad4: DMA limited to UDMA33, device found non-ATA66
cable
ad4: 70911MB WDC WD740ADFD-00NLR1 20.07P20 at
ata2-master UDMA33

/boot/loader.conf
kern.ipc.msgtql=2048


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


Problem with Serverworks HT1000 serial ATA support - Tyan S3992 Motherboard

2007-02-06 Thread N. Harrington
 Hello.
 I am testing out a new tyan motherboard that uses the
next generation of AMD chips and the Serverworks
Chipset. It seems that I can reliably crash it with a
simple bonnie++ test if I set:

/boot/loader.conf  - Used for DiskD for Squid
  kern.ipc.msgtql=2048 

 I am using FreeBSD 6.1-STABLE amd64. This all works
just fine on a non Serverworks Chipset Tyan Board.
(literaly I unplug the drive and move it to another
system and it works and works in production)


 If I run: bonnie++ -d /home -u root s1g
  The system reboots.

 I have tried this is both S-ATA and P-ATA emulation.

 Any ideas on why this setting, which works on non
Serverworks boards, would make the Serverworks so
twitchy?


  Thanks

  Nicole


atapci0: ServerWorks HT1000 SATA150 controller port
0xb080-0xb087,0xb000-0xb003,0xac00-0xac07
,0xa880-0xa883,0xa800-0xa81f mem 0xff4fe000-0xff4f
irq 11 at device 14.0 on pci1

S-ATA:
ad4: 70911MB WDC WD740ADFD-00NLR1 20.07P20 at
ata2-master SATA150

 OR
P-ATA:
ad4: DMA limited to UDMA33, device found non-ATA66
cable
ad4: 70911MB WDC WD740ADFD-00NLR1 20.07P20 at
ata2-master UDMA33

/boot/loader.conf
kern.ipc.msgtql=2048

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


Is the new Qlogic QLA 2462 fibre channel card supported?

2007-01-17 Thread N. Harrington

 Hello
 I am curious if the new Qlogic QLA2462 fibre channel
card is supported yet. 
 I do not see it listed in the hardware support page,
but since it's so new I was curious if it may just not
have made it in yet.

 If it is not, what would it take to get a driver for
this? I could likely get a card donated for driver
development.

 Thanks

  Nicole



 

Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How does one bond two interfaces together to share bandwidth?

2006-12-13 Thread N. Harrington

 I am trying to figure out how to bond or combine 2
interfaces together. Such that they each share
traffic.

 I have tried one way, however when I use it I seem to
have an odd broadcast occuring on my switch. Such that
I am seeing incoming traffic hit some other ports on
the switch.  Can someone confirm if I am doing it
correctly? Perhaps I have a switch issue?
Do I also need to bond the ports together on the
switch? Sadly the switch they are connected to does
not support port bonding. Does that matter? I have not
seen any mention of that being required.


 I have:

 /usr/sbin/ngctl -f- -SEQ
 mkpeer fec dummy fec
 msg fec0: add_iface em0
 msg fec0: add_iface em1
 msg fec0: set_mode_inet
SEQ


Thanks for any help!

 Nicole


The Large Print Giveth And The Small Print Taketh Away
 -- Anon


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How does one route traffic to always go in and out via the same port/ip?

2006-12-13 Thread N. Harrington
 Fron a previous post I found I cannot solve my
problem via port bonding since I am stuck with a 
switch that does not support Port bonding or trunking,
I would like to then try to setup various interfaces
with various IP's to help balance the traffic.

 Basicly as normal, assign say:
 ifconfig em0 192.168.1.10 netmask 255.255.255.0 
(switch port1)
 
 ifconfig em1 192.168.1.11 netmask
255.255.255.0(switch port2)
 
 ifconfig em2 192.168.1.12 netmask 255.255.255.0
(switch port3)

 However if I do this, I get arp complaints because of
being on the same network. Now I can stop the arp
complaints via setting the below in sysctl.conf

net.link.ether.inet.log_arp_movements=0 
net.link.ether.inet.log_arp_wrong_iface=0

 But, the problem I really have if that all the
outbound traffic, goes back out the first port to the
default gateway. I have tried everything I could think
of, but I cannot figure out how to make sure that
traffic that comes in via a particular port, will go
back out that port.

 I am running a load balancing program on this
machine. Each IP address would then correspond to an
aggrigate of servers that would send traffic back to
the machine in response to a request passed to it. 

 However all the responses to the clients, regardless
of which IP they came in on, are being sent back via
the first port instead of the port/ip they came in on.

 Any assitance on how to bind an ip and gateway to a
port much appreciatted!


 Sorry if my explanantion sucks. Feel free to ask for
more info.

 Thanks!!

 They really push this program for running on linux.
They offer it for FreeBSD but don't support it as
much.  I would really like to solve this. Otherwise
all of our BSD servers will show up as linux servers
if they have to be behind a linux based server.
  
 Nicole



 


The Large Print Giveth And The Small Print Taketh Away
 -- Anon


 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How can I make sure traffic that comes in on one ethernet port/ip goes out that port/IP?

2006-11-27 Thread N. Harrington

 Hello
 I have a server I am using as a load balancer that
has multiple ports. I have set sysctl
net.link.ether.inet.log_arp_movements=0 so I could
have the multiple ports on the same lan. However, I
need to make sure that what comes in via one port/IP
also goes out the same port/IP address. 

I have, lets say: 
 192.168.1.1 as gateway 
 192.168.1.2:255.255.255.0 as a managment 10/100 port
 192.168.1.3:255.255.255.0 as a 100/1K
 192.168.1.4:255.255.255.0 as 2nd 100/1K port

 When I use this, traffic that comes in on .3 and .4
will still go back out via the .2 default port. Is
there a way stop this?  Perhaps via IPFW? Drawing a
blank.

 Thanks for any help.

 Nicole




The Large Print Giveth And The Small Print Taketh Away
 -- Anon


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem using tcpdump with tcpshow (from ports) - get errors

2006-08-03 Thread N. Harrington
 
  Hello
  For some time now I have been watching tcp dumps by
 sending them through tcpshow -cooked. (from the ports
tree) This has worked quite well on BSD 4.X and also I
believe 5.2.1.

  However, now when I try to do this on a 5.5 or 6.1
 server, I get an error. 
 
  Can anyone help with why I might be getting these
 errors with later versions of FreeBSD?
 I have tried all I can think of. 
 
 tcpdump -i bge1 -s 1518 -lenx | tcpshow 
 tcpdump: verbose output suppressed, use -v or -vv
 for
 full protocol decode
 listening on bge1, link-type EN10MB (Ethernet),
 capture size 1518 bytes
 tcpdump: 1 packets captured
 162 packets received by filter
 0 packets dropped by kernel
 bad dump file format
 
  Or
  tcpdump -i bge1 -s 1518 -lenx | tcpshow -cooked
 tcpdump: verbose output suppressed, use -v or -vv
 for
 full protocol decode
 listening on bge1, link-type EN10MB (Ethernet),
 capture size 1518 bytes

---
 Packet 1
 ***Error: Badly formatted Ethernet address
 1 packets captured
 178 packets received by filter
 0 packets dropped by kernel
 
 
  Thanks!!
 
Nicole
 



The Large Print Giveth And The Small Print Taketh Away
 -- Anon

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need Advice for Tuning NFS to place nice with a Netapp

2006-08-02 Thread N. Harrington
--- Freminlins [EMAIL PROTECTED] wrote:
 Nicole,
 
 On 02/08/06, N. Harrington [EMAIL PROTECTED]
 wrote:
 
  Hi
  I have several web servers that are attached to a
  Netapp (network appliance) unit via NFS-3. A few
  servers are 5.5 and a few are 6.1 for comparison
  testing. All seem to have lousy performance.
 
 
 We have a similar setup and it runs smoothly.

 Cool! Can you share with me what sort of settings you
use on your boxes? sysctl/kerneltunes/mount options?

 It has taken me a over a month to even get to speak
to someone high enough up he food chain at Netapp to
not say FreeBSD - that's a version of Linux right?
 
 Can you define lousy performance ?

 The web server replies (using either Apache and
Lighthttpd) seem to max out at about 17mb/s. Response
time for the web server will rise gradually, then
suddenly become 10-20seconds for a reply. Much like a
backup on a highway. They claim that the netapp unit
is spending too much time dealing with file
information IOPS than actual transfer of files.
However even on a non in-use server, if I make a
request for a file, that heavy file access seems
normal.
IE:
GtAttr Lookup Rdlink   Read  Write Rename Access 
Rddir
 0  0  0  0  0  0  0  0
 248  160  0  4  0  0236  0
 0  0  0  0  0  0  0  0
 
 Can you give more details on your network? Are you
 using Gig ethernet? And
 over what medium?

 Yes, 4X GigE from the filer via a Vif and trunking on
the switch. A nice 10Gb ready HP unit. I have asked if
using the Vif and trunking could have any effects but
been assured it should not. It does mean I cannot use
jumbo frames. But since web pages and images are
small, I don't think there would be any benefit.
 
 Can you also try just copying a 100MB file from the
 filer to one of the web
 servers and record the time?

 9907187 bytes/sec for a 16M file.
 It will transfer in nanotime. So, I believe that
eliminates network performance as an issue.

 Are you running nfsiod?

Yes, I show 4 instances running.

 When
  going through the issues with Netapp, the reasons
  given were that we have too many GettAdr/Lookup
  requests compared to actual reads. So all the NFS
 IOPS
  are being used up by these requests. As soon as
 the
  webservers get busy,  requests pile up.
 
  I have tried everything I can think of. The web
  servers are even mounted read only with no help.
 
  My current mount options are:
  filer:/vol/fvol31/home/13/13  nfs
  ro,noatime,-r=32768,-T,-b,-R0,-i,-D2,-L 0  0
 
 
 Mounting noatime for web servers is a good idea
 but... your noatime option
 has no effect on NFS mounts (check out the mount man
 page). You need vol
 options no_atime_update on the NetApp.

 Hmm. Drat. We have some web servers that do nothing
but send out data, but some that are used for
uploading and file manipulation. I will have to make
sure that global of an option will not effect what
they do.

 
 Any advice for sysctl tunes or anything else would
 be
  much appreciatted!
 
  Thanks
 
Nicole
 
 
 One last thing - are you female?! In a UNIX
 newsgroup?!

 Yup :)
 Oh, and yes, I do play the drums :)

 Frem.
 


 Thanks for your assistance!!

  Nicole



The Large Print Giveth And The Small Print Taketh Away
 -- Anon

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4TB filesystem

2006-08-02 Thread N. Harrington
--- Lutz Rabing [EMAIL PROTECTED] wrote:

 hi all,
 
 is someone still working on the bigdisk project?
 it becomes
 more an more easy to create disk arrays bigger than
 2TB ... it 
 would be a really nice to have feature.
 
 lutz
 

 Nice to have, but I wouldn't want to fsck it!  :)


  Nicole


 
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


The Large Print Giveth And The Small Print Taketh Away
 -- Anon

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Errors Using tcpdump with tcpshow

2006-08-01 Thread N. Harrington

 Hello
 For some time now I have been watching tcp dumps by
sending them through tcpshow -cooked. This has worked
quite well on BSD 4.X and also I believe 5.2.1.
 However, when I tried to do this on a 5.5 or 6.1
server, I get an error. 

 Can anyone help with why I might be getting these
errors with later versions of FreeBSD?
I have tried all I can think of.

 tcpdump -i bge1 -s 1518 -lenx | tcpshow 
tcpdump: verbose output suppressed, use -v or -vv for
full protocol decode
listening on bge1, link-type EN10MB (Ethernet),
capture size 1518 bytes
tcpdump: 1 packets captured
162 packets received by filter
0 packets dropped by kernel
bad dump file format

 Or
  tcpdump -i bge1 -s 1518 -lenx | tcpshow -cooked
tcpdump: verbose output suppressed, use -v or -vv for
full protocol decode
listening on bge1, link-type EN10MB (Ethernet),
capture size 1518 bytes
---
Packet 1
***Error: Badly formatted Ethernet address
1 packets captured
178 packets received by filter
0 packets dropped by kernel


 Thanks!!

   Nicole



The Large Print Giveth And The Small Print Taketh Away
 -- Anon

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SATA Cables Suck!

2006-08-01 Thread N. Harrington
--- jdow [EMAIL PROTECTED] wrote:

 From: Nikolas Britton [EMAIL PROTECTED]
 
  The number one problem I've had with SATA RAIDs
 has been the cables! 4
  times I've lost arrays because the cables came
 loose or some other
  stupid problem with the cables.
 
  I need a vendor that has high quality latching
 SATA-II cables. Also...
  what can we do with the old cables to fix them...
 super glue them
  on?... Here's a question... Are all SATA cables
 rated for SATA-II?
  I've never seen a definitive answer to this
 question and newegg.com
  does not sells SATA-II cables... Also does the
 spec call for
  shielded cables?
 
  frustrated, need a place to unload thanks.
 
 First google hit SATA-II cable specification:
 http://www.satacable.com/
 
 Second google site hit

http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=2076134CatId=84
 
 I've done business with Tiger Direct. They were
 prompt for delivery.
 Searching for things on their site was annoying,
 though.
 
 Adding site:newegg to the search gives:

http://www.newegg.com/Product/Product.asp?Item=N82E16812207001
 and

http://www.newegg.com/Product/Product.asp?Item=N82E16812162003
 
 First has a right angle connector.
 
 You were saying?
 {^_^} 

 Well, according to all this, my nice new 3-ware
9550SX SATA II card has SATA I connectors and came
with SATA I cables. That seems, well, disapointing and
odd.

 
  Nicole
 


The Large Print Giveth And The Small Print Taketh Away
 -- Anon

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need Advice for Tuning NFS to place nice with a Netapp

2006-08-01 Thread N. Harrington
 Hi
 I have several web servers that are attached to a
Netapp (network appliance) unit via NFS-3. A few
servers are 5.5 and a few are 6.1 for comparison
testing. All seem to have lousy performance. When
going through the issues with Netapp, the reasons
given were that we have too many GettAdr/Lookup
requests compared to actual reads. So all the NFS IOPS
are being used up by these requests. As soon as the
webservers get busy,  requests pile up. 

 I have tried everything I can think of. The web
servers are even mounted read only with no help.

 My current mount options are:
filer:/vol/fvol31/home/13/13  nfs
ro,noatime,-r=32768,-T,-b,-R0,-i,-D2,-L 0  0
 
 I have tried plenty of others. 

 an example nfsstat -c 2  (while working ok)
GtAttr Lookup Rdlink   Read  Write Rename Access 
Rddir
 4357   2976  0125  0  0   3425  0
 4173   2836  0115  0  0   3288  0
 4254   2912  0106  0  0   3344  0
 3668   2528  0 99  0  0   2880  0
 3992   2746  0101  0  0   3136  0
 3916   2706  0 93  0  0   3080  0
 3748   2551  0106  0  0   2948  0
 4121   2851  0 86  0  0   3231  0

 Any advice for sysctl tunes or anything else would be
much appreciatted!

 Thanks

  Nicole

 

The Large Print Giveth And The Small Print Taketh Away
 -- Anon

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: best way to copy from one fbsd box to another

2006-08-01 Thread N. Harrington
--- David Banning
[EMAIL PROTECTED] wrote:

 I am installing a new server and have to copy many
 files from old server
 to new. I have connected a windows box to each via
 samba, and am dragging
 from one to the other via the windows box.
 
 This might seem like a silly question, but what is
 the way to copy
 -directly- from one fbsd box to another?

 If you have a secured connection I like using rcp.
(complied without the evil conversion to using scp)
 scp works too but has more overhead and for rsh
maintains permissions better. (I think)

 One thing to keep in mind is that if you are copying
OS files, you may run into files that have the file
(immutable) flags set such that even as root, you
cannot update or overwrite them while in multiuser.
(see chflags) 


 Hope this helps.

 Nicole


The Large Print Giveth And The Small Print Taketh Away
 -- Anon

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need Advice for Tuning NFS to place nice with a Netapp

2006-08-01 Thread N. Harrington
--- Jeremy Kister [EMAIL PROTECTED] wrote:
 On 8/1/2006 11:05 PM, N. Harrington wrote:
   My current mount options are:
  filer:/vol/fvol31/home/13/13  nfs
  ro,noatime,-r=32768,-T,-b,-R0,-i,-D2,-L 0  0
 
 for the same performance reason, mine is:
 netapp1:/vol/vol0/export   /export nfs  
 rw,-r=16384,-w=16384,-L 0  0
 
 might be worth a try to add the -w.
 Jeremy Kister
 http://jeremy.kister.net./

 Hi Jeremy

 Thanks for the suggestion. Would using the -w do
anything for me since I am mounting read only? 

 I will try 16384 again however, as they could not
settle on wether 16k or 32k would be best.


 Thanks

  Nicole


The Large Print Giveth And The Small Print Taketh Away
 -- Anon

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]