Steve_in_Texas wrote on Nov 8
th, 2010 at 4:51pm:
We've been getting this message a lot lately, and it usually results in a crash of the server with all applications locked. It happens often when I export or import a large batch of records. (more than 10,000 records.)
Our server is running Dual Xeon Quad-based processors on a 128GB SSD Drive. Memory installed is 8GB with Task Manager showing 6GB free.
What is causing this and how do we prevent this?
Sesame is a 32 bit application. As such, it can only use 2 GB on Windows and 4 GB on Linux. If you have 8 GB, it becomes more likely that it can use that full amount, because it need not share as much with other applications, the OS, etc. Are you importing/exporting 10,000 total records, or 10,000 parent records (and many children per parent)?
Quote:Sidenote, it appears that Sesame only runs on 1 or 2 of the CPU cores, and users are often 'waiting' on sesame to finish a big mass update, or import/export. Can we speed things up a bit?
Sesame server will use one "main" thread, two additional threads per connected client, and then a new thread for each command issued to the server. It is up to the OS to allocate processors to these threads. It may be that the communications threads are running on separate processors, but are waiting around for messages to come in, so they don't use much CPU time. Identical commands, like those that comprise an import or an export, can't run in parallel. So you may be waiting, if you have lengthy commands that everyone is attempting to run at the same time. The more diverse the activity, the more parallel Sesame server will become, because you don't have different command threads competing for the same resources, and having to wait for each other.