On Tue, Nov 18, 2014 at 03:22:36PM +0100, Reyk Floeter wrote: > On Tue, Nov 18, 2014 at 02:20:40PM +0200, Gregory Edigarov wrote: > > Hi, > > > > While downloading a big file from httpd it eats somewhere from 77 to 100% or > > even 150% cpu. > > Do you have any more details? OK, you're running -current. But how > big is your big file? What is your httpd configuration? Your dmesg? > Is the file served as static file or via FastCGI? Is it a busy web > server with many connections etc.? How-to-preproduce? >
'ktrace -di' could also give more information. But it would be easier if we could try to reproduce it or get any hints about your configuration and downloaded files. Reyk > > Is it normal? > > I've never seen such numbers with nginx. > > > > "Is 77 to 150% cpu to serve a file normal?" - Yes, of course! nginx > is not even able to utilize the provided resources of your system, > what a waste of CPU power! ... > > Reyk --