Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Otto Moerbeek
On Wed, 9 May 2007, Daniel Ouellet wrote: Otto Moerbeek wrote: Where are the OS bottleneck that I can may be improve here? Loks at the memory usage. 300 httpd procces could take up 3000M easily, especially with stuff like php. In that case, the machine starts swapping and your hit

Re: Thecus N2100 and RAID 1

2007-05-09 Thread Bryan Vyhmeister
On May 8, 2007, at 6:44 AM, Aaron Poffenberger wrote: Raidframe is really easy to use. The man pages for raidctl(8) will give you step-by-step instructions. In a nutshell, though: 1) enable raidframe in your kernel (search for RAIDframe in GENERIC to get find the line), 2) create the

Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Daniel Ouellet
Here is more tests with always repeated results. I increase the number of contiguous connection only by 5, from 305 to 310, and you get 3 times slower response for always the same thing and repeated all the time. Very consistent and from different clients as well. You can do any variation of

Re: Softupdates question

2007-05-09 Thread Marco S Hyman
Still curious how they would work on, say, /var/mysql or /var/postgresql, but I can play with this on my own. Has anyone already tried? Care to comment? FWIW I run softdep on ALL partitions except / and /var and have for many years. I exclude /var because on a crash I want the best chance

Re: [OT] language tricks (was: creating menu's)

2007-05-09 Thread Joachim Schipper
On Tue, May 08, 2007 at 09:34:35PM -0400, Douglas Allan Tutty wrote: On Tue, May 08, 2007 at 01:22:10PM -0700, Bryan Irvine wrote: I need a fairly simple menu, and have thought about just simple selects but figured now would also be a good time to learn something new as well. It's

Re: VNC server on OpenBSD (error allocating memory)

2007-05-09 Thread Stuart Henderson
On 2007/05/08 16:17, Daniel Bolgheroni wrote: Applied the patch succesfully against 4.1 net/tightvnc, but getting the following error: Sorry, I missed -P when I generated the diff. It's fixed now. http://spacehopper.org/openbsd/tightvnc-1.3.8-update.txt I suggest any more discussion on this

Re: Softupdates question

2007-05-09 Thread Nick Holland
mickey wrote: On Tue, May 08, 2007 at 07:06:06AM -0400, Nick Holland wrote: George C wrote: ... Is it always best to mount /, /tmp, /usr, /var, /home with softdep? Under what curcumstances would it not be appropriate? If your app makes assumptions about write ordering, softdeps can negate

postfix-2.2.8 with sasl2 and ldap support

2007-05-09 Thread Antonis Faragitakis
Hi, How can i install postfix-2.2.8 with ldap and sasl2 support? I've searched the web but couldnt find any usefull information. Can you please guide me? thanks atno

Re: Sun Netra and DAS

2007-05-09 Thread admin
Kevin wrote: Hello all, I'm about out of space on a Sun Netra T1 that has been happily running OpenBSD for some time. I'd rather keep this server in action and add space to it, but both internal drive slots are occupied, so that means the only choice (short of reloading on bigger disks,

Re: postfix-2.2.8 with sasl2 and ldap support

2007-05-09 Thread Pedro de Oliveira
1. cd /usr/ports/mail/postfix/snapshot 2. export FLAVOR=sasl2 ldap 3. make install clean 4. ? 5. PROFIT -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Antonis Faragitakis Enviada: quarta-feira, 9 de Maio de 2007 12:20 Para: misc@openbsd.org Assunto:

Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Srebrenko Sehic
On 5/9/07, Daniel Ouellet [EMAIL PROTECTED] wrote: I increase the number of contiguous connection only by 5, from 305 to 310, and you get 3 times slower response for always the same thing and repeated all the time. Very consistent and from different clients as well. You can do any variation of

Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Daniel Ouellet
Srebrenko Sehic wrote: On 5/9/07, Daniel Ouellet [EMAIL PROTECTED] wrote: I increase the number of contiguous connection only by 5, from 305 to 310, and you get 3 times slower response for always the same thing and repeated all the time. Very consistent and from different clients as well.

Re: postfix-2.2.8 with sasl2 and ldap support

2007-05-09 Thread Antonis Faragitakis
thank you Pedro hope it'll work :) atn On 09/05/07, Pedro de Oliveira [EMAIL PROTECTED] wrote: 1. cd /usr/ports/mail/postfix/snapshot 2. export FLAVOR=sasl2 ldap 3. make install clean 4. ? 5. PROFIT -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome

Wireless NIC questions

2007-05-09 Thread Bret
Greetings I was wondering if anyone here had any experience setting up a wireless access point. I am running OpenBSD 4.0 with Z-COM WLAN PC Card but can not bring up the card in access point mode. Bret

Performance: OpenVPN vs IPsec

2007-05-09 Thread Michael
Hello, I've got two networks connected with OpenVPN right now, the setup is like this. {Network_A}-{OpenVPN_Server}--{Network_B} NetworkA is a real network where the router (with dynamic IP) is connected directly to a dedicated OpenVPN server with a static IP. NetworkB is just a single

Re: Softupdates question

2007-05-09 Thread mickey
On Wed, May 09, 2007 at 06:46:19AM -0400, Nick Holland wrote: mickey wrote: On Tue, May 08, 2007 at 07:06:06AM -0400, Nick Holland wrote: George C wrote: ... Is it always best to mount /, /tmp, /usr, /var, /home with softdep? Under what curcumstances would it not be appropriate?

Re: creating menu's

2007-05-09 Thread james
Bryan Irvine sparctacus at gmail.com writes: It's been years (just shy of a decade IIRC) since the last time I needed to create a menu-shell type of thing. But now I need to. I'm wondering what people are using these days. Is there something neat in ports I should be trying out?

Re: Wireless NIC questions

2007-05-09 Thread Peter N. M. Hansteen
Bret [EMAIL PROTECTED] writes: I was wondering if anyone here had any experience setting up a wireless access point. I am running OpenBSD 4.0 with Z-COM WLAN PC Card but can not bring up the card in access point mode. Unfortunately not all wireless cards support Host AP mode (that's what you

Re: Softupdates question

2007-05-09 Thread Henning Brauer
* mickey [EMAIL PROTECTED] [2007-05-09 15:15]: On Wed, May 09, 2007 at 06:46:19AM -0400, Nick Holland wrote: mickey wrote: On Tue, May 08, 2007 at 07:06:06AM -0400, Nick Holland wrote: George C wrote: ... Is it always best to mount /, /tmp, /usr, /var, /home with softdep? Under

Re: OT: GUI programming languages

2007-05-09 Thread james
Jacob Yocom-Piatt jy-p at fixedpointgroup.com writes: have been coding touchscreen-driven applications using visual basic lately and am sick of VB. i would much rather be using openbsd with another programming language that allows me to accomplish the same sort of stuff. glade (from

Binary upgrade of mozilla-thunderbird fails on OpenBSD 4.1

2007-05-09 Thread jeraklo
Suspected line reads: Checking for collisions with .libs-mozilla-thunderbird-1.5.0.10... some found Could anyone explain what to do next ? Thanks! Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com # pkg_add -uivvv mozilla-thunderbird Candidates for updating

Re: Wireless NIC questions

2007-05-09 Thread Michael
Hello Bret, Bret schrieb: I was wondering if anyone here had any experience setting up a wireless access point. I am running OpenBSD 4.0 with Z-COM WLAN PC Card but can not bring up the card in access point mode. I recently set up an access point using OpenBSD 4.0 and now upgraded it to 4.1.

Re: Softupdates question

2007-05-09 Thread Peter Fraser
I had always assumed the use of softupdates was safe as long as you could have reasonable assurances that the machine would not be shutdown without warning. (i.e. no loss of power or reset being hit). So if you had a UPS, good hardware, and no vandals it's good to use.

Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Douglas Allan Tutty
On Wed, May 09, 2007 at 01:30:41AM -0400, Daniel Ouellet wrote: No swapping is happening, even with 1000 httpd running. load averages: 123.63, 39.74, 63.3285 01:26:47 1064 processes:1063 idle, 1 on processor CPU states: 0.8% user, 0.0% nice, 3.1% system, 0.8%

Re: Sun Netra and DAS

2007-05-09 Thread Paul D. Ouderkirk
On 5/8/07, Kevin [EMAIL PROTECTED] wrote: Hello all, I'm about out of space on a Sun Netra T1 that has been happily running OpenBSD for some time. I'd rather keep this server in action and add space to it, but both internal drive slots are occupied, so that means the only choice (short of

Re: Redirected packet from pf is lost

2007-05-09 Thread Steve Williams
Andreas Hdber wrote: Hi all, I've got a Dell SC1435, running OpenBSD 4.0, with two Ethernet interfaces (bge0 and bge1) working as a gateway and firewall for our internal network. bge0 is the external connection (with a class B IPv4 address), and bge1 is the internal connection (private IP

Re: Performance: OpenVPN vs IPsec

2007-05-09 Thread Steve Williams
Michael wrote: Hello, I've got two networks connected with OpenVPN right now, the setup is like this. {Network_A}-{OpenVPN_Server}--{Network_B} NetworkA is a real network where the router (with dynamic IP) is connected directly to a dedicated OpenVPN server with a static IP. NetworkB

Re: Redirected packet from pf is lost

2007-05-09 Thread Darrin Chandler
On Wed, May 09, 2007 at 09:08:58AM -0600, Steve Williams wrote: Check out a (very) recent thread initiated by myself with the subject rdr on bridge interface possible? (squid transparent proxy on bridge). There are a few suggestions there, none of which have worked for me. I have no idea

OpenBSD roadtrip: Ede Netherlands 20070510, Krakow Poland 20070512-13

2007-05-09 Thread Wim Vandeputte
Hey, I'm happy to announce that all (wel, most) OpenBSD 4.1 orders have been shipped out and that we are back on the road attending conferences. For those in Netherlands, tonight (after 22h :-) and tomorrow, we'll be in Ede, at the NLUUG Voorjaarsconferentie 2007

Re: [OT] language tricks (was: creating menu's)

2007-05-09 Thread Douglas Allan Tutty
On Wed, May 09, 2007 at 10:56:57AM +0200, Joachim Schipper wrote: On Tue, May 08, 2007 at 09:34:35PM -0400, Douglas Allan Tutty wrote: On Tue, May 08, 2007 at 01:22:10PM -0700, Bryan Irvine wrote: I need a fairly simple menu, and have thought about just simple selects but figured now

mpi(4): any way to view WWN?

2007-05-09 Thread Stuart Henderson
I have a remotely located system with an mpi(4) HBA (LSI FC929X) where it would be useful to display the WWN. Is there currently a way to retrieve this that's more convenient than watching for BIOS messages at boot?

Re: OpenBSD 4.1 install issue??

2007-05-09 Thread Marcos Laufer
I had the same problem installing OpenBSD 4.1 on an Intel D945GCcr motherboard and the snapshot worked just fine! But i noticed that it is not possible to install gd package due to lack of libfontconfig.3.0 on xbase41.tgz of the snapshot. But the libfontconfig.3.0 is on the xbase41.tgz of the

Re: Softupdates question

2007-05-09 Thread Stephan Andre'
Well, which would you prefer, Peter? I've had systems that have had their power yanked from them several times now, and I've yet to have seen a screwed filesystem. Yes, files created or deleted with 30(?) seconds of the outage might be inconsisten or whatever, I'll take that any day over a

Re: Performance: OpenVPN vs IPsec

2007-05-09 Thread Matthew R. Dempsky
On Wed, May 09, 2007 at 02:51:35PM +0200, Michael wrote: Now, as I understand it, it isn't possible to create an IPsec connection from a single host within a NATed network to an external server but OpenVPN works great here. Please correct me if I am wrong. (I have no access to the NAT router

Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Karsten McMinn
On 5/9/07, Daniel Ouellet [EMAIL PROTECTED] wrote: I can now have two clients using 1000 parallel connections to one i386 850MHz server, my old one that I was testing with and I get all that no problem now. No delay and I can even push it more, but I figure at 2000 parallel connections I should

Re: 4.0 locked up over the weekend

2007-05-09 Thread Bruce Bauer
Update: I've experienced 3 more hard lockups. No messgaes on the console screen. Nothing unusual in any of the log file that I've found. Make running in /upr/ports/x11/kde was interrupted at different tasks each time, (downloading, compiling, and running a configure script). System recovered

Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Daniel Ouellet
Douglas Allan Tutty wrote: On Wed, May 09, 2007 at 01:30:41AM -0400, Daniel Ouellet wrote: No swapping is happening, even with 1000 httpd running. load averages: 123.63, 39.74, 63.3285 01:26:47 1064 processes:1063 idle, 1 on processor CPU states: 0.8% user, 0.0% nice,

backup DNS server for OpenBSD in Europe for free

2007-05-09 Thread Jiří Navrátil
Hi, I had reported today a wrong DNS record for www.openbsd.org on IRC. Next to this I had also offered a free backup server for openbsd domain in Europe. cmihai pointed me to these email addresses. If this is interesting for you, I'm running a tinydns server on Debian GNU/Linux in Europe (Czech

Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Daniel Ouellet
Karsten McMinn wrote: On 5/9/07, Daniel Ouellet [EMAIL PROTECTED] wrote: I can now have two clients using 1000 parallel connections to one i386 850MHz server, my old one that I was testing with and I get all that no problem now. No delay and I can even push it more, but I figure at 2000

Re: Softupdates question

2007-05-09 Thread George C
On 5/9/07, Nick Holland [EMAIL PROTECTED] wrote: If it was not obvious from my comments, I love softdeps. I have a siteXX.tgz file which does a few simple things, one of which is to change all mount points to use softdeps. One really does have to hunt a bit for relevant reasons not to use

Re: revenge of stupid vlan questions

2007-05-09 Thread Jon
Clint Pachl wrote: Jon wrote: Greetings everybody, So I've set up what I thought should be a proper vlan configuration however something is clearly still not correct. Traffic passes fine to the vlan devices from the external side of the router (I can ping them) however traffic does not seem

Re: Chances of this hardware running OpenBSD?

2007-05-09 Thread Tobias Weingartner
Timo Schoeler wrote: I was disappointed quite often by vaporware in the Amiga universe, However, as this really might become reality Don't hold your breath. $1500 for a system that is meant to cator to the amiga crowd. *shrug* If you want to start on a port, get in contact with

Re: revenge of stupid vlan questions

2007-05-09 Thread Jacob Yocom-Piatt
Jon wrote: Clint Pachl wrote: Jon wrote: Greetings everybody, So I've set up what I thought should be a proper vlan configuration however something is clearly still not correct. Traffic passes fine to the vlan devices from the external side of the router (I can ping them) however traffic

Re: revenge of stupid vlan questions

2007-05-09 Thread Stuart Henderson
On 2007/05/09 14:08, Jon wrote: The switch is vlan aware and the hosts connected to it are plugged into ports which are assigned to vlans configured on the switch with the same numbers that I am putting in the /etc/hostname.vlan* vlan option fields. Usually you can configure a switch port to

Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Daniel Ouellet
Hi, I am passing my finding around for the configuration of sysctl.conf to remove bottleneck I found in httpd as I couldn't get more then 300 httpd process without crapping out badly and above that, the server simply got out of wack. All is default install and the tests are done with a

Re: revenge of stupid vlan questions

2007-05-09 Thread Jon
This was very informative. Thank you very much. After re-evaluating the vlan/tagging settings on the 3com switch ports we noticed that they were all set to hybrid mode (so some could be on multiple vlans) but the connection to the router was set to trunking mode instead of hybrid. Changing it

www.openbsd.org (and vs openbsd.org)

2007-05-09 Thread Martin Toft
Two small things: 1. www.openbsd.org replies with Forbidden at the moment -- but I guess most people already know. 2. Long time ago I was told that I shouldn't use openbsd.org, as it wasn't/isn't the official site. I was told to always use the www subdomain. Maybe this was just some people

Re: www.openbsd.org (and vs openbsd.org)

2007-05-09 Thread Bryan
You can still get to the FAQ. I have a search box setup in FF and I was able to get to it... So the whole site ain't down, probably a permissions issue??? On 5/9/07, Martin Toft [EMAIL PROTECTED] wrote: Two small things: 1. www.openbsd.org replies with Forbidden at the moment -- but I guess

Re: www.openbsd.org (and vs openbsd.org)

2007-05-09 Thread Theo de Raadt
1. www.openbsd.org replies with Forbidden at the moment -- but I guess most people already know. www.openbsd.org is a mirror on a good network connection. at the moment it is recovering from having eaten itself.

Re: revenge of stupid vlan questions

2007-05-09 Thread Jon
Incidentally, it was the vlan(4) man page that gave me the idea to set the mtu to 1518: Some Ethernet chips will either discard or truncate Ethernet frames that are larger than 1514 bytes. This causes a problem as 802.1Q tagged frames can be up to 1518 bytes. Most controller chips can be told

Re: www.openbsd.org (and vs openbsd.org)

2007-05-09 Thread Chris Smith
On 5/9/07, Theo de Raadt [EMAIL PROTECTED] wrote: 1. www.openbsd.org replies with Forbidden at the moment -- but I guess most people already know. www.openbsd.org is a mirror on a good network connection. at the moment it is recovering from having eaten itself. Like the snake on the new

Keyboard interrupt problem ('lag')

2007-05-09 Thread Jonathan Towne
Hello all; I asked a while back about a 'lag' in keyboard response on my laptop (Gateway MT3705) that runs -current. Someone responded off-list and noted that it was an interrupt issue. I was wondering if there is any known workaround / fix for it; the machine can be very hard to use for day

Re: revenge of stupid vlan questions

2007-05-09 Thread Clint Pachl
Jon wrote: This was very informative. Thank you very much. After re-evaluating the vlan/tagging settings on the 3com switch ports we noticed that they were all set to hybrid mode (so some could be on multiple vlans) but the connection to the router was set to trunking mode instead of hybrid.

Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Marcos Laufer
Daniel, Try the same test with this changes Timeout 60 KeepAlive Off If my guess is right, you'll notice big improvement. Tell me how it goes Marcos Laufer - Original Message - From: Daniel Ouellet [EMAIL PROTECTED] To: misc@openbsd.org Sent: Wednesday, May 09, 2007 7:41 PM Subject:

Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Daniel Ouellet
Marcos Laufer wrote: Daniel, Try the same test with this changes Timeout 60 KeepAlive Off If my guess is right, you'll notice big improvement. Tell me how it goes Neither apply to the issue that was at hand. Timeout 60, or 300 like in this case have nothing to do with the connections rate

Re: Bottleneck in httpd. I need help to address capacity issues on max parallel and rate connections

2007-05-09 Thread Ted Unangst
On 5/9/07, Daniel Ouellet [EMAIL PROTECTED] wrote: I try to stay safe in my choices and comments are welcome, but I have to point out as well that ALL the values below needs to be changes to that new value to get working well. If even only one of them is not at the level below, the results in