rrdtool in httpd chroot

2012-01-01 Thread Lars Kotthoff
Hi list, after upgrading to 5.0 (no fresh install), I've encountered somewhat of a puzzle. I use syweb on my webserver and an rrdtool binary in the /bin directory in the chroot. This used to work fine, but now the updated binary won't run in the chroot. This is what ldd tells me on the main

Re: rrdtool in httpd chroot

2012-01-01 Thread Lars Kotthoff
As it turns out, the libraries were installed in a number of places (e.g. libpng not only in /usr/local/lib but also in /usr/lib in the chroot). In one of those places, there was still an old copy of librrd.so.3.0, which referenced the libraries that I was seeing errors for. I cleaned everything

upgrade OpenBSD

2011-12-19 Thread Lars Kotthoff
Hi list, the OpenBSD upgrade pages carry a warning at the top Note: Upgrades are only supported from one release to the release immediately following it. Do not skip releases. What's the reason for this warning? I've had a look at the upgrade steps and the only thing that seems to assume a

Re: Constant rate mbuf leak

2011-02-13 Thread Lars Kotthoff
ifconfig -A output lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33200 priority: 0 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 rl0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500

Re: Constant rate mbuf leak

2011-02-11 Thread Lars Kotthoff
Just to say that I've been having the same problem with a Soekris board since about 4.4. I haven't figured out what's going on, but strangely the problem is getting better with time (i.e. the rate at which mbufs are allocated decreases). I *think* that it was fine in 4.3 (though I never run the

Re: Constant rate mbuf leak

2011-02-11 Thread Lars Kotthoff
In the meantime knowing which board it is (or, even better, what network drivers are in use) would help immensely. 3 like this rl0 at pci0 dev 18 function 0 Realtek 8139 rev 0x10 and one ral0 at pci0 dev 21 function 0 Ralink RT2860 rev 0x00 ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO

Re: Constant rate mbuf leak

2011-02-11 Thread Lars Kotthoff
Are you all running bridged setups ? I am, but the problem also occurred without the bridge. I originally suspected the wireless interface (which is bridged with one of the wired ones) and removed the card and hence the bridge. Same problem. Lars

ntp log rotation

2010-01-03 Thread Lars Kotthoff
Hi list, is there any way to use newsyslog with ntpd (not the OpenBSD one) without having to restart it? Just rotating the log causes subsequent log messages to be lost and killing ntpd with SIGHUP causes it to exit. I've had a look at the manpages and on the interwebs, but didn't find

Re: symon mbuf on 4.6

