AW: [En-Nut-Discussion] Limit to TCP connections?

Harald Kipp harald.kipp at egnite.de
Thu Dec 15 17:21:45 CET 2005


No idea wether it's related to your problem, but you shouldn't

At 18:07 15.12.2005 +0200, you wrote:

>         NutThreadSetPriority(254);

Initially the idle thread uses 255, which had been changed
later to 254. All other threads should use higher priorities.
If it's too high, it may conflict with other system threads
as well. Thus a range of 32..128 should be sufficient for
all applications. Btw. 64 is the default. Why not use 65 for
lower priorities?

Last not least: The number of open files is limited by
FOPEN_MAX, which is 8 by default. The first three
are reserved for stdin, stdout and stderr.

Harald




More information about the En-Nut-Discussion mailing list