Thanks, Koen.

Koen Deforche wrote:
Hey Andrii,

2009/8/20 Andrii Arsirii <[email protected]>:
  
I have static linkage. But threading is enabled anyway:

>From cmake:
** Using supplied mxml library.
** Enabling multi threading.
** Enabling FastCGI.
** Enabling built-in httpd.
    

That seems indeed okay.

  
As for fastcgi - do you know how to configure it?
    

There is a deficiency in our Server.C implementation, in the sense
that it only handles one request at a time.
I have created a ticket for this
(http://redmine.webtoolkit.eu/issues/show/73), as it should be rather
straight forward to solve.

As a result, you will need to have as much of these processes around
as you want to handle simultaneous requests.
One way to achieve this is by increasing your maxClassProcesses count:

FastCgiConfig -idle-timeout 400 -maxClassProcesses 10

A workaround in the mean time could perhaps be to deploy with apache a
reverse proxy which forwards requests to a wthttpd application ?
  

This is not a critical issue right now, although it makes some inconveniences.

Here is the 'top' output:
PID USERNAME    THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
57011 www           1   4    0 26360K 17648K accept 0   0:00  0.00% admin_portal.fcgi
57017 www          11  44    0 45048K 35232K ucond  0   0:00  0.00% admin_portal.fcgi

Worker process has 11 threads, but gateway process has only 1 thread.
Is that what you mean?

-- 
Andrii Arsirii
Streamco
http://streamco.org.ua
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to