Re: ISO IMAGES

2003-11-26 Thread Claus Guttesen
Hi.

 Will ISO images be released for 5.2-BETA i386?
 Or is that strictly an -RC thing?

Ftp'ed to ftp.freebsd.org using a freebsd-ftp-client
but couldn't find the ISO-image for 5.2 beta. Using OS
X's finder found the folder and files. Peculiar.

Permissions?

regards
Claus


Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og 
virusscan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD current, apache and php4 woes

2003-11-18 Thread Claus Guttesen
Hi.

  
 panic: kmem_malloc(4096): kmem_map too small:
 275251200 total allocated cpuid = 0; lapic.id =
 
 
 You'll either want to raise the size of the kmem_map
 pool or decrease the maximum number of vnodes
allowed
 (vnodes get allocated out of the kmem_map and are 
 likely depleating it
 Add one of the two lines to /boot/loader.conf:
 
 kern.vn.kmem.size=35000
 or
 kern.maxvnodes=15
 
 The first one is probably the better choice for you
 since
 the very nature of what you are doing demands that
 you touch a lot of vnodes.
 
 Scott

It seems that your advice helpted cure the patient. I
did two things:

1. added kern.vm.kmem.size=45000
2. clean up tmp-files older than 4 hours every hour
(previous was files older than 12 h.).

Now the servers has been quite stable, no reboot in
almost two days! My problem appears to be too many
files in /tmp and /var/tmp (50.000 or more) which made
the kernel puke.

I guess this is a scenario which we will see more
often. Would it be possible to output this situation
to the message-log before the server simply reboots?

I did install 4.9 but in my particular case the server
would stop responding to web-request after a few
hours, but would respond to ping. Console login was
imposible.  So 5.1 is more mature in my case.

The last two weeks have been _very_ frustrating.

;-)
Claus



Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og 
virusscan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD current, apache and php4 woes

2003-11-18 Thread Claus Guttesen
Hi.

 Add one of the two lines to /boot/loader.conf:

 kern.vn.kmem.size=35000
 or
 kern.maxvnodes=15

 The first one is probably the better choice for
you
 since
 the very nature of what you are doing demands
 that you touch a lot of vnodes.

 1. added kern.vm.kmem.size=45000
 2. clean up tmp-files older than 4 hours every hour

 I forgot to mention in the last email that
 kern.maxvnodes
 will still scale upwards as you increase
 kern.vm.kmem.size.
 So you might want to set a hard limit on it so you
 don't
 continue to run into problems.  A value of 200,000
 is probably good in your case.
 

A sysctl kern.maxvnodes gives me 134675, but it's been
added as a safetyprecaution to /boot/loader.conf.

regards
Claus


Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og 
virusscan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD current, apache and php4 woes

2003-11-15 Thread Claus Guttesen
Hi.

I'm getting a bit desperate here. I recently moved our
web-servers from Linux, php4 4.1 and apache 1.3.20 to
FreeBSD 5.1 (mostly frozen branch), php 4.3.4 and
apache 1.3.29.

My problem is that the web-servers keep rebooting for
no apperant reason. They are up for about 20-24 hours
and then go down and up, with no message in the
message-log (other than that the filesystems weren't
unmounted properly etc.

The two web-servers are Dell Poweredge 1750 with dual
Xeon @ 3 Ghz. One is running the frozen 5.1 and the
other is running current as of Nov. 9'th. They are
performing well, the latter a bit faster than the
former. Both have 2 GB RAM.

The two other web-servers are based on an ASUS
motherboard and have dual Xeons @ 2.4 Ggz. One is
running frozen branch and one is running current as of
Oct. 30'th. The first has 2 GB RAM and the latter 1
GB.

The server with Oct. 30'th source appears to be the
most stable having been up for a couple of days.

After a draft to this mail was written I was lucky
to get some output to the screen (which is the first
time since we migrated):

panic: kmem_malloc(4096): kmem_map too small:
275251200 total allocated cpuid = 0; lapic.id =


Searching the archives indicated that the thread
http://www.freebsd.org/cgi/getmsg.cgi?fetch=717480+728561+/usr/local/www/db/text/2003/freebsd-current/20031005.freebsd-current
was very like my situation.

We are using php and imagemagick and are getting a lot
of empty files related to our web-pages. So /tmp and
/var/tmp is often used.

I have a crontjob which clean files older than 12
hours.

The two Dell-servers rebooted last nigth at three
o'clock in the morning indicating that the
/etc/periodic/daily scripts were running. I have also
been able to provoke a reboot finding and deleting
lots of tmp-files.

The problems did not show up while we tested them
internally.

How do I change system/kernel-parameters so I can
avoid the reboots? If I had the time I could have
investigated more on my own but my FreeBSD-migration
is on a thin line at work.

Disabling SMP is not an option.

I made the transition from Linux to FreeBSD arguing
that 1) it was at least as stable as Linux 2) I was
the one going to maintain the servers. So FreeBSD is
(unfortunately) _not_ very hot @ work.

