Actions
Bug #1250
closedHigh load with lighttpd + fastcgi
ASK QUESTIONS IN Forums:
No
Description
I had writen a very simple fastcgi app,but when i run it on a high load server it sucks up all the CPU time even if i had already stop the http request
top - 18:00:50 up 15 days, 9:14, 4 users, load average: 1.00, 1.02, 1.02 Tasks: 110 total, 2 running, 106 sleeping, 2 stopped, 0 zombie Cpu(s): 0.6% us, 0.5% sy, 0.0% ni, 98.9% id, 0.0% wa, 0.0% hi, 0.0% si Mem: 513456k total, 441712k used, 71744k free, 119660k buffers Swap: 1020088k total, 45352k used, 974736k free, 92488k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1228 root 18 0 3616 1292 588 R 99.9 0.3 78:45.90 lighttpd 1 root 16 0 1624 492 460 S 0.0 0.1 0:00.77 init 2 root RT 0 0 0 0 S 0.0 0.0 0:00.17 migration/0
time(NULL) = 1183197649 poll([{fd=3, events=POLLIN}, {fd=102, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=-1}, {fd=187, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=112, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=-1}, {fd=76, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=109, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=143, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=183, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=39, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=48, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=197, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=106, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=-1}, {fd=108, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=56, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=29, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=104, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=92, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=157, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=-1}, {fd=62, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=202, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=125, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=184, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=-1}, {fd=-1}, {fd=158, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=77, events=POLLIN, revents=POLLIN|POLLHUP}, {fd=-1}, {fd=58, events=POLLIN, revents=POLLIN|POLLHUP}, ...], 102, 1000) = 78 ioctl(102, FIONREAD, [0]) = 0 ioctl(187, FIONREAD, [0]) = 0 ioctl(112, FIONREAD, [0]) = 0 ioctl(76, FIONREAD, [0]) = 0 ioctl(109, FIONREAD, [0]) = 0 ioctl(143, FIONREAD, [0]) = 0 ioctl(183, FIONREAD, [0]) = 0 ioctl(39, FIONREAD, [0]) = 0
-- ivyrake
Updated by darix over 17 years ago
did you use any library for the FastCGI handling like libfcgi e.g.?
Updated by Anonymous over 17 years ago
Oh, I found the fixing in 1245:)
-- ivyrake
Updated by darix over 17 years ago
can you test the fix in 1245 if it fixes for the issue for you?
Updated by gstrauss over 8 years ago
- Description updated (diff)
- Status changed from New to Missing Feedback
- Assignee deleted (
jan)
Actions
Also available in: Atom