|
|
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?
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 8/3/2003 Posts: 587 Points: 591
|
Hello,
As I understood this problem occures randomly, right? If you use one process only does this exception take place?
Sincerely yours, Dmitry Sevostyanov.
|
|
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.
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 1/31/2005 Posts: 386 Points: 403
|
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.
|
|
|
Guest |