Saving pf state for accounting

2009-01-29 Thread Gunther Mayer
Hi guys, My server uses up tons of bandwidth every month and I'd like to start recording what traffic volumes my different services chew up on a monthly basis. My firewall utility of choice is pf and I've recently come across its neat label facility so that I can do a simple pfctl -sl to get

ftpd not chroot'ing

2008-12-11 Thread Gunther Mayer
Hi guys, I'm trying to set up a really simple, single account write only ftp service. So I put ftpd_enable=YES ftpd_flags=-o -d in my rc.conf and started the ftp server. Now I have a special password enabled user account called camera (none of the other accounts have passwords, all logins

Re: File system corruption upon reboot with gmirror

2008-09-11 Thread Gunther Mayer
Nejc S wrote: Hello, Afaic this only happens on a power loss or otherwise unclean shutdown but I used the reboot command from the shell (in a background (sleep Don't use reboot, use shutdown -r now. I also had the same problem once (had to get physical access to the box to fix it)

File system corruption upon reboot with gmirror

2008-09-08 Thread Gunther Mayer
Hi guys, I recently updated my FreeBSD 6.3 on our server to the latest patch with freebsd-update and seeing that it involved some kernel patches on 64bit I had to reboot. So I carried out an automated reboot during low-load times but alas, the box never came back up again. After gaining

Best way of upgrading postgresql in production?

2008-05-29 Thread Gunther Mayer
Hi guys, I've been grappling with this and read all sorts of email threads and blog posts but I still have no good solution to the following problem: I want to upgrade a postgresql installation on FreeBSD 6.3 from 8.2 to 8.3 as we'd like to take advantage of its new features and performance

Re: Best way of upgrading postgresql in production?

2008-05-29 Thread Gunther Mayer
Bill Moran wrote: In response to Gunther Mayer [EMAIL PROTECTED]: I've been grappling with this and read all sorts of email threads and blog posts but I still have no good solution to the following problem: I want to upgrade a postgresql installation on FreeBSD 6.3 from 8.2 to 8.3 as we'd

The impossible happened, committing suicide

2008-05-19 Thread Gunther Mayer
Hi there, I couldn't quite believe it when I saw it. I received an email from cron stating Assertion failed: (0 The impossible happened, committing suicide), function load_plist, file store_txt.c, line 840. Abort trap Obviously a developer's joke, but I'm concerned that there might be a

Best Java 1.6 JDK for FreeBSD?

2008-05-07 Thread Gunther Mayer
Hi guys, We're currently running a busy java web application with diablo-jdk 1.5 and jboss 4.0.5 on FreeBSD 6.2 (yes it's outdated, will upgrade to 6.3 very soon). That combination has proven to be very stable in the past. Now we'd like to start making use of some 1.6 only features in the app

automatic fsck on gmirror failure

2008-02-03 Thread Gunther Mayer
Hi there, I have a RAID 1 mirror implemented with gmirror and we recently had some power issues at our data centre which caused fsck to fail mysteriously. The server lost power unexpectedly, then came back up again for a minute, power died again and shortly after the next boot the following

Re: Python threading - some ports depend on it, others break with it

2008-01-10 Thread Gunther Mayer
Jim Stapleton wrote: I'm having so much trouble with this. I'm hosting a trac based project which is implemented in python and uses an sqlite db backend along with its python bindings. Now it turns out that pysqlite breaks badly (compiles and installs fine but chokes on import, see

Python threading - some ports depend on it, others break with it

2008-01-09 Thread Gunther Mayer
Hi guys, I'm having so much trouble with this. I'm hosting a trac based project which is implemented in python and uses an sqlite db backend along with its python bindings. Now it turns out that pysqlite breaks badly (compiles and installs fine but chokes on import, see

Re: CPU usage 100% but no process hogging CPU

2007-10-28 Thread Gunther Mayer
Kris Kennaway wrote: Gunther Mayer wrote: I don't see why my javavm, apache, postgres and/or radiusd would spawn such short lived processes. Come to think of it, I know radius might be doing just that, but how the heck would I go about finding out? top -H brings me no closer... Either

CPU usage 100% but no process hogging CPU

2007-10-27 Thread Gunther Mayer
Hi there, I'm having some capacity issues on the FreeBSD 6.2/Core 2 Duo/2GB RAM server that I manage. For quite a few days now it constantly shows load averages of around 1 and a CPU usage of around 100%. Yet summing up the CPU usage of the individual processes running I hardly ever get to

Re: ath0 going haywire

2007-05-28 Thread Gunther Mayer
Ghirai wrote: Hello Gunther, Monday, May 28, 2007, 2:45:07 AM, you wrote: Hi there, My ath0 wireless interface is going crazy lately. In my logs the kernel keeps telling me May 28 01:26:28 greg ath0: link state changed to UP May 28 01:26:28 greg ath0: link state

ath0 going haywire

2007-05-27 Thread Gunther Mayer
Hi there, My ath0 wireless interface is going crazy lately. In my logs the kernel keeps telling me May 28 01:26:28 greg ath0: link state changed to UP May 28 01:26:28 greg ath0: link state changed to UP May 28 01:26:28 greg ath0: link state changed to DOWN May 28 01:26:28 greg ath0: link

Re: Spaces in SSID in /etc/rc.conf

2007-05-19 Thread Gunther Mayer
Christopher Cowart wrote: On Mon, May 14, 2007 at 09:45:48PM +0200, Gunther Mayer wrote: Hi there, I got a low key server who is wirelessly connected to the net using an SSID that contains a space. In rc.conf I define the ifconfig line for configuration of my wireless interface upon

Spaces in SSID in /etc/rc.conf

2007-05-14 Thread Gunther Mayer
Hi there, I got a low key server who is wirelessly connected to the net using an SSID that contains a space. In rc.conf I define the ifconfig line for configuration of my wireless interface upon bootup, but the entire line reads something like ifconfig_ath0=' inet 192.168.0.1 ssid my