Re: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks
On Fri, 2002-05-03 at 09:36, James Wang wrote: - Original Message - From: Bruno David Sim髊s Rodrigues [EMAIL PROTECTED] [snip] 3). alias IP address I have two IPs for the same ethernet card. If send a UDP packet to the alias IP address, the return packet has the main IP address rather than the alias one. Here follows some more detail as I have not heard anything about this. set wdp-interface-name with alias ip Can I do this way: wdp-interface-name xxx.xx.xx.ip1 wdp-interface-name xxx.xx.xx.ip2 as I said early, I had two IPs on the same machine and wanted the WAP gateway be able to take two IP addresses. This one you have to ask in mailing list... I don't know why doesn't kannel know the incoming address so it can reply back through the same.. Thx in adv. james
Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks
Dear Sir/Madam, I have the following problems and wonder if this had already been reported and if you have a fix: [snip] 3). alias IP address I have two IPs for the same ethernet card. If send a UDP packet to the alias IP address, the return packet has the main IP address rather than the alias one. Here follows some more detail as I have not heard anything about this. 195.173.122.131 is the alias IP 195.173.122.146 is the prime IP of the same card. The UDP packet was sent to the alias IP 195.173.122.131. However, Kannel return with the prime IP 195.173.122.146. IP: - IP Header - IP: Destination address = 195.173.122.131, gw-wapgw-2.eng.demon.net 0: 0800 20a0 40ed 00e0 2b03 4500 0800 4500.. .@...+.E...E. 16: 006f 000a 3a11 74d2 c30b 0a66 c3ad.o:.tf.. 32: 7a83 dd9e 23f0 005b a909 1b40 1e68 7474z...#..[...@.htt 48: 7073 3a2f 2f73 686f 702d 6174 2d64 6576ps://shop-at-dev 64: 2e64 656d 6f6e 2e6e 6574 2f80 9480 a980.demon.net/. 80: 9580 8081 8381 8481 ea81 0302 03e8 8399 96: a109 8077 6170 0077 6170 00a9 4572 6963...wap.wap..Eric 112: 7373 6f6e 5233 3230 2f52 3141 00 ssonR320/R1A. IP: Source address = 195.173.122.146, gw-wapgw-1.eng.demon.net 0: 00e0 2b03 4500 0800 20a0 40ed 0800 4500..+.E... .@...E. 16: 0066 5103 4000 ff11 1ed2 c3ad 7a92 c30b.fQ.@...z... 32: 0a66 23f0 dd9e 0052 e949 1b04 2042 82a6.f#R.I.. B.. 48: 4e65 7473 6361 7065 2d45 6e74 6572 7072Netscape-Enterpr 64: 6973 652f 332e 3620 5350 3200 9204 3cd0ise/3.6 SP2 80: 0f4f 9322 3537 3830 362d 342d 3362 6233.O.57806-4-3bb3 96: 3263 6535 2200 9d04 3bb3 2ce5 8d84 84812ce5...;.,. 112: 666f 6f0a foo. +++ Meanwhile, I am going to try to fix myself. Thx very much in adv. James Wang
Re: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks
On Thu, 2002-05-02 at 13:40, James Wang wrote: Dear Sir/Madam, I have the following problems and wonder if this had already been reported and if you have a fix: [snip] 3). alias IP address I have two IPs for the same ethernet card. If send a UDP packet to the alias IP address, the return packet has the main IP address rather than the alias one. Here follows some more detail as I have not heard anything about this. 195.173.122.131 is the alias IP 195.173.122.146 is the prime IP set wdp-interface-name with alias ip
Fw: Fw: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks
Dear All, I am trying to build Kannel 1.1.5 on Solaris 8 and had the following problems: /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:123: undefined reference to `ws_create' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:182: undefined reference to `ws_compile_data' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:194: undefined reference to `ws_free_byte_code' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:197: undefined reference to `ws_compile_file' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:206: undefined reference to `ws_result_to_string' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:213: undefined reference to `ws_destroy' wmlscript/wmlsc.o: In function `pragma_meta': /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:244: undefined reference to `ws_utf8_to_latin1' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:245: undefined reference to `ws_utf8_to_latin1' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:246: undefined reference to `ws_utf8_to_latin1' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:259: undefined reference to `ws_utf8_free_data' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:260: undefined reference to `ws_utf8_free_data' /var/tmp/kannel-nag-dir/gateway/wmlscript/wmlsc.c:261: undefined reference to `ws_utf8_free_data' collect2: ld returned 1 exit status make: *** [wmlscript/wmlsc] Error 1 here is the configure log: +++ bash-2.03# ./configure loading cache ./config.cache checking host system type... sparc-sun-solaris2.8 checking for gcc... (cached) gcc checking whether the C compiler (gcc -DSunOS=1 ) works... yes checking whether the C compiler (gcc -DSunOS=1 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... ./install-sh -c checking for ranlib... (cached) ranlib checking for bison... no checking for byacc... no checking for flex... (cached) lex checking for yywrap in -ll... (cached) yes checking for perl... (cached) /usr/bin/perl checking for log in -lm... (cached) yes checking for accept in -lsocket... (cached) yes checking for inet_ntoa in -lnsl... (cached) yes checking for pthread_exit in -lpthread... (cached) yes checking for pthread_exit in -lc_r... (cached) no checking for xml2-config... (cached) /usr/local/bin/xml2-config checking libxml version... 2.4.10 checking for inet_ntop in -lresolv... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/poll.h... (cached) yes checking for pthread.h... (cached) yes checking for getopt.h... (cached) no checking for syslog.h... (cached) yes checking for gettimeofday... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for getopt_long... (cached) no checking for getopt... (cached) yes checking for socklen_t in sys/socket.h... (cached) yes checking for getopt in stdio.h... (cached) yes checking for getopt in unistd.h... (cached) no checking for working pthreads... yes checking for jade... (cached) : checking for jadetex... (cached) : checking for dvips... (cached) : checking for fig2dev... (cached) : checking for ps2pdf... (cached) : checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... (cached) no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... (cached) no checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... (cached) no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... (cached) no Not building documentation. using checking malloc Attempting to compile with SSL support. checking for SSL_library_init in -lssl... (cached) no creating ./config.status creating Makefile creating config.h config.h is unchanged ++ Any help is greatly appreciated. Thx in adv. James Wang
Re: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks
Hi, - Original Message - From: James Wang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 25, 2002 4:11 PM Subject: Re: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks - Original Message - From: Aarno Syvänen [EMAIL PROTECTED] ++ 1). If I send an empty UDP packet to the WAP box, it does not serve any more. (I have to restart the service.) Can you report your settings with more details ? followings are extracted from /var/log/kannel/wapbox.log 2002-04-19 12:41:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:45:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:51:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:55:52 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:56:20 [2] WARNING: WSP UNIT: Empty datagram. It seems that connectionless WSP code logs empty datagram properly but does not release memory in this case. Can you fix this, having a stress test program for wap helps in this regard. fresh starting actually at: sizeres Wapbox: 8048K4160K Bearbox: 7680K3760K After 239,000 hits: sizeres Wapbox: 8912K5552K Bearbox: 10M 6040K Yes, bearerbox leak no hopefully fixed, thanks ^^ should be now? Yeah. I actually run stress tests one hour, 350 msg/s, with no non-static leaks in bearerbox. Wapbox leak is smallish, because empty message is an exception. Aarno
Re: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks
Yep. And even the memory leak should be fixed. It is not even static. - Original Message - From: James Wang [EMAIL PROTECTED] To: Aarno Syvanen [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, April 26, 2002 12:58 PM Subject: Re: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks - Original Message - From: Aarno Syvanen [EMAIL PROTECTED] ++ 1). If I send an empty UDP packet to the WAP box, it does not serve any more. (I have to restart the service.) Can you report your settings with more details ? followings are extracted from /var/log/kannel/wapbox.log 2002-04-19 12:41:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:45:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:51:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:55:52 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:56:20 [2] WARNING: WSP UNIT: Empty datagram. It seems that connectionless WSP code logs empty datagram properly but does not release memory in this case. Can you fix this, ^^^ means who? having a stress test program for wap helps in this regard. fresh starting actually at: sizeres Wapbox: 8048K4160K Bearbox: 7680K3760K After 239,000 hits: sizeres Wapbox: 8912K5552K Bearbox: 10M 6040K Yes, bearerbox leak no hopefully fixed, thanks ^^ should be now? Yeah. I actually run stress tests one hour, 350 msg/s, with no non-static leaks in bearerbox. So you have a new version now? Wapbox leak is smallish, because empty message is an exception. OK. However, it does not serve anymore if being sent an empty UDP packet, which is fatal. Cheers James Wang
Fw: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks
- Original Message - From: Aarno Syvanen [EMAIL PROTECTED] ++ 1). If I send an empty UDP packet to the WAP box, it does not serve any more. (I have to restart the service.) Can you report your settings with more details ? followings are extracted from /var/log/kannel/wapbox.log 2002-04-19 12:41:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:45:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:51:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:55:52 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:56:20 [2] WARNING: WSP UNIT: Empty datagram. It seems that connectionless WSP code logs empty datagram properly but does not release memory in this case. Can you fix this, ^^^ means who? having a stress test program for wap helps in this regard. fresh starting actually at: sizeres Wapbox: 8048K4160K Bearbox: 7680K3760K After 239,000 hits: sizeres Wapbox: 8912K5552K Bearbox: 10M 6040K Yes, bearerbox leak no hopefully fixed, thanks ^^ should be now? Yeah. I actually run stress tests one hour, 350 msg/s, with no non-static leaks in bearerbox. So you have a new version now? Wapbox leak is smallish, because empty message is an exception. OK. However, it does not serve anymore if being sent an empty UDP packet, which is fatal. Cheers James Wang
Re: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks
Hi James, From: James Wang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks Date: Mon, 22 Apr 2002 12:29:26 +0100 - Original Message - From: James Wang [EMAIL PROTECTED] Dear Sir/Madam, I have the following problems and wonder if this had already been reported and if you have a fix: ++ 1). If I send an empty UDP packet to the WAP box, it does not serve any more. (I have to restart the service.) Can you report your settings with more details ? 2). Memory leaks: starting points: sizeres Wapbox: 8659K5256K Bearbox: 9552K4920K After 239,000 hits: sizeres Wapbox: 8912K5552K Bearbox: 10M 6040K Yes, bearerbox leak no hopefully fixed, thanks Aarno _ Send and receive Hotmail on your mobile device: http://mobile.msn.com
Re: Fw: Kannel version 1.1.5-1 fault tolerance and memory leaks
- Original Message - From: Aarno Syvänen [EMAIL PROTECTED] ++ 1). If I send an empty UDP packet to the WAP box, it does not serve any more. (I have to restart the service.) Can you report your settings with more details ? followings are extracted from /var/log/kannel/wapbox.log 2002-04-19 12:41:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:45:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:51:51 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:55:52 [2] WARNING: WSP UNIT: Empty datagram. 2002-04-19 12:56:20 [2] WARNING: WSP UNIT: Empty datagram. ## wapbox config group = wapbox bearerbox-host = localhost log-file = /var/log/kannel/wapbox.log log-level = 1 device-home = http://wap.demon.net/ 2). Memory leaks: starting points: sizeres Wapbox: 8659K5256K Bearbox: 9552K4920K fresh starting actually at: sizeres Wapbox: 8048K4160K Bearbox: 7680K3760K After 239,000 hits: sizeres Wapbox: 8912K5552K Bearbox: 10M 6040K Yes, bearerbox leak no hopefully fixed, thanks ^^ should be now? Cheers