A dmesg can be supplied if needed.

Regards
Claus


Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og 
virusscan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD current, apache and php4 woes

2003-11-15 Thread Claus Guttesen
Hi.

  panic: kmem_malloc(4096): kmem_map too small:
  275251200 total allocated cpuid = 0; lapic.id =
  
 
 man tuning
 
 You probably need to reset maxusers to 128 or so
 manually since the
 auto-tuning is doing the wrong thing. Although this
 is usually a problem
 on 4GB systems.
 

I'll try to adjust it manually.

 You aren't running any wierd nmbclusters/nmbufs
 values, are you?
 

Just a straight install and custom-kernel reg. NIC and
SCSI.

Claus


Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og 
virusscan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Still getting NFS client locking up

2003-11-11 Thread Claus Guttesen
Hi.

 I can lock the NFS server up every time simply by
 mounting the nfs partition 
 (i'm using -t for tcp nfs and exporting with
 -maproot=0:0), and then running 
 iozone -a on the nfs client box. It takes a while,
 but the 4.9-RELEASE box 
 will always lock up solid eventually. Not good. )-:
 

Could you show /etc/exports on the server and
/etc/fstab on the client?
Have you tried udp instead of tcp?

regards
Claus


Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og 
virusscan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New interrupt stuff breaks ASUS 2 CPU system

2003-11-04 Thread Claus Guttesen
Hi.

 I have an ASUS system with 2 CPUs that I need to run
 at HZ=1. This
 worked until yesterday, but with the new interrupt
 code it doesn't boot
 anymore. It works for the standard HZ, but if I set
 HZ=1000 I get a double

Compiled a new kernel with source from Nov. 3'rd where
SMP and APIC had to be enabled to use SMP. A make
kernel would complete in 10 min's.

So I cvsupped to test the 'interrupt stuff' and
recompiled. Upon boot it seemed that it only saw one
of my two Xeons at 2.4 Ghz. Hypert. was enabled as
default. So I reverted to the source the day before.

I also have an ASUS motherboard with an Intel 875P
chipset.

regards
Claus



Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og 
virusscan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New interrupt stuff breaks ASUS 2 CPU system

2003-11-04 Thread Claus Guttesen
Hi.

  I also have an ASUS motherboard with an Intel 875P
  chipset.
 
 Can you post a dmesg?  Note that if you want
 hyperthreading,
 you need to enable it in your BIOS.  The ACPI (and
 soon the
 MPTable) drivers will not use HT CPUs unless HT is
 enabled in
 the BIOS.  My test machines with HT used the 865
 chipset.

Upon boot the screen says that it's a dual Xeon with
HT.

I downgraded the server before I read this thread,
so it's running the previous days src. I guess that a
dmesg won't help from that.

regards
Claus


Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og 
virusscan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with NFS (client) under 5.1.

2003-10-21 Thread Claus Guttesen
hi.

 
 Does Linux do NFSv3 yet?  I thought that at least
 until recently there
 were stability issues and it was recommended it not
 be used.
 

