solaris litespeed enterprise always dumps core on upgrade

I'm running litespeed on two servers, identical hardware, Sunfire X4100M2 I think. One version of litespeed is the enterprise version, the other is the standard version. Solaris 10 is the operating system for both.

When I use the upgrade feature, the standard version always works as expected. It upgrades and restarts itself, no issue.

The enterprise version never works. It upgrades itself. It works for a few seconds and then dumps core. This has happened at least 3 times, and every time I've used the upgrade.

My solution is to upgrade and to immediately disable litespeed via the SMF. With 3.3.6 it dumped core before I could disable it. When I enable it again, runs nominally.

These environments are as about as identical as you can get -- the same version of solaris, the same sun hardware, other software configurations are similar. It's something specific to the enterprise version causing the core dump.

I don't recall seeing that before. I think it just started happening with version 3.3.6.

I looked at the SMF logs -- the watchdog is taking care of the restarts and the watchdog is not terminating. Here is the tail end of the SMF logs. You can see the core dumps that I mentioned before. The last activity is when I restarted the server on March 2nd to upgrade to 3.3.6.

There are two issues here. The "signal 9" issue has nothing to do with SMF. SMF starts the watchdog and it would log any action. There have been no actions logged since March 2. I don't think SMF sent a kill signal to a child process without logging that.

If I can find the core file and if I have gdb installed on that server, I will try to do a backtrace. I agree that it's probably the watchdog that dumped core, especially since it happened during a webserver restart.

It is not useful at all, but thanks!
Only backtrace from core produced by the debug build of lshttpd is very useful. debug build is lsws-3.3.x/bin/lshttpd.dbg, you need to manually replace /opt/lsws/bin/lshttpd.3.3.x with it. You should be able find pass installation packages under lsws/autoupdate directory.

Where is the core file located? Are you using 32bit binary or 64bit?

This GDB was configured as "i386-pc-solaris2.8"...lshttpd: No such file or directory.