Welcome Guest Search | Active Topics | Members

Licensing error (Evaluation time period has expired...) in multi-process application Options
Luis Delgado
Posted: Thursday, December 06, 2007 5:51:41 AM
Rank: Member
Groups: Member

Joined: 12/6/2007
Posts: 5
Points: 9
Hi,

I have a service that spawns multiple process of the same application. Each instance of this application generates a number of images. It seems that when the service spawns the processes there is a racing condition to access the license file and sometimes one of the processes fails with a trial exception (Evaluation time period has expired...). I have also tried registering the license key but it doesn't make a difference. Any help?
Dmitry
Posted: Friday, December 07, 2007 4:57:01 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 607
Points: 651
Hello,

As I understood this problem occures randomly, right? If you use one process only does this exception take place?

Sincerely yours,
Dmitry Sevostyanov.
Luis Delgado
Posted: Friday, December 07, 2007 6:08:51 AM
Rank: Member
Groups: Member

Joined: 12/6/2007
Posts: 5
Points: 9
Hi,

No. Inititally I only had one process and never got that problem. I had to go with a multi-process approach because of the memory limitations for a single process (2GB) and my solution needs to generate in the order of 200k images per run and has to be really fast (~4500 images per minute). But it seems that the processes are competing to access the license file.
Alex Kon
Posted: Saturday, December 08, 2007 12:39:18 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 1/31/2005
Posts: 388
Points: 409
Hello Luis,

We tried to reproduce the problem in the following conditions: the first process spawns from 10 to 150 child processes, each of them creates and saves from 1 to 2000 small bitmaps. Our test application uses .lic file and was tested on developer's machines and on our test-server (dual xeon). But, unfortunately, without any success to reproduce the problem.

Could you provide us with a sample which reproduces the problem? If you don't want to give publicity to your code, you can submit case.

Best wishes, Alex.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.