2009-12-20 Thread Lars Kotthoff
you need to delete the pre-4.6 rrds (don't take my word for it that 4.6 was the point vs 4.5) I created the mbuf rrd just after the update -- wasn't working on 4.5 (giving error messages). Left all the other rrds, which still work. Lars

symon mbuf on 4.6

2009-12-19 Thread Lars Kotthoff
Hi, I've just upgraded to 4.6 and symon/symux don't seem to record any mbuf data -- no error messages, there's just nothing in the rrd file. Did I miss something in my configuration? Thanks, Lars

Memory on 4.5 again

2009-08-07 Thread Lars Kotthoff
Hi all, after my post in June [1] I've removed the wireless card that seemed to be causing the memory problems and my system is more stable now. However, after about three weeks of uptime, memory starts running low again and the machine starts swapping constantly. netstat -m gives me 33805

Re: Memory problems on 4.5

2009-06-07 Thread Lars Kotthoff
please send vmstat -m and netstat -m at a point when the memory use is medium or high. See below. Total memory use is about 170MB. if you're using symon to collect your stats, it might be worth recording and plotting the mbuf stats it can save. That doesn't work anymore with 4.5 -- I got

Re: Memory problems on 4.5

2009-06-07 Thread Lars Kotthoff
that is way too high for what the system is doing. any way to try it with the ral(4) wireless card disabled to see if that makes any difference? (I have a feeling the wired RTL8139 rl(4) is more likely to have the problem but I guess those are going to be harder to disable..) Oh no, not

Memory problems on 4.5

2009-06-06 Thread Lars Kotthoff
Hi all, after upgrading to 4.5, I've had problems with the memory usage of the box increasing continuously until if starts to swap and performance becomes so bad that I have to reboot the box. This does not seem to be related to a specific program, at least the usual tools don't indicate that

Gkrellmd in 4.5

2009-06-01 Thread Lars Kotthoff
Hi all, I've just upgraded to 4.5 and gkrellmd (gkrellm-server) package seems to have a memory leak -- it's RAM usage is growing constantly and is at about 20M resident now, less than one day after starting the machine. Did anybody experience anything similar and knows a fix? Thanks, Lars

Re: Gkrellmd in 4.5

2009-06-01 Thread Lars Kotthoff
Yup. Fixed in current more than 2 months ago: Excellent, thanks! Lars

Re: soekris 5501, ral(4) and 4.5-current

2009-04-25 Thread Lars Kotthoff
Same problem here with an RT2860. Lars

Re: ral(4) driver and RT2860 + RT2850 chips

2009-04-09 Thread Lars Kotthoff
I just picked up a SparkLan WMIR-200N which I've put in my Soekris net4501. The ral(4) driver says it supports the Ralink RT2860 and RT2850 chips on this card. OpenBSD detects the card however when I configure it in hostap mode with WPA2-PSK, my Macbook or any wifi capable computer will

Re: Instability in -current with ral/rt2860?

2009-02-07 Thread Lars Kotthoff
FYI, I'm having the same problems with ral0 at pci0 dev 21 function 0 Ralink RT2860 rev 0x00: irq 11, address 00:00:00:00:00:00 ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (2T3R) I get both traffic freezes and instability with 4.3 and 4.4 kernels, although the box is stable for a bit longer (a

4.4 hangs

2009-01-13 Thread Lars Kotthoff
Dear list, I'm having problems with my 4.4 server where it starts to become unresponsive after a couple of days and finally hangs. The symptoms are very weird, the system runs fine for several days and then performance degrades within a couple of hours until the system is unusable. It doesn't

Re: 4.4 hangs

2009-01-13 Thread Lars Kotthoff
Telling people exactly what you are using might help. A server means a lot of things. A complete dmesg output would help, too. Lastly have you patched it, and have you added anything to it? Are you running the stock generic kernel? Well, specifically it's this box

NS CS5535 IDE chipset

2008-10-27 Thread Lars Kotthoff
Hi list, I'm running OpenBSD on an HL-463 [1] which has the NS CS5535 IDE chipset. The kernel says that this chipset doesn't support DMA, although a quick google search suggests that the same controller with a slightly different vendor specification supports DMA. It also looks like DMA support

Re: dhcpd and bootp

2008-09-20 Thread Lars Kotthoff
Is this taken care of? There must be at least one host statement for every BOOTP client that is to be served. Yes. I actually copied the configuration from a a Linux server I was using before for DHCP/BOOTP where everything was working fine. It uses BPF, it won't show up in

Re: broken disk?

2008-09-20 Thread Lars Kotthoff
SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] You need to explicitely run the self test, e.g. smartctl -t long /dev/wd0c and wait until it finished -- the above section of smartctl -a /dev/wd0c will tell you. Also see

Re: dhcpd and bootp

2008-09-20 Thread Lars Kotthoff
you can't assume that working on your Linux system means you have the correct config format for OpenBSD. It's a different dhcpd. Yes, I adapted the format; the host declaration is the same though. if it responds to DHCP requests, it's listening properly, same port for both protocols. That's

Re: Strace for OpenBSD

2008-09-19 Thread Lars Kotthoff
Hi everybody, somebody say to me what is the equivalent to 'strace' for OpenBSD? ktrace(1). Lars

dhcpd and bootp

2008-09-19 Thread Lars Kotthoff
Hi all, I'm trying to get DHCP with BOOTP to work, but it just won't. I've set up dhcpd.conf with explicit allow bootp; and allow booting; the filename directive is in the declaration for the specific host. Tftp is running through inetd and works -- I've confirmed this by manually connecting to

Re: dhcpd and bootp

2008-09-19 Thread Lars Kotthoff
To clarify, dhcp works perfectly as long as there isn't any bootp involved, i.e. clients which are configured to use dhcp get IP address, domain name, etc work fine. If I run dhcp in the foreground there's no output whatsoever when clients try bootp. Same thing for the system log files. Tcpdump

Re: Wireless host ap/wpa problems

2008-09-16 Thread Lars Kotthoff
Another thing I've noticed is that inter-station communication isn't possible (I've checked that the nobridge option is NOT set). When I try to ping another client on the wireless (which itself can communicate ok with the access point), I get Destination host unreachable and the number of received

Re: pkg_add c.48.0 lib error on current

2008-09-16 Thread Lars Kotthoff
*c*.*48*.*0*: partial match in /usr/*lib*: major=49, minor=*0* (bad major) Not a proper solution, but symlinking /usr/lib/c.49.0 to /usr/lib/c.48.0 worked for me. Lars

Wireless host ap/wpa problems

2008-09-13 Thread Lars Kotthoff
Hi all, I've got some problems running an OpenBSD access point with a wireless card in host ap mode and WPA. First, let me describe the symptoms. I can connect with clients and traffic passes through without problems, but the encryption seems to be dodgy. In the log of the client (Linux machine