1

Topic: Restarting every day.

Hello,

Why do iI have to restart SipToSis every day?  I am no able to leave a server running for more than three days.  I have to restar SipToSis every day. Screen saver and the power software are dissable.

Kind regards,

Al

2

Re: Restarting every day.

A question like this will get no useful response. Please read the Rules page from the link at the top of this page - The "I am not a mind reader" section. Also some info as to why you have to restart would help.

3

Re: Restarting every day.

I believe is a valid question.

Let me rephrase it.

I have to restart SipToSis every morning. if I do not do it I will not be able to use the server.  If I do not restart SipToSis the incoming call will drop after is answered. There was another threat where you suggested to upgrade to the new version and may fix the problem.  Also, you suggested that verify that Linux will don’t go to sleep mode because can cause problems.

I did upgrade but I still have the same problem.  There is nothing in the log file.  SipToSis shown connect to Spyke.

Please advise, any suggestion?

4

Re: Restarting every day.

You missed the point. I have no idea what versions of anything you have running. I don't have time to go digging through people's threads looking for previous info that may no longer be valid. You gave no information as to why you need to restart - memory exhausted, crash, hang or whatever.

You say call is dropped after answer - there must be a log entry about the attempt to make the call, right? Post it.

5

Re: Restarting every day.

Hello,

Here is what shows on the log file when the call was dropped.   SipToSis is running in OpensSuSe 11.2.

There are two errors...

ERROR local.ua.SkypeAudioReceiverServer.T5
java.net.SocketException: Too many open files

and

ERROR local.ua.SkypeAudioSenderServer.T6 - error
java.net.SocketException: Too many open files



2010-07-26 19:09:58,515 [org.zoolu.net.UdpProvider.T0] INFO  local.ua.SkypeUA - Registration success: 200 OK
2010-07-26 19:28:51,954 [org.zoolu.net.UdpProvider.T0] INFO  local.ua.SSCallChannel.#C0 - incoming sip call from "My Name" <sip:1000@xxx.xxx.777.777> callee=<sip:9999999999@xxx.xxx.777.777:5070>
2010-07-26 19:28:51,955 [org.zoolu.net.UdpProvider.T0] INFO  local.ua.SSCallChannel.#C0 - Skype Dial:9999999999
2010-07-26 19:28:52,956 [org.zoolu.net.UdpProvider.T0] INFO  local.ua.SSCallChannel.#C0 - Actual destination:+19999999999
2010-07-26 19:28:53,489 [AsyncSkypeMessageSender-40] INFO  local.ua.SSCallChannel.#C0 - skypeCallStatus[1548] - ROUTING
2010-07-26 19:28:55,967 [AsyncSkypeMessageSender-41] INFO  local.ua.SSCallChannel.#C0 - skypeCallStatus[1548] - RINGING
2010-07-26 19:28:56,268 [AsyncSkypeMessageSender-41] INFO  local.ua.SSCallChannel.#C0 - skypeCallStatus[1548] - EARLYMEDIA
2010-07-26 19:28:56,281 [org.zoolu.net.UdpProvider.T0] INFO  local.ua.SkypeUserAgent.#C0 - Starting codec: PCMU/8000(0) rfc2833Type(101)
2010-07-26 19:28:56,294 [local.ua.SkypeRtpSender.T3] INFO  local.ua.SkypeRtpSender.T3 - RTP media target: xxx.xxx.777.777:18798
2010-07-26 19:28:56,294 [org.zoolu.net.UdpProvider.T0] INFO  local.ua.SSCallChannel.#C0 - CallConfirmed Active
2010-07-26 19:28:56,306 [local.ua.SkypeAudioReceiverServer.T5] ERROR local.ua.SkypeAudioReceiverServer.T5 - IOException:
java.net.SocketException: Too many open files
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:358)
    at java.net.ServerSocket.implAccept(ServerSocket.java:470)
    at java.net.ServerSocket.accept(ServerSocket.java:438)
    at local.ua.SkypeAudioReceiverServer.run(Unknown Source)
2010-07-26 19:28:56,308 [local.ua.SkypeRtpReceiver.T4] INFO  local.ua.SkypeRtpReceiver.T4 - RtpSender Address locked.
2010-07-26 19:28:56,355 [local.ua.SkypeAudioSenderServer.T6] ERROR local.ua.SkypeAudioSenderServer.T6 - error
java.net.SocketException: Too many open files
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:358)
    at java.net.ServerSocket.implAccept(ServerSocket.java:470)
    at java.net.ServerSocket.accept(ServerSocket.java:438)
    at local.ua.SkypeAudioSenderServer.run(Unknown Source)
