Re: common/sockets.cxx && not available - error7/24: Cannot allocate memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 h323gk ~ # ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
pending signals                 (-i) 8183
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 8183
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

I had modified /etc/init.d/gnugk script to modifty "open files" before start-stop-daemon, i'll notice you tomorow about gnugk crash.

now ulimit -n should be 1024000 ( i read somewhere that fd should be max 4096, let's see what is happening).

Dani
 
On 10/25/07, Zygmuntowicz Michal <m.zygmuntowicz@xxxxxxx > wrote:
Also remember that each PWLib thread consumer 1 or 2 file descriptors.
Anyway, too many threads is also not an option. I don't think you need more
than 64 threads. And you can set RtpHandlerNumber to much lowervalue.

----- Original Message -----
From: "Dani Popa" < dani.popa@xxxxxxxxx>
Sent: Thursday, October 25, 2007 12:42 PM


> HI Jan,
>      as i see in gentoo system
>
> h323gk gnugk # ulimit
> unlimited
>
> i can set it to 20480 with next command:
>
> h323gk gnugk # ulimit -f 20480
>
> i setup
>
> fs.file-max=102024
>
> fs.file-max=This is the number of concurrently open file descriptors
> throughout the system. It defaults to 8192.
>
> I increased abnormaly
>
> CallSignalHandlerNumber=60
> RtpHandlerNumber=30


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/



--
Dani Popa
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux