Re: OpenBSD on Wyse C90LE

2010-01-27 Thread Paul de Weerd
On Thu, Jan 28, 2010 at 01:59:59AM -0500, Predrag Punosevac wrote: | Dear All, | | I was wondering if anybody tried to install OpenBSD on Wyle C90LE. | | http://www.wyse.com/products/hardware/thinclients/C90LE/index.asp | | We are planning to equip 120 thin clients computer lab with those. I got |

OpenBSD on Wyse C90LE

2010-01-27 Thread Predrag Punosevac
Dear All, I was wondering if anybody tried to install OpenBSD on Wyle C90LE. http://www.wyse.com/products/hardware/thinclients/C90LE/index.asp We are planning to equip 120 thin clients computer lab with those. I got today one for my office for evaluation purposes and I really liked the toy. It c

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Robert
nixlists wrote: The idea is to limit memory such that running out of RAM+swap is not possible, or unlikely. You can set the limit on the allowed number of processes as well. I do use ulimit / login.conf for some processes, but does anybody really use it for *all possible* processes on each pro

Re: Postgresql and Memory Usage

2010-01-27 Thread Bret S. Lambert
On Wed, Jan 27, 2010 at 06:55:29PM -0500, Ted Unangst wrote: > Shm shouldn't be mapped in the kernel, so large values won't be that > bad. But the way that shared mem is implemented means that larger values require a larger malloc(9), which can increase the pressure on kva space, which can panic y

Re: File system

2010-01-27 Thread Duncan Patton a Campbell
On Wed, 27 Jan 2010 18:54:31 -0500 Ted Unangst wrote: > I suspect man growfs may be closer to his needs. Hopefully g is at the > end of a drive with some space left. > > On Jan 27, 2010, at 5:11 PM, "L. V. Lammert" wrote: > > > On Wed, 27 Jan 2010, Yamidt Henao wrote: > > > >> Hi, > >> > >>

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread nixlists
On Wed, Jan 27, 2010 at 9:23 PM, bofh wrote: >> The idea is to limit memory such that running out of RAM+swap is not >> possible, or unlikely. You can set the limit on the allowed number of >> processes as well. > > > $ ulimit -m > 971876 > $ dmesg | grep real\ mem > real mem = 1039691776 (991MB)

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Ted Unangst
Obviously, as any competent sysadmin like nixlists knows, you should restrict all your processes to a max of 20 megs. On Jan 27, 2010, at 9:23 PM, bofh wrote: On Wed, Jan 27, 2010 at 8:14 PM, nixlists wrote: On Wed, Jan 27, 2010 at 7:53 PM, Denis Doroshenko wrote: aren't you missing the

Re: way to help: laptops and weekly

2010-01-27 Thread Jonathan Thornburg
"Bofh (Peter Kay)" suggested > System maintenance, IMO, should be invisible to the user unless it > requires input. Shutdown is > a poor time to run maintenance because it's (probably) run more often > when something needs to > be done to the machine or the user has to go somewhere in a hurry. >

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread bofh
On Wed, Jan 27, 2010 at 8:14 PM, nixlists wrote: > On Wed, Jan 27, 2010 at 7:53 PM, Denis Doroshenko > wrote: >> aren't you missing the point of original comment made by Otto? >> >> consider a situation, when all the processes in the system "are >> behaving", none of them violates their rlimits,

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread nixlists
On Wed, Jan 27, 2010 at 7:53 PM, Denis Doroshenko wrote: > On 1/28/10, nixlists wrote: >> Why kill random processes that may not be misbehaving and/or cause a >> kernel panic when you want to kill the process(es) that leak memory or >> are hungry in the first place? It's possible to avoid kern

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Johan Beisser
On Wed, Jan 27, 2010 at 4:53 PM, Denis Doroshenko wrote: > so the OS needs to do something. what should it do? should it just > panic? or may be losing one process is better than losing them all? > then, what are the criteria for choosing processes to be killed?.. > > wondering if "random" means

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Denis Doroshenko
On 1/28/10, nixlists wrote: > Why kill random processes that may not be misbehaving and/or cause a > kernel panic when you want to kill the process(es) that leak memory or > are hungry in the first place? It's possible to avoid kernel panics in > this case IMO, and not kill random processes.

Re: Postgresql and Memory Usage

