473,396 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Access on Terminal Server - CPU High Usage Problems

3
A client has a W2K SP4 Server 2.4 GHz, 2 GB Ram where they run a management app, built years ago, with Ms Access 2003 (Office recently updated to SP3, MsJet and MDAC have also been updated recently on the server.

There is a growing problem, over quite some time, of Access giving poor performance, slow response and consuming disproportionate amounts of CPU%, to the point where today the CPU usage of only 6 msaccess.exe processes running was over 75%.
The memory usage runs at 35 MB/Access session.

The project code is not optimal, I have seen that there are many cases of non closed objects, a possible memory leak perhaps.
It is possible that the code references something inappropriate, not up to date.
Up to now the firm has always used one single FrontEnd for All Users rather than a distributed FE.
The current FE is rather bloated for the size of the app.
The original programmer should be visiting in the future but it seems clear that something is amiss.

Question: Any suggestions as to where the main problem might lie ?
Apart from being related to Access, using perfmon this is clear.

Thank you
Apr 2 '13 #1
4 5662
zmbd
5,501 Expert Mod 4TB
- Having one front end used by multiple people is certainly part of your problem and may very well be leading to the huge overhead and open objects etc... One very short term solution will be to distribute the front end to each client. You can handle this a variety of ways, I have used a small batch file as well as a more complex VBA solution; however, the easiest by far was to simply send an email out to my users and said, copy this file to your "my documents" and run it from there.

- Next issue may be the underlying table design if it was not well normalized ( > Database Normalization and Table Structures. ) to start with; however, you didn't provide that information.

- Unfortunately, reviewing your entire application is a tad outside of what we can do here, instead your original programmer should be able to help more with this than we really can with as little information as you've given in your post. HOWEVER, should you get stuck with something specific please post back (more than likely with a new thread)

Best of Luck!
Apr 2 '13 #2
NosNix
3
Thanks for your quick reply.
The question of distributing the FE is already being examined although this may not be the most critical part of the cause.
(Since this is a growing problem but has permitted the users to work up to now in an apparently acceptable fashion for most of the time and this for a number of years).
BTW although distributing the FE is a standard and recognized practice I have read somewhere that there is some controversy about the impact of single FEs on the Server compared to employing an FE/User on the Server.
Do you have any comments or notes on this ?

Regarding the DB Structure I have not as yet delved into it.
Up to now I have only commented on the lack of closure of certain variables and perhaps some orphaned objects and the size of the FE.

After the test I should have a better basis on which to work.
I was wondering however if you had any information on Access and TS, any particular useful tuning parameters and configs, Jet/DAO/MDAC/Registry etc.

Thank you
Apr 4 '13 #3
zmbd
5,501 Expert Mod 4TB
BTW although distributing the FE is a standard and recognized practice I have read somewhere that there is some controversy about the impact of single FEs on the Server compared to employing an FE/User on the Server.
Do you have any comments or notes on this ?
Personally, the controversy is a "Red Herring."
That's like saying that everyone must open the web browser directly at the webserver because there will be some impact on the site - which many use ASP or something similar to deliver dynamic content, driven by a database.


I'll let microsoft speak for itself too: MS Access: To split or not to split an Access database


You have to tell me what "TS" means. Afraid I'm a Chemist and I think of "Total Solids," "Test Standard," "True Stoppered," or something else along those lines
As for tunning... normally not an issue; however, some general things: Performance Tips to Speed Up Your Access 2007 Database
and an older one: Ten Tips for Microsoft Office (Office XP)
Apr 4 '13 #4
NosNix
3
Hello,

I apologize for the delay in responding. I spent some time rereading your links, I had in fact read two of them some time ago. The Performance Tips is in fact interesting.
Some of the tips by Ms are in relation to net access, however if one has both FE and BE on the Terminal Server (TS), a part of the network activity is somewhat diminished.
This is by the way the case in hand.

Rebooting the Server often ease the problem for a while and some even schedule reboots to eliminate locks etc quite regularly. Tips regarding the Jet DAO ODBC etc. parameters would be useful. Regarding TS tuning, B Madden MVP has an interesting paper on this.

Thank you again for the follow-up.
Apr 5 '13 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Chung Ley | last post by:
Hi I am having problem running an .net application on a Windows2000 Terminal Server. The application seems to work fine on user's desktop The issues that I have with running the application on...
0
by: MDB | last post by:
I just installed Visual Studio Pro 2003 on our terminal server(Win2003 Server). When I login to terminal server as Administrator or with someone in the Administrators group, I can debug ASP.NET...
16
by: Justin Lazanowski | last post by:
Cross posting this question on the recommendation of an I have a .NET application that I am developing in C# I am loading information in from a dataset, and then pushing the dataset to a grid,...
28
by: (Pete Cresswell) | last post by:
I'd like to dabble in Terminal Server enough to see if I can get some of my MS Access apps to run through it. I've got the MSDN subscription. Is there enough there for a real-world...
1
by: Zen | last post by:
From http://support.microsoft.com/kb/828956/ "Note Microsoft does not support the use of multiple versions of Microsoft Office on a Terminal Server. Coexistence is not supported on versions...
29
by: Arno R | last post by:
Hi all, I am involved in a project where a client needs a new database over a wan (30 or more locations). The client is a health-care organisation that 'services' mentally disordered people. ...
1
by: No Spam | last post by:
Dear Access 2003 Users, Is there any way to launch Terminal Server from Access and pass along the user name that is in a text box? I believe mstsc.exe can be passed an IP address (/v), but can...
14
by: Paul H | last post by:
I have been approached by a new customer to "sort-out" their existing database. They occasionally need to remotely access the database and are using Terminal Server to do so. The weird thing is...
10
by: gary0gilbert | last post by:
An unusual spin to this recurring disk or network error in a Terminal Server environment. Access 2000, Terminal Server 2000, file server is windows 2000. All users have a separate copy of the...
2
by: josephlee | last post by:
Can an Access application running on Terminal Server be accessed by logging in to a remote desktop via a web browser the same as an Access app running on Citrix can be or is it different to that? ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.