I used to run analog on a Solaris 2.6 server with the form interface. No
problems, except the server was slow. And when I wanted to do 'live' queries
of 12 months of log files, it often took over 30 minutes to get the results.
But it worked fine.
I then migrated it to a speedy server running Linux, and the same jobs took
about 45 seconds. Nice.
Now our log files are larger, and 12 months of log analysis take about 65-70
seconds. Works fine from the command line, even when manually calling the perl
cgi and feeding it the variables from the command line.
But when done from the Web browser, the results are never done processing.
Using the 'top' program on the server, I can see the 'analog' process chugging
along at about 99% of the CPU, as the only process running. After 60-61
seconds, the process changes to 'sleeping' with 0% of the CPU and it never
finishes so the results never get passed back to the browser.
If I reduce the number of log files so the processing takes less than 60
seconds, everything works fine and the results come back to the browser.
I am fairly sure that this is not an Apache web server configuration issue,
which may leave the possibility of an OS kernel setting.
Has anyone run into this before and solved it - or do you have pointers? I
have not found anything in the list archives which seems to address this issue
- there rare some threads speaking of browser timeouts due to having too short
a timeout value in httpd.conf, but this is not the same problem.
Hoping for help, I remain,
Edward Spodick, HKUST Library, Hong Kong
[EMAIL PROTECTED]
Server:
Linux 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686 i686 i386
GNU/Linux
TOP output for single process:
10:17:02 up 3 days, 22:23, 2 users, load average: 0.20, 0.23, 0.10
1 processes: 1 sleeping, 0 running, 0 zombie, 0 stopped
CPU states: 0.0% user 0.0% system 0.0% nice 0.0% iowait 100.0% idle
Mem: 1029360k av, 1011524k used, 17836k free, 0k shrd, 181164k buff
578408k actv, 24k in_d, 43396k in_c
Swap: 1020116k av, 2496k used, 1017620k free 725708k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
20057 webadmin 25 0 16032 15M 744 S 0.0 1.5 0:59 0 analog
Apache config settings from httpd.conf:
Apache/2.0.40 (Red Hat Linux)
ServerTokens OS
Timeout 1200
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 15
# prefork MPM
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 25
MaxClients 150
MaxRequestsPerChild 1000
</IfModule>
# worker MPM
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
# perchild MPM
<IfModule perchild.c>
NumServers 5
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 20
MaxRequestsPerChild 0
</IfModule>
User apache
Group apache
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------