March 13, 2009
View 33bfeb9da9

The fixup function prototypes of the config variables have been extended with the group name. All the fixup functions have been updated.

Miklos Tirpak authored on 13/03/2009 13:59:28
April 4, 2008
View b4c9f986dd

Two configuration variables are introduced that can help troubleshooting memory leaks: mem_dump_pkg, and mem_dump_shm Useage:

Miklos Tirpak authored on 04/04/2008 08:40:53
December 5, 2007
View 63b50c563f

- close all the unneeded fds in child processes (=> significantly less fds used)

Andrei Pelinescu-Onciul authored on 05/12/2007 20:26:58
July 7, 2007
View faa66b464e

- added missing register_fds & get_max_open_fds() declarations

Andrei Pelinescu-Onciul authored on 07/07/2007 00:33:02
September 20, 2006
View 4fd7c9fd90

- added ser profiling patch from Hendrik Scholz <hendrik.scholz@freenet-ag.de>, adapted to the new fork functions (for more info see http://lists.iptel.org/pipermail/serdev/2006-July/007627.html)

Andrei Pelinescu-Onciul authored on 20/09/2006 10:28:42
View 2254e60418

- allow compilation without USE_TCP option

Hendrik Scholz authored on 20/09/2006 09:22:48
September 19, 2006
View 37209e1421

- applied patch from Dragos Vingarzan <vingarzan@fokus.fraunhofer.de> which moves all the forking part into 2 functions in pt.c (fork_process and fork_tcp_process). - added PROC_NOCHLDINIT rank value for Dragos's fork_process (if this value is used as child_id/rank_value the mod_child functions will not be called) - added register_procs(processes_no), used from mod_init when a module knows that it will fork some children (replaces the old process_count++ / the patch's estimated_process_count++) - added get_max_procs(): returns the maximum (estimated) number of processes

Andrei Pelinescu-Onciul authored on 19/09/2006 16:13:27
December 13, 2005
View 55a4526901

- Modules can properly register processes in SER process table - process_count function has been replaced by process_count variable - modules can increase the value of process_count in mod_init, this will be used to allocate process table that will be big enough - modules can create processes in child_init with rank PROC_MAIN - the index into process table is in last_process, this is where information about the new process should be recorded - do not forget to reset is_main in the new process otherwise it will not be terminated properly - modules should increate last_process before fork - the new child should set process_no = last_process

Jan Janak authored on 13/12/2005 12:10:15
December 5, 2005
View af93cbdf37

New timer interface: - allows adding timers dynamically - supports one shot and periodic timers - precise - allows timeouts < 0.5 s (depends on the config., by default min. timeout = 62.5 ms) - based on a 3 level hierarchical timing wheel - very fast - low overhead for timer functions (most of the time, the excetion is timer_del which take can take quite a long time in special situations) - supports "slow" timers (compile option, by default on), "slow" timer = a timer handler which is declared as possible taking a long timer to execute. - backward compatible: old timer functions are preserverd => no changes needed for the existing code (although migration to the new interface is recommended) For more information read doc/timers.txt. tm timer update will follow shortly (this week).

Andrei Pelinescu-Onciul authored on 05/12/2005 18:29:30
November 26, 2004
View f1aaf28d27

- process_count was wrong when tcp was disabled

Andrei Pelinescu-Onciul authored on 26/11/2004 16:27:22
August 24, 2004
View 53c7e0f19a

- Spelling checked - READMEs updated

Jan Janak authored on 24/08/2004 08:45:09
March 3, 2004
View 8864779123

- updated process_count() to refelect the unixsock_server - changed version number to reflect the same thing

Andrei Pelinescu-Onciul authored on 03/03/2004 08:30:27
October 24, 2003
View 9f4c52ce6c

- sock_lists completely re-organized

Andrei Pelinescu-Onciul authored on 24/10/2003 20:23:58
April 18, 2003
View 200c02768d

- fixed process_count() (forgot to add some() when I added tcp_disable)

Andrei Pelinescu-Onciul authored on 18/04/2003 13:58:15
April 15, 2003
View 5dcfb23d56

- added disable tcp support (-T or disable_tcp=yes in the cfg) - the number of tcp "worker" processes is now setable (-N or tcp_children=NN) - replaced get_out_socket w/ get_send_socket in tm/uac.c & fixed some proto stuff (proto was not set properly when called w/ PROTO_NONE) - updated man pages & INSTALL

Andrei Pelinescu-Onciul authored on 15/04/2003 20:39:37