Hi. First of all thanks for the ability to index pages with spiders and pretty URLs in recent releases.
But I face with problem when I'm trying to use application in fcgi mode under load (simulated by mnogosearch bot). Application crashes after up to 1 hour work. CPU load is 100% all the time (caused by mysql, not Wt) gdb webui.fcgi webui.fcgi.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `webui.fcgi'. Program terminated with signal 8, Arithmetic exception. Reading symbols from /usr/local/lib/libboost_thread.so...done. Loaded symbols for /usr/local/lib/libboost_thread.so Reading symbols from /usr/local/lib/libboost_signals.so...done. Loaded symbols for /usr/local/lib/libboost_signals.so Reading symbols from /usr/local/lib/libboost_regex.so...done. Loaded symbols for /usr/local/lib/libboost_regex.so Reading symbols from /usr/local/lib/libboost_program_options.so...done. Loaded symbols for /usr/local/lib/libboost_program_options.so Reading symbols from /usr/local/lib/libboost_filesystem.so...done. Loaded symbols for /usr/local/lib/libboost_filesystem.so Reading symbols from /lib/libpthread.so.2...done. Loaded symbols for /lib/libpthread.so.2 Reading symbols from /usr/local/lib/libmysqlpp.so...done. Loaded symbols for /usr/local/lib/libmysqlpp.so Reading symbols from /usr/local/lib/libfcgi.so.0...done. Loaded symbols for /usr/local/lib/libfcgi.so.0 Reading symbols from /usr/local/lib/libfcgi++.so.0...done. Loaded symbols for /usr/local/lib/libfcgi++.so.0 Reading symbols from /usr/local/lib/libboost_date_time.so...done. Loaded symbols for /usr/local/lib/libboost_date_time.so Reading symbols from /usr/lib/libstdc++.so.5...done. Loaded symbols for /usr/lib/libstdc++.so.5 Reading symbols from /lib/libm.so.4...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.15...done. Loaded symbols for /usr/local/lib/mysql/libmysqlclient.so.15 Reading symbols from /lib/libz.so.3...done. Loaded symbols for /lib/libz.so.3 Reading symbols from /lib/libcrypt.so.3...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0809c471 in Wt::Server::main (this=0xbfbfeda0) at /usr/home/under/PROJECTS/light/src/wt/src/fcgi/Server.C:452 452 int i = lrand48() % sessionProcessPids_.size(); [New LWP 100441] (gdb) bt #0 0x0809c471 in Wt::Server::main (this=0xbfbfeda0) at /usr/home/under/PROJECTS/light/src/wt/src/fcgi/Server.C:452 #1 0x0809e9fb in Wt::WRun (argc=1, argv=0xbfbfeeec, createApplication=0x8054980 <createApplication(Wt::WEnvironment const&)>) at /usr/home/under/PROJECTS/light/src/wt/src/fcgi/Server.C:709 #2 0x08054a0f in main (argc=1, argv=0xbfbfeeec) at /usr/home/under/PROJECTS/light/src/webui/main.cxx:11 (gdb) fr 0 #0 0x0809c471 in Wt::Server::main (this=0xbfbfeda0) at /usr/home/under/PROJECTS/light/src/wt/src/fcgi/Server.C:452 452 int i = lrand48() % sessionProcessPids_.size(); (gdb) Seems that somehow sessionProcessPids_.size() is zero, thus division by zero exception in thrown. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
