hallo
i am the big fun of mathopd and always trying to use it when it comes t ooutput static content.
 
On my new project and server i installed latest beta.
And mathopd acts weird for me.
It runs well but after some time and then CPU load falls from ~30% to 1-4%. pages do not load at this time.
i wrote small bash script to check if mathopd loaded and if it eats more then 10% pf CPU, otherwise script tryes to restart mathopd.
But it is not good way to use this great http server :).
So i ask some advices.
 
here is some details about my system
Also attached a part of errorLog (mathoped was run with -d key)
 
[EMAIL PROTECTED] mathopd-1.5b19]# uname -a
FreeBSD inferno.domain.com 5.1-RELEASE FreeBSD 5.1-RELEASE #1: Mon Dec 22 00:46:21 EET 2003     [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKERNEL  i386
[EMAIL PROTECTED] mathopd-1.5b19]# df -h
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/ad0s1a   248M    83M   145M    36%    /
devfs         1.0K   1.0K     0B   100%    /dev
/dev/ad0s1e   248M    12K   228M     0%    /tmp
/dev/ad0s1f    70G   9.1G    55G    14%    /usr
/dev/ad0s1d   248M    33M   195M    14%    /var
procfs        4.0K   4.0K     0B   100%    /proc
P4 2.4 1Gb RAM.
 
 
Thank you in advance.
 
 
Fri Dec 26 12:27:56 2003 [23743] read_connection: 219 0 2048 372
Fri Dec 26 12:27:56 2003 [23743] process_request: 
/home/fullprofit/slavko/12/gkl9/0006_t.jpg
Fri Dec 26 12:27:56 2003 [23743] get_path_info: 
open("/home/fullprofit/slavko/12/gkl9/0006_t.jpg") = 313
Fri Dec 26 12:27:56 2003 [23743] get_path_info: curdir = 
"/home/fullprofit/slavko/12/gkl9"
Fri Dec 26 12:27:56 2003 [23743] get_mime: type=image/jpeg, class=1
Fri Dec 26 12:27:56 2003 [23743] process_request finished (s=0)
Fri Dec 26 12:27:56 2003 [23743] fill_connection: 313 174 7731 7731
Fri Dec 26 12:27:56 2003 [23743] write_connection: 219 0 7905 7905
Fri Dec 26 12:27:56 2003 [23743] write_connection: 439 4260 1282 1282
Fri Dec 26 12:27:56 2003 [23743] close_connection: 439
Fri Dec 26 12:27:56 2003 [23743] fds:         4  219  214  235  379  251  321  462  
455  225  104  229  320  383  416  107  512  351  281   45  221  454  269  108  291  
154  529   81  444   61  390   55  236  477  203  456  485  310   96  367  120  135  
376  513  245   91  248   30  208   11  515  447  111   62  143  334  180  430  234  
137  166  411  239  471  294  401  409  170   20   36   42   15  230  305   32  122  
452  498  329  249  231  303  220  399  387  145  434  243  295  499  126  326  352  
431  206  147  260  194  169  422   14  284  371   29  433  426   73  449  459  301  
346  146  510  138   10  207  372   43  286  445  285  523  395  279  237  114  425   
65  424   86  489   89  528   79  365  168   24  184   35   28  503   70    9  173  
252  197  160  403  112  507  526  193  283  354  418  508  257  446  331  287   46  
451   50  440   13  268  307   21  490  142  158  380  125  271  475   18  467  375  
339  116  113   67  412  373  213  533  148  364   17  374   99
Fri Dec 26 12:27:56 2003 [23743] events:      1    1    1    1    1    1    1    1    
1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1 
   1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1   
 1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    
1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1 
   1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1   
 1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    
1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1 
   1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1   
 1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    
1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1    1 
   1    1    1    1    1    1    1    1    1
Fri Dec 26 12:27:56 2003 [23743] revents:     0    0    0    0    0    0    0    0    
0    0    0    0    0    0    0    0    0    0    0    1    0    0    0    0    0    0 
   0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0   
 0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    
0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0 
   0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0   
 0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    
0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0 
   0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0   
 0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    
0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0 
   0    0    0    0    0    0    0    0    0


Fri Dec 26 13:21:00 2003 [24886] write timeout to 218.75.177.215[1450]
Fri Dec 26 13:21:05 2003 [24886] write timeout to 220.244.92.166[1669]
Fri Dec 26 13:21:14 2003 [24886] write timeout to 61.94.213.24[3927]
Fri Dec 26 13:21:27 2003 [24886] write timeout to 61.233.154.166[2308]
Fri Dec 26 13:21:35 2003 [24886] write timeout to 203.130.195.89[50328]
Fri Dec 26 13:21:41 2003 [24886] write timeout to 203.130.195.89[50327]
Fri Dec 26 13:21:41 2003 [24886] write timeout to 80.196.11.157[2935]
Fri Dec 26 13:21:45 2003 [24886] write timeout to 62.234.6.218[3394]
Fri Dec 26 13:22:09 2003 [24886] write timeout to 213.244.194.87[1652]
Fri Dec 26 13:22:31 2003 [24886] write timeout to 61.233.154.165[3682]
Fri Dec 26 13:22:34 2003 [24886] write timeout to 203.130.195.89[50413]

Reply via email to