Re: [Cppcms-users] xsendfile
Brought to you by:
artyom-beilis
From: Markus R. <us...@ma...> - 2009-12-06 19:08:57
|
Artyom wrote: > Ok, first of all what "server.*" configuration are you using > What Server API do you use, what model threaded or prefork? > How many threads processed do you define? Sorry, I forgot to mention that. I tested with prefork and thread with up to 50 processes/threads. > What buffer parameter do you use? It seems that I overlooked that in the tutorial? I did not know that this value exists. > I would recommend: > > Make "server.buffer" parameter big as twice as exepected > cuncurrent requests no. > > Also provide reasonable number for "server.threads" or "server.procs" > according to the mode you use. > > The default workers number is 5 which may explain the issue. No, the problem was the buffer. I changed it to 100 and now there is no such problem. Thank you very much for that hint! It works great now. It runs incredible faster then before. thanks Markus P.s. Unfortunately I still can't reach the primary page for the wiki, so I can't change content there. -- http://www.markus-raab.org | Takt ist etwas, das niemand bemerkt, wenn -o) | man es hat, das aber jeder bemerkt, wenn Kernel 2.6.24-1-a /\ | man es einmal nicht hat. Gina Lollobrigida on a x86_64 _\_v | |