SliTaz SliTaz Forum

You are not logged in.

#1 2013-06-20 08:03:32

flywithme
Member
Registered: 2013-06-20
Posts: 3

Help:how to enlarge the number of open files

slitaz default open file number is 1024,but i need more,

so(1) i add "ulimit -n 20480" to /etc/rc.local and then reboot the system,it doesn't work;

  (2)modify /usr/include/bits/typesizes.h :#define _FD_SETSIZE_ 20480,it also doesn't work.

   who knows how to set it,ths

Offline

#2 2013-06-20 10:32:46

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Help:how to enlarge the number of open files

Why do you need more? Give a real world situation where this would be essential.

Offline

#3 2013-06-25 04:45:53

flywithme
Member
Registered: 2013-06-20
Posts: 3

Re: Help:how to enlarge the number of open files

TKS for your attention, our program use tcp/ip heart message to Dual-redundant,so we run our program in few minutes then error message: too many open files,program ruins.

if any person encounters such problems and has any solutions ,pls help me ,TKS

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]