Re: [Mod-fcgid-users] Weird behavior or what?

2009-08-25 Thread Ivan Voras
2009/8/19 Noor mlist-fc...@orientalsensation.com:

tldr;

 According to these findings, the best benchmark is when
 MaxProcessCount is set to 8 (which is number of CPU's). Is this just
 an accident? According to so many tips and pages I read on the

No. In general, a thread-pool design, which is what mod_fcgid+PHP
effectively emulates, will peak with the number of worker threads
equal to the number of active CPUs. Note that this is in fact a very
logical result, since PHP processing is CPU-bound.

 Internet (and even its default value,) this variable should be around
 100. If you notice the last benchmark, when I put 64 in this variable,

This might be true in the general case if PHP is used as mod_php and
Apache handles not only PHP requests but also other, static content
delivery (which make serving IO and network latency bound). In that
case, and interpolated over real-life workload, increasing the number
of server threads or processes to high number will be beneficial
simply because the vast majority of them will sleep in a point in
time.

 I got 26 failed transactions. While when I put only 8 working
 processes, I got no failures and the benchmark had the best times and
 records!

Overloading your CPUs can do that, yes.

 And while you're at it, I'll through in another question: How does
 eAccelerator/FastCGI manage the shared memory segments? According to

Very, very badly, and for silly reasons too. APC and eAccelerator
could be upgraded with code that would make them use truly shared
memory, but for whatever reasons (possibly nobody has paid for the
development), they don't.

-- 
f+rEnSIBITAhITAhLR1nM9F4cIs5KJrhbcsVtUIt7K1MhWJy1A==

--
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
___
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users


Re: [Mod-fcgid-users] Parse POST data

2009-03-13 Thread Ivan Voras
2009/3/13 double nin...@gmx.at:
 Hello,

 If I am uploading a video to a mod-fcgid server, the POST
 data is collected and submitted to the fastcgi-application
 in bulk.
 Is there any chance to configure mod-fcgid, so that the
 application can read from stdin what is already uploaded?

 I want to create a upload status bar.

No, this is pretty frequently needed feature but AFAIK fcgid will
always buffer data.

--
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
___
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users


Re: [Mod-fcgid-users] mod_fcgid on FreeBSD amd64

2008-09-09 Thread Ivan Voras
2008/9/7 Richard Tector [EMAIL PROTECTED]:
 I'm having problems on FreeBSD 7.0 amd64 with mod_fcgid 2.2. I can
 reproduce the problem on 3 different amd64 based machines. One with
 apache 2.0.51 and the others with apache 2.2.9.
 Apache fails to start with:
 [Sun Sep 07 16:29:17 2008] [emerg] (12)Cannot allocate memory:
 mod_fcgid: Can't create share memory for size %zu byte

 Setting SharememPath makes no difference (and it's set to a sane default
 by the ports system).

 Exactly the same configuration works just fine on a FreeBSD 7.0 box, but
 running the i386 variant.

 Any thoughts?

Assuming you adequately configured shmmax and other configuration
variables, it should just work - I have many servers with the
configuration you described.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users