How Warden limit socket queue?


Yancey
 

Dear all!

I pushed an app with uwsgi, but it crashed. After investigation, the argument “listen” in uwsgi.ini(uwsgi config file)  is cause of crash. it’s so large, when i reduce it from 256 to 128, it will be ok. here is the error info


2015-11-02T16:35:11.57+0800 [App/0]      ERR Listen queue size is greater than the system max net.core.somaxconn (128).

2015-11-02T16:35:11.57+0800 [App/0]      ERR VACUUM: pidfile removed.

my os argument is:

paas@tsh-cf-dev-01:~/hello-python$ cat /proc/sys/net/core/somaxconn  

1024

Who knows where can i config these network args.?

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.