cancel
Showing results for 
Search instead for 
Did you mean: 

Why does the relay server shutdown hang

Former Member
2,535

Running SQLA iAnywhere Relay Server Version 11.0.1.2355

New to MobiLink...

We have a job to restart the Relay Server every morning at 06:20. The following log is the result of the STOP, and the START command does not appear to execute successfully - if at all.

Any ideas why?

The Batch file looks as the following: net stop "SQLANYe_AbinterfaceRelayServer" net start "SQLANYe_AbinterfaceRelayServer"

The relevant portion of the log file is: I. 2010-05-31 06:19:38. <856.F0B0Up> Sending a 4 bytes liveness packet I. 2010-05-31 06:19:38. <856.F0B0Up> 4 bytes RS_UPCHANNEL_NOOP() I. 2010-05-31 06:19:38. <856.F0B0Up> Waiting for client request I. 2010-05-31 06:19:40. <856.F0B0Dn> 4 bytes OE_DNCHANNEL_NOOP() I. 2010-05-31 06:19:40. <856.F0B0Dn> Waiting for server response I. 2010-05-31 06:19:40. <856.F0B0Dn> Trip left: 2097092524 I. 2010-05-31 06:20:01. <1900.rshost> Service shutdown I. 2010-05-31 06:20:01. <1900.rshost:master> Waiting to disconnect channel for server 'AbInterfaceMobiLinkServer' in farm 'AbInterfaceMobiLinkFarm' I. 2010-05-31 06:20:02. <856.F0B0Up> Finished I. 2010-05-31 06:20:02. <856.F0B0Up> Disengaged I. 2010-05-31 06:20:02. <856.F0B0Up> Going to Close SHM_USE I. 2010-05-31 06:20:02. <1900.rshost:master> Waiting for 2 processes to detach from shared memory I. 2010-05-31 06:20:02. <856.F0B0Dn> 4 bytes OE_SHUTDOWN() I. 2010-05-31 06:20:02. <856.F0B0Dn> OE is shutting down I. 2010-05-31 06:20:02. <856.F0B0Dn> Finished I. 2010-05-31 06:20:02. <856.F0B0Dn> Going to Close SHM_USE I. 2010-05-31 06:20:03. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:04. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:05. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:06. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:07. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:08. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:09. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:10. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:11. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:12. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:13. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:14. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:15. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:16. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:17. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:18. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:19. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:20. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:21. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:22. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:23. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:24. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:25. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:26. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:27. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:28. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:29. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:30. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:31. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:32. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:33. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:34. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:35. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:36. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:37. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:38. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:39. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:40. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:41. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:42. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:43. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:44. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:45. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:46. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:47. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:48. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:49. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:50. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:51. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:52. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:53. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:54. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:55. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:56. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:57. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:58. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:20:59. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:00. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:01. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:02. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:03. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:04. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:05. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:06. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:07. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:08. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:09. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:10. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:11. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:12. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:13. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:14. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:15. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:16. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:17. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:18. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:19. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:20. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:21. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:22. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:23. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:24. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:25. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:26. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:27. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:28. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:29. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:30. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:31. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:32. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:33. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:34. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:35. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:36. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:37. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:38. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:39. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:40. <1900.rshost:master> Waiting for 1 processes to detach from shared memory I. 2010-05-31 06:21:41. <1900.rshost:master> Waiting for 1 processes to detach from shared memory E. 2010-05-31 06:21:42. <1900.rshost:master> Timeout waiting for processes to detach from shared memory I. 2010-05-31 06:21:42. <1900.rshost:master> Shared memory report { total size: 13631488 base overhead: 160 per block overhead: 12 no. free block: 10 no. used block: 19 total free space: 13563760 total used space: 67568 biggest free block: 13562900 biggest used block: 65688 total overhead: 508 peak use: 68588 healthy: yes } I. 2010-05-31 06:21:42. <1900.rshost:master> Finished I. 2010-05-31 06:21:42. <1900.rshost:master> Finished

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

The Relay Server is not hung, it's waiting on processes to shutdown properly. What verbosity do you have the Relay Server set to in the rs.config file?

What version of the RSOE is connecting to the Relay Server? It's possible the Relay Server is waiting on the RSOE to disconnect or the socket to close. A full Relay Server log and RSOE log would be helpful in diagnosing the issue.

Former Member
0 Kudos

Thanks Josh, versions and verbosity are: Relay Server, v11.0.1.2355, verbosity=4. Outbound Enabler, v11.0.1.2355, verbosity=2.

Please let me know where to upload log files to, and I will get them to you.

Former Member
0 Kudos

The best place to upload the files in the sybase.public.relayserver.general newsgroup. This is the newsgroup the Relay Server gurus monitor.