Hi,
I have a problem with ser 0.8.11pre36 (i386/linux) which is the stable
version downloaded from cvs: Often when I start it, it pretends to be ok
(log file says Listing on ....) but in fact all ser processes are dead.
I need to start it a few times usually, to get it running. Once it is
running and I try to shut it down it writes a lot (thousands!) of error
messages into the log file. Messages in the log seem to be repeated.
This also occurs if no single message has been sent to it.
I attach the config file I'm using and a short extract from the log file.
Any ideas appreciated! (I did not have this problem with ser version
0.8.11pre26 which I used before.)
Thanks,
Mario
--
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA. Privileged/Confidential Information may
be contained in this message. If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. In such case, you should destroy this
message and kindly notify the sender by reply email. Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official
business of the University of Stirling shall be understood as neither
given nor endorsed by it.
#
# $Id: ser.cfg,v 1.18 2003/05/06 16:19:15 janakj Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode
debug=7
fork=no
log_stderror=yes
*/
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
alias="cs.stir.ac.uk"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
#loadmodule "/usr/local/lib/ser/modules/pscon.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
modparam("auth_db", "password_column", "password")
#modparam("pscon", "polserver_name",
"d254203.cs.stir.ac.uk")
#modparam("pscon", "polserver_port", 9997)
#modparam("pscon", "lead_msg", "")
#modparam("pscon", "tail_msg", "")
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (len_gt( max_len )) {
sl_send_reply("513", "Message too big");
break;
};
# exec_pol();
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
record_route();
# loose-route processing
loose_route();
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("cs.stir.ac.uk", "subscriber")) {
www_challenge("cs.stir.ac.uk", "0");
break;
};
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# forward to current uri now; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
if (!t_relay()) {
sl_reply_error();
};
}
Jul 7 12:20:47 d254203 ser: Listening on
Jul 7 12:20:47 d254203 ser: 127.0.0.1 [127.0.0.1]:5060
Jul 7 12:20:47 d254203 ser: 139.153.254.203 [139.153.254.203]:5060
Jul 7 12:20:47 d254203 ser: Aliases: d254203.cs.stir.ac.uk:5060 localhost:5060
localhost.localdomain:5060 d254203:5060 cs.stir.ac.uk:*
Jul 7 12:20:47 d254203 ser: Listening on
Jul 7 12:20:47 d254203 ser: 127.0.0.1 [127.0.0.1]:5060
Jul 7 12:20:47 d254203 ser: 139.153.254.203 [139.153.254.203]:5060
Jul 7 12:20:47 d254203 ser: Aliases: d254203.cs.stir.ac.uk:5060 localhost:5060
localhost.localdomain:5060 d254203:5060 cs.stir.ac.uk:*
Jul 7 12:20:47 d254203 ser: Listening on
Jul 7 12:20:47 d254203 ser: 127.0.0.1 [127.0.0.1]:5060
Jul 7 12:20:47 d254203 ser: 139.153.254.203 [139.153.254.203]:5060
Jul 7 12:20:47 d254203 ser: Aliases: d254203.cs.stir.ac.uk:5060 localhost:5060
localhost.localdomain:5060 d254203:5060 cs.stir.ac.uk:*
Jul 7 12:20:47 d254203 ser: ser startup succeeded
Jul 7 12:20:47 d254203 /usr/local/sbin/ser[1109]: mod_init(): Database connection opened
successfuly
Jul 7 12:20:47 d254203 /usr/local/sbin/ser[1109]: INFO: udp_init: SO_RCVBUF is initially
65535
Jul 7 12:20:47 d254203 /usr/local/sbin/ser[1109]: INFO: udp_init: SO_RCVBUF is finally
131070
Jul 7 12:20:47 d254203 /usr/local/sbin/ser[1109]: INFO: udp_init: SO_RCVBUF is initially
65535
Jul 7 12:20:47 d254203 /usr/local/sbin/ser[1109]: INFO: udp_init: SO_RCVBUF is finally
131070
Jul 7 12:20:47 d254203 /usr/local/sbin/ser[1127]: INFO: fifo process starting: 1127
Jul 7 12:20:47 d254203 /usr/local/sbin/ser[1127]: SER: open_uac_fifo: fifo server up at
/tmp/ser_fifo...
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: used= 3764, used+overhead=36332,
free=986540
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: max used (+overhead)= 36368
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: dumping all allocked. fragments:
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: 0. N address=0x80bd3b0
frag=0x80bd398 size=16
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: alloc'd from
fifo_server.c: register_fifo_cmd(122)
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: 1. N address=0x80bd3f0
frag=0x80bd3d8 size=16
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: alloc'd from
fifo_server.c: register_fifo_cmd(122)
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1144]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1143]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1142]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1141]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1140]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1127]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1126]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1119]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1118]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1117]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1116]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1115]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1114]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1113]: INFO: signal 15 received
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: 2. N address=0x80bd430
frag=0x80bd418 size=16
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1144]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1143]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1142]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1141]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1140]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1127]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1126]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1119]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1118]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1117]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1116]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1115]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1114]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1113]: Memory status (pkg):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: alloc'd from
fifo_server.c: register_fifo_cmd(122)
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1144]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1143]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1142]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1141]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1140]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1127]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1126]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1119]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1118]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1117]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1116]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1115]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1114]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1113]: qm_status (0x80b6f60):
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1144]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1143]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1142]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1141]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1140]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1127]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1126]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1119]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1118]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1117]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1116]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1115]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1114]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1113]: heap size= 1022872
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1149]: 3. N address=0x80bd470
frag=0x80bd458 size=16
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1144]: used= 3764, used+overhead=36332,
free=986540
Jul 7 12:20:58 d254203 /usr/local/sbin/ser[1143]: used= 3764, used+overhead=36332,
free=986540