Hi George,
first of all the question is : are you planning to use TCP support in openser? epoll is used only for TCP, so, if you do not use it, just disable TCP compiling in openser - see the USE_TCP is Makefile.defs.
If you want to TCP, my advice will be to enable epoll in the kernel - you will get better performance.
regards, bogdan
Papadopoulos Georgios wrote:
Hello Daniel,
Thank you for the response. Which is better, disabling epoll in openser, or enabling epoll in the kernel?
George
-----Original Message----- From: Daniel-Constantin Mierla [mailto:daniel@voice-system.ro] Sent: Wednesday, September 20, 2006 11:40 AM To: Papadopoulos Georgios Cc: users@openser.org Subject: Re: [Users] Cannot start openser 1.1
Seems that epoll was disabled from kernel. Is it right?
If yes, disable epoll at compilation:
make proper NO_EPOLL=1 make all NO_EPOLL=1 make install
also, there are some escape in the replacement string of avp_subst() which shouldn't.
Cheers, Daniel
On 09/20/06 11:31, Papadopoulos Georgios wrote:
hello,
After using OpenSer 1.0 successfully for about a year, I am
trying to
migrate to 1.1. My configuration has not changed (except
for changes
in the avp functions due to the new syntax). However I
cannot get the
process started. Below you can see the output that I am getting. It seems like some poll function is missing.
Any help will be very welcome. Thank you.
George Papadopoulos
# uname -a Linux Fury 2.6.17-gentoo-r8 #1 Fri Sep 15 16:47:15 EEST
2006 sparc64
sun4u TI UltraSparc II (BlackBird) GNU/Linux
# 0(17608) WARNING: fix_socket_list: could not rev. resolve 172.31.100.6 0(17608) WARNING: fix_socket_list: could not rev. resolve 172.31.100.7 0(17608) WARNING: fix_socket_list: could not rev. resolve 172.31.100.6 0(17608) WARNING: fix_socket_list: could not rev. resolve 172.31.100.7 Listening on udp: 172.31.100.5 [172.31.100.5]:5060 udp: 172.31.100.6 [172.31.100.6]:5060 udp: 172.31.100.7 [172.31.100.7]:5060 tcp: 172.31.100.5 [172.31.100.5]:5060 tcp: 172.31.100.6 [172.31.100.6]:5060 tcp: 172.31.100.7 [172.31.100.7]:5060 Aliases: tcp: Fury:5060 tcp: Fury.acn.gr:5060 udp: Fury:5060 udp: Fury.acn.gr:5060 *: sip.altecnet.gr:* *: altecnet.gr:*
0(17608) init_tcp: using epoll_lt as the io watch method (auto detected) 0(0) INFO: statistics manager successfully initialized 0(0) StateLess module - initializing 0(0) TM - initializing... Fury sbin # 0(0) Maxfwd module- initializing 0(0) TextOPS - initializing 0(0) AVPops - initializing 0(0) permissions - initializing 0(0) WARNING: File not found: /usr/local/etc/ser/permissions.allow 0(0) Default allow file (/usr/local/etc/ser/permissions.allow) not found => empty rule set 0(0) WARNING: File not found: /usr/local/etc/ser/permissions.deny 0(0) Default deny file (/usr/local/etc/ser/permissions.deny) not found => empty rule set 0(0) AUTH module - initializing 0(0) AUTH_DB module - initializing 0(0) subst_parser: WARNING: * unknown escape in /(.*)/$avp(s:prefix)$avp(s:destname)*!^$avp(s:destdomain)/ 0(0) subst_parser: WARNING: ! unknown escape in /(.*)/$avp(s:prefix)$avp(s:destname)*!^$avp(s:destdomain)/ 0(0) subst_parser: WARNING: ^ unknown escape in /(.*)/$avp(s:prefix)$avp(s:destname)*!^$avp(s:destdomain)/ 0(0) INFO:textops:hname_fixup: using hdr type (31) instead of
<Remote-Party-ID> 0(0) INFO:textops:hname_fixup: using hdr type (31) instead of <Remote-Party-ID> 0(0) INFO: udp_init: SO_RCVBUF is initially 118784 0(0) INFO: udp_init: SO_RCVBUF is finally 237568 0(0) INFO: udp_init: SO_RCVBUF is initially 118784 0(0) INFO: udp_init: SO_RCVBUF is finally 237568 0(0) INFO: udp_init: SO_RCVBUF is initially 118784 0(0) INFO: udp_init: SO_RCVBUF is finally 237568 0(0) INFO: udp_init: SO_RCVBUF is initially 118784 0(0) INFO: udp_init: SO_RCVBUF is finally 237568 1(17622) INFO: fifo process starting: 17622 15(17649) ERROR: init_epoll: epoll_create: Function not implemented [90] 15(17649) ERROR: init_io_wait: epoll init failed 15(17649) ERROR: tcp_receive_loop: exiting...16(17650) ERROR: init_epoll: epoll_create: Function not implemented [90] 16(17650) ERROR: init_io_wait: epoll init failed 16(17650) ERROR: tcp_receive_loop: exiting...17(17651) ERROR: init_epoll: epoll_create: Function not implemented [90] 17(17651) ERROR: init_io_wait: epoll init failed 17(17651) ERROR: tcp_receive_loop: exiting...18(17652) ERROR: init_epoll: epoll_create: Function not implemented [90] 18(17652) ERROR: init_io_wait: epoll init failed 18(17652) ERROR: tcp_main_loop: exiting... 0(17610) child process 17649 exited normally, status=255 0(17610) child process 17650 exited normally, status=255 0(17610) child process 17651 exited normally, status=255 0(17610) child process 17652 exited normally, status=255 0(17610) INFO: terminating due to SIGCHLD 1(17622) INFO: signal 15 received 2(17623) INFO: signal 15 received 3(17624) INFO: signal 15 received 4(17625) INFO: signal 15 received 14(17648) INFO: signal 15 received 13(17642) INFO: signal 15 received 12(17641) INFO: signal 15 received 11(17640) INFO: signal 15 received 10(17639) INFO: signal 15 received 9(17638) INFO: signal 15 received 8(17632) INFO: signal 15 received 7(17631) INFO: signal 15 received 6(17630) INFO: signal 15 received 5(17629) INFO: signal 15 received
Disclaimer The information in this e-mail and any attachments is
confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users