Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with VFP DLL on Multiple Processors
Message
From
08/01/2003 09:33:19
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00739226
Message ID:
00739284
Views:
18
Hi Claude,

I'm not sure what you mean - the problem only seems to exist on the multiprocessor server [which is in Hong Kong]. We can't replicate it here at all.

We also can't step through the code in the debugger - the prg file is built into a com dll. An ASP page then creates the com object, calls a function in it and accepts the return value from it. The com object is then destroyed.

This code all runs without error - the problem only occurs when tested with 200 threads on the web stress tool over a period of 1 hour. Again, this has only happened on a multiprocessor server in Hong Kong.

My concern is that there may, for instance, be a memory leak in the Oracle 9i ODBC driver or a bug in ASP or Windows 2000 which is triggered by the creation and destruction of so many COM objects on the server. However, because there are so many tools being used in this project, I can't really say where the problem lies. We don't get any kind of error message - IIS just stops responding.

I'm convinced that the actual VFP code which I've written isn't the problem [since I would expect the VFP code to error no matter how many processors were involved].


Best.

Matt.

>you should be able to test individual elements with the Stress tool. Also you can step thru the VFP mtdll code now with the debugger...
>>Hi Claude,
>>
>>We've made sure to replace the VFP runtime libaries and they definitely match SP5. Do you know if other files are replaced by SP5.
>>
>>We've also run the tests here on a single-processor server without problems. I'm not sure how we proceed here because the problems could originate in any of the software we are using - it may not be a VFP problem at all.
>>
>>Best.
>>
>>Matt,.
>>
>>>Matt,
>>>Important: make sure it's VFP6 SP5 - many vfp mtdll problems fixed with that SP.
>>>Check out message#627606 from Mike Stewart of Microsoft. He regularly tests VFP mtdlls on a 4 processor machine.
>>>There's a little about multi-processor with VFP mtdlls here:
>>>http://www.activevfp.com/dev/dna08.htm
>>>The MS stress tool is easy to use. you should be able to approximate what they're doing and identify problem areas...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform