I've got a problem. I'm getting a kernel panic every three days or so.
The log has:
Thu Apr 28 15:16:36 2005
panic(cpu 1): stack_alloc: no space left for stack maps
Latest stack backtrace for cpu 1:
Backtrace:
0x000857F4 0x00085C24 0x000287B4 0x00039FB0 0x0003F50C
0x0003F5A8 0x0003F560
Proceeding back via exception chain:
Exception state (sv=0x02017A00)
PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000;
LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
Kernel version:
Darwin Kernel Version 6.8:
Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC
I'm not too familiar with finding problems using backtraces and such
and could use a little advice tracking this down. I suspect this
problem was caused by a fix to another (worse) problem I was having
with file limits. My fix was to put:
ulimit -n unlimited
in rc.common. I suspect the process that was hitting the file limit
(php? apache?) is now causing the kernel panic. The file limit problem
was causing my websites to fail many times a day.
Any suggestions on how to track down the real problem?
System Info:
XServe Dual 1.0Ghz
2 Gig RAM
BootROM 4.4.4f1
Mac OS X Server 10.2.8 (6R73)
phpinfo:
Darwin Kernel Version 6.8
PHP Version 4.3.7
Apache 1.3.33 mod_ssl/2.8.22 OpenSSL/0.9.6i
Other Installs
OpenBase (SQL) 8.04
Thanks for any help,
Robert
---------------------------------
Robert Duran
email@hidden
---------------------------------