Serial Spliiter - Service keeps stopping(Read 9568 times)
Serial Spliiter - Service keeps stopping on: March 11, 2013, 04:38:50 AM
G'Day,

I have tried to attach small images of tmy config but - your system reports "The upload folder is full".

I am using Serial Splitter ver 5.0.125 on a Win7 64bit, Dell 3750 Notebook with an i7 processor.  The source USB serial ports are running FTDI drivers.

The splitter service runs for anything from 3 minutes to an hour or so, and during that time works as I expect.

Then the service simply stops working. I restart it, and everything works again. The activity log says ...

11.03.2013 13:11:15  - Bundle "Split port (2)" was enabled
11.03.2013 13:11:15  - Bundle "Split port (1)" was enabled
11.03.2013 13:11:15  - ------------------------------------
Error: Eltima Serial Splitting & Sharing Service is not responding. Please restart it using services.msc.
11.03.2013 12:15:00  - Port "Split port (1)\OUT\COM10[Virtual]" opened by application "C:\DXLab\Commander\CI-V Commander.exe"
11.03.2013 12:14:59  - Port "Split port (2)\OUT\COM13[Virtual]" closed
11.03.2013 12:14:52  - Port "Split port (2)\OUT\COM13[Virtual]" opened by application "C:\DXLab\Commander\CI-V Commander.exe"
11.03.2013 12:14:52  - Port "Split port (2)\OUT\COM13[Virtual]" changed settings to 38400,N,8,2
11.03.2013 12:14:51  - Port "Split port (1)\OUT\COM10[Virtual]" closed
11.03.2013 12:11:17  - Port "Split port (1)\OUT\COM10[Virtual]" changed settings to 38400,N,8,2
11.03.2013 12:11:17  - Port "Split port (1)\OUT\COM10[Virtual]" opened by application "C:\DXLab\Commander\CI-V Commander.exe"
11.03.2013 12:11:17  - Port "Split port (1)\OUT\COM10[Virtual]" changed settings to 38400,N,8,2
11.03.2013 12:11:16  - Port "Split port (2)\OUT\COM13[Virtual]" closed
11.03.2013 11:56:48  - Bundle "Split port (2)" was enabled
11.03.2013 11:56:48  - Bundle "Split port (1)" was enabled
11.03.2013 11:56:47  - ------------------------------------
Error: Eltima Serial Splitting & Sharing Service is not responding. Please restart it using services.msc.

... I have deleted the rest of the log - it is similar to the above.

The Win7 event log contains the following, four similar events in the past few hours ...

The Eltima Serial Splitting & Sharing Service service terminated unexpectedly.  It has done this 4 time(s).

... for example ...

Faulting application name: service_sspliter.exe, version: 5.0.120.0, time stamp: 0x50504c1b
Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
Exception code: 0xc000000d
Fault offset: 0x000988ee
Faulting process id: 0x1dcc
Faulting application start time: 0x01ce1df96ef0ce0c
Faulting application path: C:\Program Files\Eltima Software\Serial Splitter 5.0\service_sspliter.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: da79bc0d-89ec-11e2-b1f8-ac728988dd1b

Attached is an image of my com ports - failed - the "Upload folder is full".

At the time of the "loss of the service" the following ports are actually moving data in both directions - USB port 21<-> Eltima 9,10 and USB port 22<-> Eltima 12,13.

When active the Eltima "port monitor" shows the activity I expect.

The service seems to simply "fade away".

What more information do you need?

Peter VK4IU



Re: Serial Spliiter - Service keeps stopping Reply #1 on: March 12, 2013, 04:06:47 PM
Hello Peter,

Please try setting one of the virtual ports on the output side of the bundle as main port.

