From owner-freebsd-questions Wed Nov 5 09:33:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA23670 for questions-outgoing; Wed, 5 Nov 1997 09:33:03 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from DFDC004.HQ.AF.MIL (dfdc004.hq.af.mil [134.205.95.12]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id JAA23661 for ; Wed, 5 Nov 1997 09:32:59 -0800 (PST) (envelope-from gregorys@af.pentagon.mil) Received: by DFDC004.HQ.AF.MIL with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52) id <01BCE9E5.A77E8300@DFDC004.HQ.AF.MIL>; Wed, 5 Nov 1997 12:23:42 -0500 Message-ID: From: "Gregory, Scott, SrA, SAF/AADXT" To: "'freebsd-questions@freebsd.org'" Subject: Need Help Determining Why My System Keeps Crashing Date: Wed, 5 Nov 1997 12:34:03 -0500 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52 Encoding: 301 TEXT Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have a web server running FreeBSD 2.2.2. I have been experiencing random crashes and until today have not gotten any info as to why. I caught the server before it rebooted and was able to get this information from the console: Nov 5 10:44:02 afpubs /kernel: Out of mbuf clusters - increase maxusers! Fatal Trap 12: page fault while in kernel mode fault virtual address = 0x18 fault code = supervisor write, page not present instruction pointer = 0x8:0xf0120f0d stack pointer = 0x10:0xefbffecc frame pointer = 0x10:0xefbffef0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 25753 (httpd) interrupt mask = panic: page fault Does this help anyone? This server is used quite heavily and I can't have it rebooting for no reason. Luckly it has recovered without any problems. I have included the kernel configuration file, apache configuration file, and a hardware/software list. If anyone can assist me in stopping this system from rebooting I would be eternally gratefull. I am also trying to optimize the system for web servering so if you have any suggestions on optimizing the system I would love to have them. Please let me know I anyone needs more info. Thanks Scott *********************************************** Hardware Pentium Pro 200 128 m RAM 2940UW Controller Intel EtherExpress 10/100 NIC Software FreeBSD 2.2.2 Apache 1.2.4 - able to take up to 256 concurrent clients (I have had a peak of 198)(always running) http-analyze 1.9 - make log file stats (run daily) sshd - secure shell daemon (always running) smap, smapd - mail proxy (always running) cops - security (run daily) tripwire - security (run daily) samba - LM connection (always running) I am not running X *********************************************** Kernel Configuration File: machine "i386" #cpu "I386_CPU" #cpu "I486_CPU" #cpu "I586_CPU" cpu "I686_CPU" ident "AFPUBS" maxusers 30 options "MAXMEM=98304" options "CHILD_MAX=256" options "OPEN_MAX=256" options SYSVSHM options SYSVSEM options SYSVMSG options INET #InterNETworking options FFS #Berkeley Fast Filesystem options MFS # Added by Scott. Memory Mapped Filesystem #options NFS #Network Filesystem #options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=10 #Be pessimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers #options UCONSOLE #Allow users to grab the console #options FAILSAFE #Be conservative #options USERCONFIG #boot -c editor #options VISUAL_USERCONFIG #visual boot -c editor #options MSDOSFS #MSDOS Filesystem #options MATH_EMULATE #Support for x87 emulation config kernel root on sd0 controller isa0 controller eisa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 #disk fd1 at fdc0 drive 1 #tape ft0 at fdc0 drive 2 #controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr #disk wd0 at wdc0 drive 0 #disk wd1 at wdc0 drive 1 #controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr # Modified by Scott for Optimization #disk wd2 at wdc1 drive 0 #disk wd3 at wdc1 drive 1 #options ATAPI #Enable ATAPI support for IDE bus #options ATAPI_STATIC #Don't do it as an LKM #device wcd0 #IDE CD-ROM # Modified by Scott for Optimization #controller ncr0 #controller amd0 #controller ahb0 controller ahc0 #controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr #controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr #controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr #controller aic0 at isa? port 0x340 bio irq 11 vector aicintr #controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr #controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr #controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr controller scbus0 device sd0 #device od0 #See LINT for possible `od' options. #device st0 #device cd0 #Only need one of these, the code dynamically grows #device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr #device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr #controller matcd0 at isa? port 0x230 bio #device scd0 at isa? port 0x230 bio device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint #options PCVT_FREEBSD=210 # pcvt running on FreeBSD >= 2.0.5 #options XSERVER # include code for XFree86 #options FAT_CURSOR # start with block cursor #options PCVT_SCANSET=2 # IBM keyboards are non-std device npx0 at isa? port "IO_NPX" irq 13 vector npxintr #device apm0 at isa? disable # Advanced Power Management #options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS #controller crd0 #device pcic0 at crd? #device pcic1 at crd? #device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr #device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr #device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr #device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr #device lpt0 at isa? port? tty irq 7 vector lptintr #device lpt1 at isa? port? tty #device mse0 at isa? port 0x23c tty irq 5 vector mseintr #device psm0 at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr #device de0 device fxp0 #device vx0 #device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr #device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr #device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr #device ep0 at isa? port 0x300 net irq 10 vector epintr #device ex0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector exintr #device fe0 at isa? port 0x300 net irq ? vector feintr #device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr #device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr #device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr #device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr #device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr pseudo-device loop pseudo-device ether pseudo-device log #pseudo-device sl 1 # ijppp uses tun instead of ppp device #pseudo-device ppp 1 #pseudo-device tun 1 pseudo-device pty 8 pseudo-device gzip # Exec gzipped a.out's #options KTRACE #kernel tracing # Modified by Scott for Optimization *********************************************** Apache Configuration File: EXTRA_CFLAGS= EXTRA_LFLAGS= EXTRA_LIBS= EXTRA_INCLUDES= #CC= #OPTIM=-O2 #RANLIB= Rule STATUS=yes Rule SOCKS4=no Rule IRIXNIS=no Rule WANTHSREGEX=default Module env_module mod_env.o # Module dld_module mod_dld.o Module config_log_module mod_log_config.o Module agent_log_module mod_log_agent.o Module referer_log_module mod_log_referer.o Module mime_module mod_mime.o Module negotiation_module mod_negotiation.o Module status_module mod_status.o # Module info_module mod_info.o Module includes_module mod_include.o Module dir_module mod_dir.o Module cgi_module mod_cgi.o Module asis_module mod_asis.o Module imap_module mod_imap.o Module action_module mod_actions.o Module userdir_module mod_userdir.o # Module proxy_module modules/proxy/libproxy.a Module alias_module mod_alias.o Module rewrite_module mod_rewrite.o Module access_module mod_access.o Module auth_module mod_auth.o # Module anon_auth_module mod_auth_anon.o # Module db_auth_module mod_auth_db.o # Module dbm_auth_module mod_auth_dbm.o # Module msql_auth_module mod_auth_msql.o # Module digest_module mod_digest.o # Module cern_meta_module mod_cern_meta.o Module expires_module mod_expires.o # Module headers_module mod_headers.o # Module usertrack_module mod_usertrack.o # Module example_module modules/example/mod_example.o Module browser_module mod_browser.o