Hi all, i am testing huge loads on location table in version 0.8.14 and see
that:
After increment PGK_MALLOC i can support 20.000 entries in the memory
location table.
This 20.000 entries are using around 12Mb of RAM memory on my linux RedHat
8.0.
When this 20.000 contacts expires the table is cleaned but SER remain taking
12Mb of RAM.
It is a normal operation or SER must perform some function to release the
memory used by the location table when the contacts expire ??
#----------------------------------------------#
version: 0.8.14 (i386/linux)
flags: STATS:Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.168.4.3 2004/06/28 15:41:21 andrei Exp $
main.c compiled on 12:45:14 Jul 30 2004 with gcc 3.2
#----------------------------------------------#
140 processes: 138 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 0.2% user, 0.7% system, 0.0% nice, 98.9% idle
Mem: 513972K av, 162580K used, 351392K free, 0K shrd, 45532K
buff
Swap: 2096472K av, 0K used, 2096472K free 76892K
cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
486 mysql 15 0 16856 16M 2604 S 0.0 3.2 0:16 mysqld
25492 root 24 0 12904 12M 12764 S 0.0 2.5 0:02 ser
#----------------------------------------------#
Thanks
Ezequiel Colombo
Greetings,
I'm having a problem I'm just can't seem to fix. I'm not a newbie to Linux,
but by the same token, I'm not a GURU either. I'm trying to set up SER and
so far everything is going according to plan, except for one little problem.
When trying to start SER I get the following message:
Starting SER: cat: /var/run/ser.pid: No such file or directory.
SO for fun I touched a file with that name in that directory to see what
would happen. I then get:
Starting SER: PID file exists! (/var/run/ser.pid) already running?
This is all obtained by running "serctl start". Prior to running I ran "ser
-ddd -P /var/run/ser.pid" then I run serctrl, but am left being stuck in
this situation.
Your help would me be appreciated.
Cheers,
CJ
I have sucesfully gotten SER, SerWeb and MyStun installed and configured for the most part. I am using
a MySQL backend, can differeniate between non-existant and offline users, and can tell if a user has
voicemail configured if they are offline.
I still can not get aliases to work. I configured the aliases using serweb, I am using the
lookup("aliases") command in the ser.cfg and configured the usrloc module also. What am I missing?
Thanks,
Doug Eubanks
admin(a)dougware.net
*** DISCLAIMER ***
This e-mail and any attachments thereto may contain information, which is confidential and/or protected
by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any
use of the information contained herein (including, but not limited to, total or partial reproduction,
communication or distribution in any form) by persons other than the designated recipient(s) is
prohibited. If you have received this e-mail in error, please notify the sender either by telephone or
by e-mail and delete the material from any computer. Thank you for your cooperation.
Hi,
Can someone confirm there is not a way to do this with the standard commands
before I write our own module.
a) Incoming call has no remote-party-id, but does have a numeric from
address. Create a remote-party-id based on the from address.
Then...
b) Either we have a remote-party-id passed with the initial call, or the one
we constructed in (a). Now prepend a digit string pulled from the database
to the user part of the remote-party-id uri.
i.e. If no rpid, convert From: 12345(a)x.y to Remote-Party-ID: <sip:12345@x.y>
then given Remote-Party-ID: <sip:12345@x.y> change to Remote-Party-ID:
<sip:100012345> (the 1000 pulled from the database)
Linus
Hi all,
My server_monitoring and server_monitoring_agg tables are blank.
Do, I need to make any setting in ser.cfg file or require something special.
Thanks,
sanjiv
Greetings,
Any ideas as to why SER startup is looking for /var/run/.nscd_socket? It
crashes in my case and here is the strace log:
munmap(0x4002d000, 4096) = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 4
connect(4, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1
ENOENT (No such file or directory)
close(4) = 0
Thanks
MS
_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page FREE
download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/
Hello all,
I've been having trouble with does_uri_exist function in uri module..for
some reason it does not see the username in the subscriber table..
am running ser-0.8.12 stable,
checks.c file where function does_uri_exist resides in uri directory of Ser
source is $Id: checks.c,v 1.10 2003/04/28 22:08:03 janakj Exp $
here are the options I'm loading for uri module
modparam("uri", "db_url", "mysql://seruser:serpasswd@localhost/ser")
modparam("uri", "subscriber_table", "subscriber")
modparam("uri", "uri_table", "uri")
modparam("uri", "uri_user_column", "username")
modparam("uri", "uri_domain_column", "domain")
modparam("uri", "uri_uriuser_column", "uri_user")
modparam("uri", "subscriber_user_column", "username")
modparam("uri", "subscriber_domain_column", "domain")
this is the part on ser.cfg where I am trying to apply does_uri_exist
if (!lookup("location")) {
log(1, "LOG:USRLOC request not found\n");
if (does_uri_exist()) {
log(1, "LOG:URI Exists\n");
if (is_user_in("Request-URI", "voicemail")) {
rewritehostport("192.168.10.10:5090");
log(1, "LOG:USRLOC request not found,VM
set,relay to VM\n");
if (!t_relay()) {
sl_reply_error();
break;
};
break;
};
};
};
I know that the username is in the subscriber table username 4500
when I check the mysql db I get
mysql> select * from subscriber where username=4500;
| phplib_id | username | domain |
password |
first_name | last_name | phone | email_address |
datetime_created
| datetime_modified | confirmation | flag | sendnotification | greeting |
ha1
| ha1b | perms |
allow
_find | timezone |
------+----------+
| c493919a77f0c3e2671dce9048a78cce | 4500 | sip.mydomain.com| 4500 |
| | | 4500(a)sip.mydomain.com| 2004-06-25 00:32:27
| 0000-00-00 00:00:00 | | o | | |
c49
3919a77f0c3e2671dce9048a78cce | 643bfb0b11229b401fc32c4af1b538d4 | NULL | 0
| NULL |
+----------------------------------+----------+---------------------+-------
---+
but while running debug during a call to 4500 which is not in location db
but is in subscriber table i get
0(20262) lookup(): '4500' Not found in usrloc
0(20262) LOG:USRLOC request not found
0(20262) does_uri_exit(): User in request uri does not exist
0(20262) LOG: Called not in location DB/n 0(20262) parse_headers:
flags=16384
Is there something missing in my script that is needed by does_uri_exist?
I really appreciate any help pointing me in the right direction
Thanks
Francisco
Greetings,
Under my Redhat 9.0, I have installed SER from source. Trying to launch it
but it fails with the following in my strace output.
execve("/usr/local/sbin/ser", ["ser"], [/* 25 vars */]) = 0
uname({sys="Linux", node="sipsvr2", ...}) = 0
brk(0) = 0x81be9b8
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
A search of my HDD for file ld.so.preload did not find a file by that name.
Any idea what ld.so.preload is, what it does and how I can fix this problem?
Thanks
MS
_________________________________________________________________
Planning a family vacation? Check out the MSN Family Travel guide!
http://dollar.msn.com