2010-01-27 Thread Ted Unangst
Shm shouldn't be mapped in the kernel, so large values won't be that bad. On Jan 27, 2010, at 5:01 PM, Tobias Ulmer wrote: On Wed, Jan 27, 2010 at 02:13:45PM -0700, Jeff Ross wrote: I have searched (and searched) so I wonder if I'm running into the i386 1GB limit I see referenced, as in the

Re: File system

2010-01-27 Thread Ted Unangst
I suspect man growfs may be closer to his needs. Hopefully g is at the end of a drive with some space left. On Jan 27, 2010, at 5:11 PM, "L. V. Lammert" wrote: On Wed, 27 Jan 2010, Yamidt Henao wrote: Hi, somebody know how I can change the mount available in me file system? # df -h Files

Re: Postgresql and Memory Usage

2010-01-27 Thread Jeff Ross
Tobias Ulmer wrote: On Wed, Jan 27, 2010 at 02:13:45PM -0700, Jeff Ross wrote: I have searched (and searched) so I wonder if I'm running into the i386 1GB limit I see referenced, as in the thread today about fsck on larger partitions. Yes you do. Also, kernel memory is limited, insane shm valu

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread nixlists
On Wed, Jan 27, 2010 at 10:35 AM, Robert wrote: > frantisek holop wrote: >> >> the kernel will kill random processes? are we talking about linux's OOM >> here or openbsd? since when is this in openbsd? i seem to recall >> some debate where openbsd devs found that idea ridiculous. i know i do,

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Brad Tilley
Whoops... re-reading, I see that I missed your disklabel output... sorry. On Wed, 27 Jan 2010 17:25 -0500, "Brad Tilley" wrote: > On Wed, 27 Jan 2010 20:43 +, "Rob Sheldon" > wrote: > > [snip] > > > softraid0 at root > > root on sd1a swap on sd1b dump on sd1b > > > > ...that's odd, it's

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Stuart Henderson
On 2010-01-27, Rob Sheldon wrote: > The longer version: this is a backup server running backuppc for a > corporate client ("large enough number of workstations") that does research > work ("some really big files"). I _thought_ I had read the big filesystem > FAQ carefully, but somehow missed that

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Brad Tilley
On Wed, 27 Jan 2010 20:43 +, "Rob Sheldon" wrote: [snip] > softraid0 at root > root on sd1a swap on sd1b dump on sd1b > > ...that's odd, it's showing swap (and dump) on sd1b, but there's no such > thing: > > $ sudo df /dev/sd1b > df: /dev/sd1b: Device not configured > > ...maybe it really

Re: File system

2010-01-27 Thread L. V. Lammert
On Wed, 27 Jan 2010, Yamidt Henao wrote: > Hi, > > somebody know how I can change the mount available in me file system? > > # df -h > Filesystem SizeUsed Avail Capacity Mounted on > /dev/wd0a 159M 70.5M 80.4M47%/ > /dev/wd0f 11.6M130K 10.9M 1%/home >

Re: Postgresql and Memory Usage

2010-01-27 Thread Tobias Ulmer
On Wed, Jan 27, 2010 at 02:13:45PM -0700, Jeff Ross wrote: > I have searched (and searched) so I wonder if I'm running into the > i386 1GB limit I see referenced, as in the thread today about fsck > on larger partitions. Yes you do. Also, kernel memory is limited, insane shm value will probably (h

File system

2010-01-27 Thread Yamidt Henao
Hi, somebody know how I can change the mount available in me file system? # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/wd0a 159M 70.5M 80.4M47%/ /dev/wd0f 11.6M130K 10.9M 1%/home /dev/wd0d 19.3M 12.0K 18.3M 0%/tmp /dev/wd

Re: Sed and GNU-like

2010-01-27 Thread Stuart Henderson
On 2010-01-27, ropers wrote: > Or maybe FreeBSD uses GNU sed -- I haven't checked.) nope, that's GNU sort that they use (ya rly). they use BSD sed.

Re: Using Facebook API: URL file-access is disabled in the server configuration

2010-01-27 Thread Chazza
Alexander Farber wrote: > Hello, > > does anybody please have experience in using Facebook API > from OpenBSD with chrooted Apache and the php5 from packages? > > I'm trying to call theirs $fb->api_client->admin_setAppProperties() > but get the error: > > Warning: fopen() [function.fopen]: URL

Re: Alternatives to Wireshark.