I had some problems with stale NFS handle when
NFS-mounting two FreeBSD 5.1 client (one with the
frozen 5.1 and one as of Oct. 10'th) to a Linux server
with ReiserFS.

When I mounted with ver. 2 the problems went away on
the FreeBSD with source from Oct. 10'th and have less
stale NFS handles with the frozen 5.1.

regards
Claus


Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og 
virusscan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KSE howto?

2003-09-26 Thread Claus Guttesen
On 9 Sep 2003 at 17:06, Jesse Guardiani wrote:

 Howdy list,
 
 Is there a KSE howto guide anywhere?
 
 I'm thinking about updating my FreeBSD 5.1-RELEASE
 system to -CURRENT and compiling XFree, KDE, MySQL,
 and Apache2 with KSE support, just for fun.
 
 But I don't know how to enable KSE support at
 compile time...

 I just enable libkse on 5.1-RELEASE.  Do this:
 1 - add WITH_LIBMAP= yes to /etc/make.conf 
 2 - do a make clean in src/libexec/rtld-elf and make
all install
 3 - to /etc/libmap.conf, add: 

 libc_r.so.5 libkse.so.1
 libc_r.so libkse.so

I cvsup'ed with current Sept. 25'th and noticed
changes to libpthread. So I did a 'make world/kernel'
and Firebird (browser) and Thunderbird (mail) haven't
crashed since then.

Before the 'make world/kernel' these two apps would
crash at regular intervals, and I had to make these
addititions to /etc/libmap.conf so they wouldn't go
down:

[/usr/X11R6/bin/firebird]
libc_r.so.5  libthr.so.1
libc_r.solibthr.so

regards
Claus


Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og 
virusscan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


nfs mounts on FreeBSD 5.1

2003-08-20 Thread Claus Guttesen
Hi.

I'm trying to nfs-mount a FreeBSD 5.1 client on a
Redhat 7.3 nfs-server. I have the line
nfs_client_enable=YES in /etc/rc.conf and
nfsclient.ko is loaded.

The error I get is
[udp] nfs-srv:/mount/a: RPCMNT: clnt_create: RPC:
Program not registered

The mount-command is
mount_nfs -o port=2049 nfs-srv:/mount/a /mount/a

I've tried nfs v.2 and 3 as options, but no change.

The Linux-server is accepting nfs-mount-requests from
other clients so the server itself is OK.

Doing a tcpdump gives me:

sidsel/home/claus#tcpdump udp port nfs   
tcpdump: listening on fxp0
11:34:11.177302 sidsel.1061287510  nfs-srv.nfs: 40
null
11:34:11.177421 nfs-srv.nfs  sidsel.1061287510: reply
ok 24 null (DF)

The FreeBSD 5.1 client is tracking tag=RELENG_5_1
cvsup'ed 14. Aug. 2003. Only IPv4.

regards
Claus


Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og 
virusscan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mousewheel scrolling

2002-11-03 Thread Claus Guttesen
Hi.

 and having ZAxisMapping 4 5 in my XF86Config, but
 nothing seems

I found that I needed the line

Option 'Protocol'   'Auto'

in my /etx/XF86Config.

The protocol defaults to another value. This may help.

regards
Claus


Beskyt din computer mod virus og misbrug! Læs mere i Yahoo! Sikkerhedscenter på 
www.yahoo.dk/sikkerhedscenter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: error in ncurses in 'make buildworld'

2002-06-24 Thread Claus Guttesen

Hi.

 What -O level did you compile libc with?
 Optimisation levels = 2 damage
 __vfprintf() with the in-tree gcc, causing these
 same symptoms.
 
 The fix is to remove any optimisation options above
 -O, go into
 /usr/src/lib/libc, rebuild and install the static
 libc.a, build and install a
 static linked awk binary, then rebuild world +
 kernel as usual.
 

With this advise my 'make world' and 'make kernel'
completed without any errors. Thank you.

Regards
Claus


_
Følg VM i fodbold på tæt hold fra Yahoo!s officielle VM-side 
www.yahoo.dk/vm2002

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message