User 761d9eb85b
22-02-2011 14:19:44
Hi,
We are having difficulties with the structure to name functionnality in .NET on the server side. On some specific names (e.g. "THF"), the "importMol" function blocks (never go the next line, I suppose it is a deadlock), and increases the CPU load to 25% (quad core used), and never goes down. Obviously, it does not throw any exceptions.
The code is really simple.
chemaxon.struc.Molecule jchemMolecule = chemaxon.formats.MolImporter.importMol(name, "name");
decimal molarMass = (decimal)jchemMolecule.getMass();
This code never goes to the second line. It only appears on the webserver (this code is directly used in a WCF call, by only one user at a time). In the development webserver (in Visual Studio), it works. Our license currently limits the number of users accessing to the name to structure call to 1, but as only one server uses this license, is not multithreaded, and currently, only one user access the server at a time, the name to structure should work.
We are currently hosting the webserver on IIS 7.
Do you have any ideas how to remove this deadlock ?