Thank you, Andrew!
I try to simulate 1.000 connections and I got exception ValueError: too 
many file descriptors in select(). I use Windows OS.
I found the solution of this problem here 
https://docs.python.org/3/library/asyncio-eventloops.html#asyncio.ProactorEventLoop
Is there some way to use it with Channels and Daphne?

четверг, 5 апреля 2018 г., 9:41:30 UTC+3 пользователь Andrew Godwin написал:
>
> No, there is no hard limit programmed into Daphne. It will keep accepting 
> as long as it can.
>
> Andrew
>
> On Wed, Apr 4, 2018 at 11:30 PM, Алексей Кузуб <roni...@gmail.com 
> <javascript:>> wrote:
>
>> But no limit in params or in some other place?
>>
>> среда, 4 апреля 2018 г., 20:00:11 UTC+3 пользователь Andrew Godwin 
>> написал:
>>>
>>> It depends on your server and how busy the connections are. If you need 
>>> more you should run more instances of Daphne.
>>>
>>> Andrew
>>>
>>> On Wed, 4 Apr 2018, 05:21 Алексей Кузуб, <roni...@gmail.com> wrote:
>>>
>>>> Hello! How many connections Channels 2.0 can handle and keep open 
>>>> simultaneously? And how should I configure Daphne that increases this 
>>>> number?
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to django-users...@googlegroups.com.
>>>> To post to this group, send email to django...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/django-users.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/django-users/641b59f8-ed76-4a08-a7f2-06963e7d183f%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/django-users/641b59f8-ed76-4a08-a7f2-06963e7d183f%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com <javascript:>.
>> To post to this group, send email to django...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/9602d8c9-3316-4455-b14c-9da9e20217b8%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/9602d8c9-3316-4455-b14c-9da9e20217b8%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/50bd42a4-7110-4205-8f9b-32529663db3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to