Help - Terminal Server 2003 Borland Interbase
Help - Terminal Server 2003 Borland Interbase
Author
Discussion

nekrum

Original Poster:

588 posts

308 months

Wednesday 5th September 2007
quotequote all
Hi

We have a Windows 2003 Terminal Server ata client site whihc is running a third party application which is using Borland Interbase DBE to connect to Microsoft SQL Server.

The users are getting a "not enough storage is available to process this command" error when trying to access records but there are noe error codes or anything in the event logs.

Anyone had this issue?..

Thanks in advance..

inkyboy360

109 posts

253 months

Wednesday 5th September 2007
quotequote all
nekrum said:
Hi

We have a Windows 2003 Terminal Server ata client site whihc is running a third party application which is using Borland Interbase DBE to connect to Microsoft SQL Server.

The users are getting a "not enough storage is available to process this command" error when trying to access records but there are noe error codes or anything in the event logs.

Anyone had this issue?..

Thanks in advance..
hi mate, sounds like ya are running our of memory.

Is there error on the client or server on on the TS conection desktop?

Maybe the DB query is running too large a query and grabbing all the memmory. What about doing some performance monitor counter for page memery etc and see what is happening?

Not a DBA, so not sure what else to check.

good luck and let us know how ya get on.

Cheers
Paul

nekrum

Original Poster:

588 posts

308 months

Wednesday 5th September 2007
quotequote all
inkyboy360 said:
nekrum said:
Hi

We have a Windows 2003 Terminal Server ata client site whihc is running a third party application which is using Borland Interbase DBE to connect to Microsoft SQL Server.

The users are getting a "not enough storage is available to process this command" error when trying to access records but there are noe error codes or anything in the event logs.

Anyone had this issue?..

Thanks in advance..
hi mate, sounds like ya are running our of memory.

Is there error on the client or server on on the TS conection desktop?

Maybe the DB query is running too large a query and grabbing all the memmory. What about doing some performance monitor counter for page memery etc and see what is happening?

Not a DBA, so not sure what else to check.

good luck and let us know how ya get on.

Cheers
Paul
Thanks Paul

The error is within the app running on the client connection?!..

inkyboy360

109 posts

253 months

Wednesday 5th September 2007
quotequote all
OK as TS is basically running the application in a virtual scenario, the workload is on the server so it's highly unklikely anything to do with the desktop. I would go for the description I said before about using Performamnce Monitor (perfmon.exe) which has all the counters in it that might help.

Is all the hardware ok too, maybe duff memory or a harddrive if your paging alot.

check your pagin sizes and maybe increase them or put the pagefile onto a separate disk which has no other use or has lots os unused space.


buggalugs

9,297 posts

268 months

Wednesday 5th September 2007
quotequote all
The stuff about memory could be a red herring, I've seen that error a lot for all kinds of non-memory related software problems. Is anyone running it successfully? What if you run it on the local console? could it be a security/rights thing?

inkyboy360

109 posts

253 months

Wednesday 5th September 2007
quotequote all
buggalugs said:
The stuff about memory could be a red herring, I've seen that error a lot for all kinds of non-memory related software problems. Is anyone running it successfully? What if you run it on the local console? could it be a security/rights thing?
it could be, but if he doesn't discount it then he'll never know.

IT is all about discounting the possibles and getting to the 1-in-3 options and spending more time on them to get to the bottom of it. Unless ya know what the problem already is, then ya don't need to post here. smile

buggalugs

9,297 posts

268 months

Wednesday 5th September 2007
quotequote all
inkyboy360 said:
buggalugs said:
The stuff about memory could be a red herring, I've seen that error a lot for all kinds of non-memory related software problems. Is anyone running it successfully? What if you run it on the local console? could it be a security/rights thing?
it could be, but if he doesn't discount it then he'll never know.

IT is all about discounting the possibles and getting to the 1-in-3 options and spending more time on them to get to the bottom of it. Unless ya know what the problem already is, then ya don't need to post here. smile
Thanks for the tip. You're right, he should check the free memory first.

inkyboy360

109 posts

253 months

Wednesday 5th September 2007
quotequote all
Buggalugs.......just re-read my post and I mean the OP not you, i.e. not needing to post. Hope that didn't come across as rude.