(You can read about main port here: http://wiki.eltima.com/user-guides/serial-splitter4/troubleshooting.html)

It it doesn't help, please send a screenshot of your ports configuration to support@eltima.com, we'll try to help.

Quote
I have tried to attach small images of tmy config but - your system reports "The upload folder is full".
Okay, I will notify our webmaster about this problem. Thanks.



Re: Serial Spliiter - Service keeps stopping Reply #2 on: March 14, 2013, 03:40:13 AM
Hi Alexander,

I made one of the "virtual ports" "main".  It now has a small exclamation mark to it.  The physical port on the IN side is also marked "main".  This is part of the "splitter" process itself.

The service still stops - 7 times overnight.  Similar error each time.

I will continue to simplify the configuration - looking for a point at which the service stays active.

I have written a small script, that restarts the service automatically.  There seems no pattern to the time the service stops.

How do we find out why the service stops?

What further information do you need?

What is the fundamental difference between "sharing" and "splitting"?  Why would I use one, compared to the other.  I looked on the Eltima site, but could not find a valid comparison of the two techniques.

Peter VK4IU

PS:  I assume you are aware of all the rubbish spam hitting the forum.



Re: Serial Spliiter - Service keeps stopping Reply #3 on: March 14, 2013, 12:54:17 PM
Hi Peter,

Any chance our testers could reproduce the issue on our end using a USB to COM adapter, Serial Splitter and the applications you use for operating the output virtual ports?

Quote
What is the fundamental difference between "sharing" and "splitting"?  Why would I use one, compared to the other.  I looked on the Eltima site, but could not find a valid comparison of the two techniques.

Splitting a real port you will get a set of virtual ports. Each of your applications will work with a separate virtual port.

In the case of sharing multiple applications will be able to operate the same real port, thinking that they are working with this port exclusively.



Re: Serial Spliiter - Service keeps stopping Reply #4 on: March 14, 2013, 10:53:45 PM
G'Day,

What I am trying to do is ...

I have two radios, each of which can be controlled by a serial port via an FTDI USB RS232 connection.

I have several peices of software, some of which want exclusive access to the RS232 connection, and others that are willing to share a connection via a COM object  driving the RS232 connection.

There is a minor complication in that some software will only work with ports below 8, others only below 16, and others only below 20.

I started with a different arrangement, but, to help in finding what the problem is, I have simplified the config down to the following.

I have split each USB port into two - COM19<->COM1,COM9 and COM20<->COM2,COM12.  I used "complex bundle" to set it up, and COM19,20 and COM1,2 are marked as "main".

COM1, and COM2 are used by ONE peice of software, and COM9 and COM12 are configured into the COM object and then shared between several other peices of software.

I have also tried, just ONE port COM19<>COM1,COM9. The service still stops occasionally.

The configuration all works as I expect, except for the service stopping now and then.  As an interim, I have written an AutoIT script, running on a 10 second loop that checks if the service is "not running", and restarts it, as necessary.  The system runs for hours, as I expect - except for the sevice stopping.  All the ports are running at 38400 bps, and the PC is a Dell Vostro Intel i7 Notebook.

The COM ports are steaming data continuously.  The two items of software connected directly to the ports send a small command to each USB connection roughly every half second and recieve about 50 or so bytes of data from the radios.  The data streams as monitored by the Eltima - Serial Port Monitor both look like this ....

FA;FA00014100000;DFB;T2;FB00014164300;IF00014100000     -000000 0007000021 ;FA00014100000;FB00014164300;DV0;IF00014100000     -000000 0007000021 ;FA00014100000;FB000141IF;64300;FA;IF00014100000     -000000 0007000021 ;FA00014100000;SB0;FB;FB00014164300;DT2;IF00014100000     -000000 0007000021 ;FA00014100000;FB00014164300;DV0;IF00014100000     -000000 0007000021 ;FA00014100000;FB00014164300;IF;IF00014100000     -000000 0007000021 ;SB0;FA;FA00014100000;FB;FB00014164300;DT2;IF00014100000     -000000 0007000021 ;FA00014100000;FB00014164300;DV0;IF00014100000     -000000 0007000021 ;FA00014100000;IF;FB00014164300;FA;IF00014100000     -000000 0007000021 ;FA00014100000;SB0;FB;FB00014164300;DT2;IF00014100000     -000000 0007000021 ;FA00014100000;FB00014164300;DV0;IF00014100000     -000000 0007000021 ;FA00014100000;FB00014164300;IF;IF00014100000     -000000 0007000021 ;SB0;FA;FA00014100000;FB;FB00014164300;DT2;

... the FA; FB; and IF; being the output, and the rest the reply from the radios.  If I click on buttons in the radio software, or turn the "tuning dial" more o
rf less data goes to/from the radios.

I dont see any incorrect commands, or errors at the radio end of software end.  It all works as I expect.

What data can I collect for you?

I can see the "events" in the event log when the service stops.  I see nothing in the Windows events log to cause alarm.

I have the "sysinternals" utilities, and can see the the "threads" running in the service.

The upload dir is still full!

Peter VK4IU



Re: Serial Spliiter - Service keeps stopping Reply #5 on: March 15, 2013, 11:50:39 AM
Hi Peter,

If possible, we would like to debug the issue remotely. I will contact you via e-mail with further details.



Re: Serial Spliiter - Service keeps stopping Reply #6 on: March 15, 2013, 09:32:41 PM
G'Day,

That's a great offer.  I appreciate the trouble your are going to for me.

But, before we do that.  I have made some changes which have at least stopped the problem happening.

I changed the priority of the splitter_share_service to "real time", and at the same time lowered the polling time of the software by a factor of 5 - 1000ms as compared to 200ms - and more.

I then started a monitor on one of the virtual ports on each link, started all my software, and returned to using the PC as normal.

The service has not stopped now for 24 hours.  Previously it lasted only from a few minutes to a few hours.  I stopped the monitors after a few hours.

I will now proceed to return the polling to a faster rate, and in steps, change the priority of the service back towards normal.

The expectation is that the "service stops" will return at some point.

I will repeat these comments on the forum, and post my results to the forum in a few more days.

Peter VK4IU



Re: Serial Spliiter - Service keeps stopping Reply #7 on: March 18, 2013, 03:00:44 AM
G'Day,

I have a solution to the problem.

I have slowly brought the "polling time" back to an acceptable level - 500-700ms - on each of the programs I am using - four items in total, running against four virtual com ports - and all are streaming data at 38400 bps.

I also slowly decreased the "process priority" of the splitter_share_service service process from "real time" down to the default "normal" level.

The splitter_share_service service has run continuously for the past 48 hours - no failures or restarts.

All my software is operating as expected, and does so while I use the PC for any and all other tasks.

Peter VK4IU



 

Sitemap 1 2 3 4 5