On Mon, Aug 25, 2003 at 09:53:00AM -0400, Jesse Guardiani wrote: > > You could try attaching gdb to the running process: > > > > gdb /path/to/sqwebmail pid > > > > then do 'bt' to get a backtrace of the current stack frame. Then you can > > single-step it. This will let you see where this infinite loop is > > happening. > > OK. Sounds good. I'll do that next time it happens. I don't have to compile > wth any special flags for gdb to work, do I?
Probably with '-g' if it's not there already, and make sure you do 'make install' rather than 'make install-strip' otherwise the debug symbols will be removed. > > You're not running sqwebmail under FastCGI are you? If so, I should revert > > to normal CGI. > > No, I'm not. I'd like to figure out what is causing this problem before I switch > to FastCGI. I only get bad processes like this every week or so. FastCGI isn't ready for prime-time yet. I haven't had time to debug it further, and because Sqwebmail has such a low startup overhead (compared to a Perl CGI, say) it's probably not going to give as big a performance gain as you might expect. Cheers, Brian.