Cheers
Paul

jamieboy

5,932 posts

260 months

Wednesday 5th September 2007
quotequote all
Has anything changed? More users / data, new patches (app or OS), anything at all?

Worth checking the memory use on the server, but I guess if it was out of the ordinary then your monitoring would have picked it up already...

Based on nothing at all other than a bad memory of BDE, I'd guess at some of the cache settings within the BDE configuration itself.

buggalugs

9,297 posts

268 months

Wednesday 5th September 2007
quotequote all
inkyboy360 said:
Buggalugs.......just re-read my post and I mean the OP not you, i.e. not needing to post. Hope that didn't come across as rude.

Cheers
Paul
np smile Hope he sorts it, he's got a few ideas to go at now!

sp60

524 posts

290 months

Wednesday 5th September 2007
quotequote all
'Storage Space' would hint at disc space not RAM, so have a check how much free disk space is left on the database server. Remember that most databases use their own 'page file' in the form of a tempdb when big inserts or updates are being carried out in a transaction, so storage space can rise and fall very quickly. I would expect an error message in this situation though, so have a look at the specific setup of your database. There may be a maximum size set for log files, temp files or individual database file size that is being hit.

sp60

524 posts

290 months

Wednesday 5th September 2007
quotequote all
Missed the sql server reference.
You can definately set maximum sizes for db files in sql server, so be sure that this is set to allow auto expansion. If this is ok, check the page file size on your server, make sure it is big enough or set to allow system to manage size.

Another consideration is what version of sql server you are using. MSDE certainly and maybe SQL express have a maximum allowable file size, which you may have exceeded.

nekrum

Original Poster:

588 posts

308 months

Wednesday 5th September 2007
quotequote all
Thanks guys

To update you the SQL Server is running on a dedicated server and there are more users(7) connecting to it via XP workstations who are not having the issue as on the terminal server(2 users). So it seems to be the terminal server. I am working with the third party software supplier but they are stumped even though they have had this issue before?!..

As I see it the Borland DBE is connecting the app to SQL server and handling the database routines which is running on the terminal server (part of the app installation). Don't know anything about BDE?!..

Long night ahead me thinks - any comments welcome.. Thanks again..

Edited by nekrum on Wednesday 5th September 17:03

jamieboy

5,932 posts

260 months

Wednesday 5th September 2007
quotequote all
Again, I'd look at the BDE configuration - in the olden days, the BDE Administrator tool was in Control Panel, maybe not any more.

Compare all the BDE settings for the TS installation against the standalone XP installation - check the cache settings in particular.

At the server level, it's also worth checking permissions for TS users to create any temporary files they might need, although if they were wrong then I'd expect it to always fail.

Edited by jamieboy on Wednesday 5th September 17:29

buggalugs

9,297 posts

268 months

Wednesday 5th September 2007
quotequote all
BDE - me neither except that you can click on the little + next to the relevant connection to make sure the BDE works and the connection works, it'll either go green or come up with an error.

jamieboy

5,932 posts

260 months

Wednesday 5th September 2007
quotequote all
buggalugs said:
BDE - me neither except that you can click on the little + next to the relevant connection to make sure the BDE works and the connection works, it'll either go green or come up with an error.
Yep, but there are also settings that you can change to 'shape' the amount of data it'll try to take in one go. Years ago, I had to fiddle with these to solve a very similar problem.

Of course, it's maybe nothing to do with it this time, but stil...

buggalugs

9,297 posts

268 months

Wednesday 5th September 2007
quotequote all
Don't know why the silly sods are going via BDE to get to MSSQL anyway. Random question, this isn't aluminium related is it?

hutchingsp

68,687 posts

241 months

Wednesday 5th September 2007
quotequote all
Does it happen if you run the application at the console?

I ask as I've had problem with older versions of Interbase where they simply don't play nice doing certain tasks via Terminal Services (or the Remote Administration variant).

nekrum

Original Poster:

588 posts

308 months

Friday 7th September 2007
quotequote all
Hi All

Thanks for your feedback. The third party software guys have made some changes to the BDE setup which has made the situation better?!..