Switch lost connection Repeatedly

Post Reply
mireille
Member
Posts: 24
Joined: Tue Nov 03, 2015 2:12 pm
Location: Roosendaal - NL

Switch lost connection Repeatedly

Post by mireille »

Hello everyone,


Our Switch (12 Update 3) repeatedly loses its connection with the Designer and the Switch Server.

See the messages below:

>> 28-4-2016 13:52:32,Warning,Control,,,,,Switch Designer lost connection to Switch Server at 2016-04-28 13:52:17

>> 28-4-2016 13:52:32,Warning,Control,,,,,Switch Designer restored connection to Switch Server at 2016-04-28 13:52:32

>> Automatic Problem Alert
Switch Server quit unexpectedly; execution log was not properly finalized
The problem was detected during Switch Server startup at: 2016-04-29 10:25:55

This happens almost every hour :-(
During this short breaks Switch doesn't work properly and it slows down our automatic workflow drasticly.

Our Internet, VPN, and network connections act normal without any errors or delays.

Does anybody have a suggestion what causes these loss of connections???


Many thanks from Holland!

Mireille
kumpelj
Newbie
Posts: 10
Joined: Thu Jun 16, 2011 9:18 am

Re: Switch lost connection Repeatedly

Post by kumpelj »

Hi Mireille,

Stop alle flows, reboot Switch and server
Then activate flows by groups and check witch flow is problematic

Or

Export all flows, delete the flows and re-import them again (you might be get an import error for the problem flow)
Watch out!: always count the export flows and compared them with number you've thought are exported BEFORE you delete them

Regards
saitok
Member
Posts: 63
Joined: Fri Apr 24, 2015 10:14 am
Location: Tokyo Japan

Re: Switch lost connection Repeatedly

Post by saitok »

mireille
Member
Posts: 24
Joined: Tue Nov 03, 2015 2:12 pm
Location: Roosendaal - NL

Re: Switch lost connection Repeatedly

Post by mireille »

Hi,

Thanks for the info! I'm going to investigate it.
I didn't know of this Known Issue.

Apparently the connection losses of Switch itself and the Designer are caused by different problems.


With the support of the Enfocus Helpdesk we found out that the crashes of Switch itself propably happened because the programm is running into the memory limit of a 32 bit process. There are several things which might cause this:

Cause 1: PDF thumbnail generation.
In Switch 12, update 3 Switch asks the operating system to create thumbnails so it can send them to SwitchClient. In the case of PDF files the operating system asks Acrobat to create the thumbnails. Unfortunately Acrobat has a memory leak in the thumbnail generation process, causing the memory of Switch to grow until it reached the limit.

There are several ways to handle this:
Possibility 1: Upgrade to Switch 13, update 1
Starting from this version Switch creates the thumbnails for PDF files by itself, avoiding Acrobat and it's memory leak. If it is possible to upgrade to this version, then I would advise to do so.

Possibility 2: Manually adjust Acrobat to avoid the memory leak:
- Close down Acrobat
- Open the following folder:
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat
- Rename "AcroRd32.exe" to something different

From now on it will use another process to generate the thumbnails which doesn't have the issue. Please note that after installing an update to Acrobat it will be necessary to do this again because Acrobat will have repaired it's own installation.

Cause 2: Keeping jobs for a long time in flows.
Please avoid keeping big amounts of jobs in flows for a long time. Switch keeps the job tickets of those jobs in memory, causing a major memory increase.

Cause 3: Loops in your Switch flows.
This may cause job tickets (which are kept in memory) to grow exceptionally large.


At the moment we are testing Possibility 2 and since the modification the programm didn't crash anymore :D

Now we only have to fix the Designer loss ;)
But maybe the Known Issue helps.

Thank you!
saitok
Member
Posts: 63
Joined: Fri Apr 24, 2015 10:14 am
Location: Tokyo Japan

Re: Switch lost connection Repeatedly

Post by saitok »

GREAT!! :o
Post Reply