2010-01-27 Thread Stuart Henderson
On 2010-01-27, Christiano F. Haesbaert wrote: > My main need is debugging DNS packets (mDNS), and reading raw tcpdump > output isn't very easy, I need to really debug the protocol, so > something that could show me field names and values would be cool. > > Right now I'm using tcpdump and accountin

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Rob Sheldon
On Wed, 27 Jan 2010 22:06:19 +0100, Otto Moerbeek wrote: > > No, currently the amount of physical memory an amd64 can address is > limited. Well, F___. :-( The rule here then is, if you've got a partition bigger than 1TB, you *must* have swap? - R. -- [__ Robert Sheldon [__ Founder, No Proble

Postgresql and Memory Usage

2010-01-27 Thread Jeff Ross
I'm not getting something about the best way to set up a server using PostgreSQL as a backend for a busy web server running drupal. The postgresql performance tuning folks http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server say that in a server with more that 1GB of ram "a rea

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Otto Moerbeek
On Wed, Jan 27, 2010 at 08:43:40PM +, Rob Sheldon wrote: > On Wed, 27 Jan 2010 07:42:42 +0100, Otto Moerbeek wrote: > > On Wed, Jan 27, 2010 at 12:38:47AM +, Rob Sheldon wrote: > > > >> There's no dmesg attached because I'm not on-site with the server at > the > >> moment, and because AF

Re: Alternatives to Wireshark.

2010-01-27 Thread Bryan Irvine
I like ettercap for that. On Wed, Jan 27, 2010 at 12:23 PM, Christiano F. Haesbaert wrote: > Hi there, > > I've always used wireshark for packet sniffing, it solved most of my needs. > > First of all, I'm not questioning the why of not having a port, I've > read the previous posts (I really don't

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Rob Sheldon
On Wed, 27 Jan 2010 07:42:42 +0100, Otto Moerbeek wrote: > On Wed, Jan 27, 2010 at 12:38:47AM +, Rob Sheldon wrote: > >> There's no dmesg attached because I'm not on-site with the server at the >> moment, and because AFAICT this is a known problem. > > A pity, since it does matter what platf

Re: Using Facebook API: URL file-access is disabled in the server configuration

2010-01-27 Thread Alexander Farber
Tried adding 66.220.146.15 api.facebook.com to /var/www/etc/hosts as well...

Alternatives to Wireshark.

2010-01-27 Thread Christiano F. Haesbaert
Hi there, I've always used wireshark for packet sniffing, it solved most of my needs. First of all, I'm not questioning the why of not having a port, I've read the previous posts (I really don't care why, don't start a discussion). My main need is debugging DNS packets (mDNS), and reading raw tc

Re: Change root password from shell-script

2010-01-27 Thread Chris Dukes
On Wed, Jan 27, 2010 at 05:14:51PM +, Paul Branston wrote: > On Wed, Jan 27, 2010 at 05:48:15PM +0100, Jordi Espasa Clofent wrote: > >> Have you looked at man usermod? -p flag in particular. > > > > Shame on me, indeed. It has been a game: > > > > #!/bin/sh > > PASSWORD=$(echo "my_new_password"

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread frantisek holop
hmm, on Wed, Jan 27, 2010 at 04:35:19PM +0100, Robert said that > If the OS runs out of (any) memory then there is already a serious there's plenty of discussion about the virtues/stupidity of the OOM killer approach, including various "pardon" policies. google for "out of fuel linux" for amusemen

Using Facebook API: URL file-access is disabled in the server configuration

2010-01-27 Thread Alexander Farber
Hello, does anybody please have experience in using Facebook API from OpenBSD with chrooted Apache and the php5 from packages? I'm trying to call theirs $fb->api_client->admin_setAppProperties() but get the error: Warning: fopen() [function.fopen]: URL file-access is disabled in the server confi

Re: Announcing: JigglyPuffBSD

2010-01-27 Thread Jussi Peltola
http://www.gossipgamers.com/pokemon-redesigned-in-traditional-japanese-style-artwork/

Re: Change root password from shell-script

2010-01-27 Thread Brynet
Paul Branston wrote: > A little more generic in case there is no usermod -p > > PASSWORD=$(echo "my_new_password" | encrypt -b 6) > perl -p -i.bk -e 's/^root:.*?:/root:$PASSWORD:/' /etc/shadow Wow, Question: are you even using OpenBSD? -Bryan.

Re: Change root password from shell-script

2010-01-27 Thread Paul Branston
On Wed, Jan 27, 2010 at 05:48:15PM +0100, Jordi Espasa Clofent wrote: >> Have you looked at man usermod? -p flag in particular. > > Shame on me, indeed. It has been a game: > > #!/bin/sh > PASSWORD=$(echo "my_new_password" | encrypt -b 6) > usermod -p $PASSWORD root > A little more generic in case

Re: Sun Fire x4170

2010-01-27 Thread Luca Corti
On Tue, Jan 26, 2010 at 11:44:01AM -0500, Bryan Allen wrote: > They're solid, and they fly. That's what I hoped to hear. > You can pick up RAM cheap from crucial, and get disk sleds from memoryx > (541-2123) so you don't have to pay disk markup. This is not an issue. The one I'll have at hand ha

Re: Change root password from shell-script

2010-01-27 Thread Jordi Espasa Clofent
Have you looked at man usermod? -p flag in particular. Shame on me, indeed. It has been a game: #!/bin/sh PASSWORD=$(echo "my_new_password" | encrypt -b 6) usermod -p $PASSWORD root Thanks. -- I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration.

Re: Announcing: JigglyPuffBSD

2010-01-27 Thread Vadim Zhukov
On 26 January 2010 c. 02:14:22 Eric wrote: > By the way, I like your sig. It's just seen by me on misc@ a long time ago :) -- Best wishes, Vadim Zhukov A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is t

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Otto Moerbeek
On Wed, Jan 27, 2010 at 10:31:40AM -0500, Ted Unangst wrote: > On Wed, Jan 27, 2010 at 10:00 AM, frantisek holop wrote: > > hmm, on Wed, Jan 27, 2010 at 03:28:12PM +0100, Otto Moerbeek said that > >> Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per > >> process. What happen

Re: Change root password from shell-script

2010-01-27 Thread Gregory Edigarov
On Wed, 27 Jan 2010 17:05:17 +0100 Jordi Espasa Clofent wrote: > HI all, > > ?Is there any way t change the root password using a shell-script > (aka non-interactive mod as passwd uses)? > > I've used pw in FreeBSD and chpasswd in Debian GNU/Linux to do it, > bit I've not found a way/command to

Change root password from shell-script

2010-01-27 Thread Jordi Espasa Clofent
HI all, ?Is there any way t change the root password using a shell-script (aka non-interactive mod as passwd uses)? I've used pw in FreeBSD and chpasswd in Debian GNU/Linux to do it, bit I've not found a way/command to do it with my OpenBSD boxes. At present my approach will be install exce

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Robert
frantisek holop wrote: the kernel will kill random processes? are we talking about linux's OOM here or openbsd? since when is this in openbsd? i seem to recall some debate where openbsd devs found that idea ridiculous. i know i do, and the machine should panic instead of starting shooting dow

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Ted Unangst
On Wed, Jan 27, 2010 at 10:00 AM, frantisek holop wrote: > hmm, on Wed, Jan 27, 2010 at 03:28:12PM +0100, Otto Moerbeek said that >> Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per >> process. What happens if more memory is allocated than the available >> swap is that the k

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Otto Moerbeek
On Wed, Jan 27, 2010 at 10:11:57AM -0500, Joe Gidi wrote: > On Wed, January 27, 2010 9:28 am, Otto Moerbeek wrote: > > Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per > > process. What happens if more memory is allocated than the available > > swap is that the kernel will k

Re: Killing Random Processes [was: fsck segfault on a big partition, 4.6]

2010-01-27 Thread Rob Sheldon
On Wed, 27 Jan 2010 16:00:32 +0100, frantisek holop wrote: > hmm, on Wed, Jan 27, 2010 at 03:28:12PM +0100, Otto Moerbeek said that > > the kernel will kill random processes? are we talking about linux's OOM > here or openbsd? since when is this in openbsd? i seem to recall > some debate where

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Joe Gidi
On Wed, January 27, 2010 9:28 am, Otto Moerbeek wrote: > Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per > process. What happens if more memory is allocated than the available > swap is that the kernel will kill random processes to free swap. That > might be what is going on

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread frantisek holop
hmm, on Wed, Jan 27, 2010 at 03:28:12PM +0100, Otto Moerbeek said that > Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per > process. What happens if more memory is allocated than the available > swap is that the kernel will kill random processes to free swap. That > might be

Popusti i do 62% samo do 10. februara

2010-01-27 Thread E-topshop
Iskoristite do 10. februara - "Dole kilogrami!" Samo u ovoj akciji E!tedite i do neverovatnih -62%! B; smrE!ajte jednostavno, bez truda - imamo prava reE!enja B; uE!tedite pri kupovini i dostavi hit proizvoda za dijetu i lepotu B; PodseDamo - super cene i uslovi joE! 14 dana, do 10.2.2010.

Re: rename(2) man page (was: Re: OpenSMTPd actual development and integration)

2010-01-27 Thread Christiano Farina Haesbaert
Can't we all just get along ? Fuck sake, does someone here thinks this thread is going anywhere ?

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Otto Moerbeek
On Wed, Jan 27, 2010 at 02:06:20PM +, Rob Sheldon wrote: > On Wed, 27 Jan 2010 07:42:42 +0100, Otto Moerbeek wrote: > > On Wed, Jan 27, 2010 at 12:38:47AM +, Rob Sheldon wrote: > > > >> Hi, > > > > Therse days, amd64 is the only platform that increases the limit > > (MAXDSIZE) to 8G. Th

Re: OpenVPN problem. [SOLVED]

2010-01-27 Thread Alessandro Baggi
I've solved my problem, It was a routing problem caused by a misconfiguration with a client-config-ccd with a wrong parameter. client-conf-ccd ccd but with an absolute path (ex /etc/openvpn/ccd) it works. Thanks. Hi Simen. Then 10.0.8.1 and 10.0.8.2 are allocate by openvpn server and in the cl

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Rob Sheldon
On Wed, 27 Jan 2010 07:42:42 +0100, Otto Moerbeek wrote: > On Wed, Jan 27, 2010 at 12:38:47AM +, Rob Sheldon wrote: > >> Hi, > > Therse days, amd64 is the only platform that increases the limit > (MAXDSIZE) to 8G. Though you venture into untested territory, we > (myself at least) just do not

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Rob Sheldon
On Tue, 26 Jan 2010 19:10:47 -0600 (CST), "L. V. Lammert" wrote: > On Wed, 27 Jan 2010, Rob Sheldon wrote: > > Don't know if this is related to a problem I had on a machine recently, .. > however I found that if I hung the 'bad' drive on ANOTHER machine, the > fsck ran just fine! To be honest, I

Re: PowerEdge 850 for a small office firewall

2010-01-27 Thread Brad Tilley
On Wed, 27 Jan 2010 07:54 -0500, "Chris Dukes" wrote: > On Tue, Jan 26, 2010 at 04:38:08PM -0800, mehma sarja wrote: > > I am running an embedded 533 MHz with 256 MB memory and it is woefully > > inadequate for an office setting. Even for a home setting which wants stuff > > like snort running as

Re: PowerEdge 850 for a small office firewall

2010-01-27 Thread Chris Dukes
On Tue, Jan 26, 2010 at 04:38:08PM -0800, mehma sarja wrote: > I am running an embedded 533 MHz with 256 MB memory and it is woefully > inadequate for an office setting. Even for a home setting which wants stuff > like snort running as well. I would WAG atleast a 2 GB memory and the Atoms > max out

Finding bsd.rd checksums for sets without booting?

2010-01-27 Thread Lars Nooden
What ways are there to get the checksums from bsd.rd without actually booting with it and going through the installation of sets? /Lars

Contester ses contraventions

2010-01-27 Thread Permis de conduire
Retrait de points Suspension du permis de conduire Contester ses contraventions Doit on payer ses contraventions ? Comment contester un retrait de point Comment contester une annulation du permis de conduire

problem with make build on 4.6

2010-01-27 Thread Maciej Jan Broniarz
Hi, I am trying to make build from the latest 4.6 sources. During the compilation proces i encounter the following error: make -f Makefile.old clean > /dev/null 2>&1 ../../../miniperl "-I../../../lib" "-I../../../lib" Makefile.PL "INSTALLDIRS=perl" "INSTALLMAN3DIR=none" "PERL_CORE=1" "LIBPERL_A=l

[no subject]

2010-01-27 Thread Credito . Cooperativo
Gentile Cliente, da questo momento h disponibile on-line l'estratto conto mensile riferito al codice del rapporto 01002-33047891: potr` consultarlo, stamparlo e salvarlo sul suo PC per creare un suo archivio personalizzato. Le ricordiamo che ogni estratto conto rimane in linea fino al terzo mese