Lighttpd and fcgihandler processes

28 views
Skip to first unread message

Patito Feo

unread,
Aug 23, 2019, 4:39:13 AM8/23/19
to web2py-users
Hi,

I have web2py running over lighttpd. By the moment my currents apps dont have high load average.
Checking my processes, i found a single python fcgihandler.py process. 

python /home/www-data/web2py/fcgihandler.py

Is this normal? 
How affect this in case of high loads?
Is the a way to run more threads? Will this help?
What happend on multiple concurrent requests?

Apologies for my lack of knowledge and thank you for your comments,


Regards,

Patito Feo

unread,
Oct 26, 2019, 5:55:37 AM10/26/19
to web...@googlegroups.com
Hi again,

No answers to this post.
Now i have more questions about fcgihandler and the fcgi.py file.

Fcgihandler is supposed to call fcgi.py. How can i be sure the pyc is the one been used?
is there a way to speed up or compile this libraries like pypy or something?

2019-10-28 12:12:56: (mod_fastcgi.c.1642) released proc: pid: 0 socket: unix:/tmp/fcgi.sock load: 78
2019-10-28 12:12:56: (mod_fastcgi.c.1642) released proc: pid: 0 socket: unix:/tmp/fcgi.sock load: 77
2019-10-28 12:12:56: (mod_fastcgi.c.1642) released proc: pid: 0 socket: unix:/tmp/fcgi.sock load: 76
2019-10-28 12:12:56: (mod_fastcgi.c.1642) released proc: pid: 0 socket: unix:/tmp/fcgi.sock load: 75
2019-10-28 12:12:56: (mod_fastcgi.c.1642) released proc: pid: 0 socket: unix:/tmp/fcgi.sock load: 74
2019-10-28 12:12:56: (mod_fastcgi.c.1642) released proc: pid: 0 socket: unix:/tmp/fcgi.sock load: 73
2019-10-28 12:12:56: (mod_fastcgi.c.1642) released proc: pid: 0 socket: unix:/tmp/fcgi.sock load: 72
2019-10-28 12:12:56: (mod_fastcgi.c.1642) released proc: pid: 0 socket: unix:/tmp/fcgi.sock load: 71
2019-10-28 12:12:56: (mod_fastcgi.c.1642) released proc: pid: 0 socket: unix:/tmp/fcgi.sock load: 70

How i do balance the fcgihandler between the lighttpd workers?


Cheers,
Reply all
Reply to author
Forward
0 new messages