[prev in list] [next in list] [prev in thread] [next in thread] 

List:       serusers
Subject:    [Serusers] SER without any fork(), It is possible?
From:       Samuel Ayet San Andres <saaysa () teleco ! upv ! es>
Date:       2008-10-24 9:00:17
Message-ID: 1224838817.49018ea1217ab () webmail ! upv ! es
[Download RAW message or body]

Hi all,

Iīm trying to use SER (SIP Express Router) in a linux enbedded system with
uClinux. In my enbedded processor i dont have any MMU so it cant fork(), it
uses vfork() that is a cousin of fork but diferent because qhen father vfork a
child, stops until the child make execve() or exit. When I run SER on my
embedded plataform in a debug mode it shows me:

ERROR: main_loop canīt fork();

Then I try to chage all forks for vfork() but it still not working due to the
childs never make execve().

And after the explain of the context, here is the question: can I run SER
without any child? Can I run SER without making any fork? I mean that only ONE
process (witout deamonize) will run alone. I donīt need to manage more than 1
call...I only want to have one process listening to ONE IP.

I have try to change the configuration of the ser 'ser.cfg' asi show:

fork=no
childrens=0

But still without working and iīm not sure if this is the right way to run SER
without forking...

Thank you for you support.

Samuel.





-- 

_______________________________________________
Serusers mailing list
Serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic