Re: [Mod-fcgid-users] large fils uploading and apache Memory overflow

2008-02-13 Thread Ang FAN
Hi,Gabriel Thank you very much, and your solutions is properly good. I tried it several days ago,but CGI application was much slowly than fastcgi application , I don't know why it work that.and some times the feedback of the CGI application very slow,it confuse me for a long time. By the way, cou

Re: [Mod-fcgid-users] large fils uploading and apache Memory overflow

2008-02-13 Thread Gabriel Barazer
Hi, While the mod_fcgid module hasn't received the complete input data, nothing is sent to the FastCGI application (which isn't even aware of such a request). And even with the mod_fcgid 2.2, there is still a bug somewhere and apache leaks memory till death (I'm sure of it, I'm the one who rep

Re: [Mod-fcgid-users] large fils uploading and apache Memory overflow

2008-02-12 Thread Ang FAN
sorry, there are a wrong, while(FCGX_Accept(&request.in,&request.out,&request.err,&request.envp) shoulde be: while(FCGX_Accept_r(&request) == 0) 在 08-2-13,Ang FAN<[EMAIL PROTECTED]> 写道: > Hi, > Thank you,but I do that as you say,the memory still keep growing. > > 你好,用中文吧,我按你说的改了,但是内存(apache)还是不

Re: [Mod-fcgid-users] large fils uploading and apache Memory overflow

2008-02-12 Thread Ang FAN
Hi, Thank you,but I do that as you say,the memory still keep growing. 你好,用中文吧,我按你说的改了,但是内存(apache)还是不停的长,我的程序是这样写的,你看看有什么问题吗? int main (void) { streambuf * cin_streambuf = cin.rdbuf(); streambuf * cout_streambuf = cout.rdbuf(); streambuf * cerr_streambuf = cerr.rdbuf();

Re: [Mod-fcgid-users] large fils uploading and apache Memory overflow

2008-02-12 Thread 潘庆峰
1. upgrade your mod_fcgid to 2.2 2. mod_fcgid 2.2 support a new configuration "MaxRequestInMem" (default 64k), every http request longer than 64k will swap to tmp file 在2008-02-13,"Ang FAN" <[EMAIL PROTECTED]> 写道: -- Forwarded message -- From: Ang FAN <[EMAIL PROTECTED]> Da