FreeBSD 5.2.1 kernel w/ SMP under high load = panic

Hugo Silva klr at 6s-gaming.com
Sun Aug 1 09:11:14 PDT 2004


I am running a Dual Xeon 2.8ghz w/ SMP, SCHED_ULE on FreeBSD
5.2.1-RELEASE-p9.

Whenever I load the server a bit more (let seti at home run, compile stuff in
multiple jails, etc), it will simple go offline. I confirmed with the
datacenter and it is indeed a panic, but the datacenter didn't give me the
panic message. I know for *sure* it's because of the high loads.

I need to sort this out, this is a powerful server being cut because of
FreeBSD/SMP, and I know there is a kernel option to prevent the panic, I
read about it ages ago on a forum. But I can't locate it. That user said
if he disabled SMP, panics would stop. But another user suggested adding a
kernel option (which I simply don't remember), and panics stopped, even
with SMP.

I tried KVA_PAGES=512, but it only caused another panic, this time as soon
as the system started up..

syncing disks, buffers remaining... panic: pmap_invalidate_range:
interrupts disabled
cpuid = 0;
boot() called on cpu#0
uptime: 9s

That was the most I got from the datacenter since the sysadmin is on
vacations and the guy I spoke to isn't very technical.

So, KVA_PAGES isn't the solution..

Here are my rc.conf & sysctl.conf & loader.conf:

rc.conf:
sshd_enable="YES"
usbd_enable="YES"
sendmail_enable="NONE"
syslogd_enable="YES"
syslogd_flags="-ss"
linux_enable="YES"
inetd_enable="NO"
clear_tmp_enable="YES"
enable_quotas="YES"
check_quotas="YES"
update_motd="NO"
pf_enable="YES"
pf_logd="YES"
pf_conf="/etc/pf.conf"


sysctl.conf:

security.bsd.see_other_uids=0
net.inet.tcp.recvspace=32768
net.inet.tcp.sendspace=32768
net.inet.icmp.drop_redirect=1
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=2
net.inet.tcp.log_in_vain=0
net.inet.udp.log_in_vain=0
kern.maxfiles=32768
security.jail.set_hostname_allowed=0
kern.maxfilesperproc=2000
kern.maxprocperuid=400
kern.coredump=0
net.inet.tcp.msl=7500
kern.ipc.somaxconn=16424


loader.conf:

hint.acpi.0.disabled=1
kern.ipc.nmbclusters=32768
kern.ipc.maxsockets=16424
kern.maxproc=8000


These are my custom kernel options:

options                 IPSTEALTH
options                 QUOTA
options                 RANDOM_IP_ID
options                 SC_DISABLE_REBOOT




Any help is really appreciated, I have this server idling (compile lots of
stuff=die) for 2 weeks now :/

Regards



More information about the freebsd-questions mailing list