2010-07-26 19:29:04,160 [AsyncSkypeMessageSender-44] INFO  local.ua.SSCallChannel.#C0 - skypeCallStatus[1548] - INPROGRESS
2010-07-26 19:29:04,170 [AsyncSkypeMessageSender-44] INFO  local.ua.SSCallChannel.#C0 - Call Rate: Free
2010-07-26 19:29:07,343 [local.ua.SkypeRtpSender.T3] INFO  local.ua.SkypeRtpSender.T3 - * RTPSender stats - packets:22859 underRuns:208 maxLatency:0ms avgLatency:0ms
2010-07-26 19:29:07,407 [local.ua.SkypeRtpReceiver.T4] INFO  local.ua.SkypeRtpReceiver.T4 - * RTPReceiver stats - packets:551
2010-07-26 19:29:07,639 [org.zoolu.net.UdpProvider.T0] INFO  local.ua.SSCallChannel.#C0 - OUTGOING_PSTN From: "My Name" <sip:1000@xxx.xxx.777.777> To: +19999999999 CallTime: 0:03 Cost: FREE
2010-07-26 19:29:07,715 [org.zoolu.net.UdpProvider.T0] INFO  local.ua.SkypeUA - Qualified PSTN calls today: 1 Time: 1 minutes
2010-07-26 19:29:07,790 [org.zoolu.net.UdpProvider.T0] INFO  local.ua.SSCallChannel.#C0 - AcctBalance: 0.24 USD
2010-07-26 19:29:07,866 [org.zoolu.net.UdpProvider.T0] INFO  local.ua.SkypeUserAgent.#C0 - WAITING FOR INCOMING CALL
2010-07-26 19:29:07,975 [AsyncSkypeMessageSender-40] INFO  local.ua.SSCallChannel.#C0 - skypeCallStatus[1548] - Complete: FINISHED

Restart SipToSis.

2010-07-26 19:29:26,670 [main] INFO  local.ua.SkypeUA - Starting SipToSis v20100602
2010-07-26 19:29:26,692 [main] INFO  local.ua.SkypeUA - Skype4Java Version 1.2.0.1
2010-07-26 19:29:26,693 [main] INFO  local.ua.SkypeUA - os=Linux ver=xxx.xxx.31.12-0.2-default arch=i386 (1 core)
2010-07-26 19:29:26,694 [main] INFO  local.ua.SkypeUA - javaVer=1.6.0_17 - Sun Microsystems Inc. (32 bit)
2010-07-26 19:29:26,772 [main] INFO  local.ua.SkypeUA - Available Codecs: PCMU(0),PCMA(8),iLBC(98)
2010-07-26 19:29:26,773 [main] INFO  local.ua.SkypeUA - DTMF rfc2833(101)
.
.
.
.
.

Kind Reagrds,


Al

6

Re: Restarting every day.

That's a lot more helpful. I Still don't know Skype version though.

Run lsof > beforecrash after a fresh startup of siptosis.
When it dies again, run lsof > aftercrash
Compare beforecrash against aftercrash to see which process is using up all the file handles.

Also run:
ulimit -a and post results.

7

Re: Restarting every day.

Hello,

Skype Beta version 2.1.081.



I believe this is the problem, There are more than 8k of this lines.  I am using Java 1.6


java      24092    aberrio   45r      REG        0,3         0    4899629 /proc/24092/maps
.
.
.
java      24092    aberrio 8191r      REG        0,3         0    4899629 /proc/24092/maps


unlimt -a after fresh start

sip:~ # ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 7873
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) 862748
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 7873
virtual memory          (kbytes, -v) 1872240
file locks                      (-x) unlimited

Last edited by aberrio (2010-07-29 12:57:36)

8

Re: Restarting every day.

The complaint is "Too many open files" which you have limited to the default 1024.
I doubt it could manage to allocate 8000.

Email me the beforecrash and aftercrash files so I can look at it - mhspot@hotmail.com.

9

Re: Restarting every day.

I got your logs. I did a quick glance at it and I see what you mean. I will try to look at it further today.

10

Re: Restarting every day.

I'm a bit confused. Your SipToSis startup you posted shows: javaVer=1.6.0_17 - Sun Microsystems Inc. (32 bit)
Is your startup post from the same computer?

Your resource file dump shows:
java      24092    xxxxxx  txt       REG        8,1     38720     184696 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/jre/bin/java
as the running java with all 8200 lines with the same PID. It's clearly not Sun's java.

Mine has this:
java      3031     mhuser  txt       REG        8,1    47308 417861 /usr/lib/jvm/java-6-sun-xxx.xxx.0.14/jre/bin/java

OpenJDK is known to have various issues (at least with SipToSis) - do yourself a favor and get rid of it and only use Sun's.
Let me know if it fixes the problem. If the issue continues, do the same thing and email the two files again.

11

Re: Restarting every day.

Hello,

I removed openjdk, so far so good.  I have not restart  SipToSis in the last 4 days.

12

Re: Restarting every day.

Hello MH,

I think the problem was solved. I had not restated SipToSis since I removed openjdk.

Thank you