Hi, I copied mod_opal to mod_mymodule which is C++ module and remove all the
codes. I copied mod_skel.c to my module and rename it to .cpp. Compiled fine
in VS 2008 SP1 but
still I couldn't load the module in FS. The FS console still complains "dll
sym error.". If I rename mod_mymodule.cpp to .c,
Oh thank you Michael for answering all my dumb questions. :D I agree with
you Interoperability between unmanaged and managed code is such a PITA. I
think I am going back to C++ module for the moment since the unmanaged API
isn't "made easy" in managed code yet. If I have the time later, I will go
You have to watch out some linux will still give out 8MB even when we
say DO NOT. So set 'ulimit -s 240' before starting FS.
ulimit -c unlimited
ulimit -d unlimited
ulimit -f unlimited
ulimit -i unlimited
ulimit -n 99
ulimit -q unlimited
ulimit -u unlimited
ulimit -v unlimited
ulimit -x un
freeswitch should set its own stack if you don't have it set, it will
also tell you if it should be reset when you start. The limits you
state are all theoretical, depends on other limitations other than ram.
Mike
On Nov 2, 2009, at 9:53 AM, Lei Tang wrote:
Hi Michael and Brian, Thanks fo
Hi Michael and Brian, Thanks for your answers.
Brian, Did you mean set the thread stack size to 240KB? Is it enough for
FS? If thread stack size is 240kB, so FS can create about 4000 threads and
handle 2000 concurrent call?
2009/11/2 Brian West
> Step 1. TRY IT.
>
> We never recommend running
Step 1. TRY IT.
We never recommend running on a 32bit system EVER. Even our spec
sheet says 64bit is recommended. You should get more than 500 on a
32bit machine if it sets the stack size properly to 240 per thread.
/b
On Nov 2, 2009, at 3:14 AM, Lei Tang wrote:
Hi All, As I known FS
That would be the case if we used standard 8MB stack size, but we do
not.
Mike
On Nov 2, 2009, at 4:14 AM, Lei Tang wrote:
> Hi All, As I known FS usually use two thread to handle one call,
> one for inbound and one for outbound. In 32bits system, a
> process's memory is limited to 2GB,
Hi All, As I known FS usually use two thread to handle one call, one for
inbound and one for outbound. In 32bits system, a process's memory is
limited to 2GB, So I think a FS process can create up to 500 threads, and
handle 250 call in the same time. Is it right? How if FS run in 64bits
system?
Basically, if you want to do something that's not "made easy" for language
plugins, you just do it the C way, like any other FreeSWITCH C module. The
mod_managed swig wrappers expose nearly every function.
The difficult part is that some of the indirect types (pointers to types and
function poi
Hi, I would like to raise this question again since it doesn't seem to have
an answer yet.
I built a .NET module which implements IAppPlugin and IApiPlugin. I looked
at the /contrib/verifier/eventsocket and it is actually the client to
connect to FS through mod_event_socket (correct me if I'm w
10 matches
Mail list logo