Solved

Apache or Tomcat are very slow

Posted on 2004-08-22
12
423 Views
Last Modified: 2012-08-13
I am using iManager and Virtual Office on a Dual 850Mhz 512MB ram system with Netware 6.5 sp2.

I notice quite often that it will take a long time to respond to requests when I click on links. I want to use this system to Demo to customers. I have seen this on other systems as well. Are there any settings that I could tweak to raise the level of performance? Or is this the nature of Apache/Tomcat.
0
Comment
Question by:Templar_m
12 Comments
 
LVL 34

Expert Comment

by:PsiCop
ID: 11867166
No, Apache and Tomcat are usually quite peppy. Your problem description is a bit lacking in detail (altho thank you for mentioning server version and SP level) so here's some questions:

What else is this server doing?

How large is the NDS Tree? How many objects (roughly)?

Does the server host an NDS replica or replicas?

What is/are that/those replica/replicas of?

Is/Are the replicas Master, R/W and/or R/O?
0
 
LVL 3

Author Comment

by:Templar_m
ID: 11867181
The tree is very small. There are 1 org, 2 ous(neither are nested), 4 users.  There is a single server.
0
 
LVL 34

Accepted Solution

by:
PsiCop earned 500 total points
ID: 11874243
How's your memory looking? In MONITOR go to SERVER RESOURCES. How much RAM is in the Cache pool?
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 11897921
Isn't 512MB the minimum RAM for 6.5 now?

What is the other hardware like - disk subsystem, in particular?  

You may need to tune your NSS also - have you set it up with a separate pool for SYS and VOL1?  SYS should always have its own pool...
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 11902372
"Isn't 512MB the minimum RAM for 6.5 now?"

See my Comment on this topic in --> http://www.experts-exchange.com/Networking/Netware/Q_21104930.html
0
 
LVL 3

Author Comment

by:Templar_m
ID: 11948185
Not sure which resource you mean when you refer to "Cache pool".

The unit has 512MB of ram.
Server memory statistics under system resources.
The allocated memory pool is 289,951,740 54%
Cache bufferis 32,919,072 6%
Cache moveable memory 0 0%
Cache non-moveable memory 0 0%
Code and Data memory 72,695,006 14%
Misc Memory 155,475,019 29%
Total server work memory 536,469,504 100%
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 34

Expert Comment

by:PsiCop
ID: 11952522
"Cache bufferis 32,919,072 6%"

Ah. THERE is, most likely, your problem. Insufficient RAM.

That % of RAM as Cache should be about 50-75%. Your server is starved for memory, as evidenced by the 6% value of RAM as Cache and the total lack of any allocations in the Cache Moveable and Cache Non-Movable allocation pools. Your Alloc memory pool (used for dynamic memory allocation, or working memory) is sucking up over 256 MB of RAM.

I note that you're running NetWare v6.5 SP2. I assume you use eDirectory 8.7.3. If this server holds an NDS Replica, have you applied the Post-SP2 eDirectory 8.7.3.2 patch? There was a bug in DSLOADER.NLM in NetWare v6.5 SP2 that caused DSLOADER.NLm to fail to release working memory it allocated in the normal course of its duties. The result is that DSLOADER.NLM sucked up all the available RAM and server performance suffered. We got bitten by this and were one of the first FTF sites for the patch, which worked just fine.

The relevant TID and a link to the file for the patch can be found at --> http://support.novell.com/cgi-bin/search/searchtid.cgi?/2968987.htm
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 11952657
I note in passing that dropping RAM as Cache to 6% would have killed NetWare v3.x as dead as a Blue-Screened Windoze box by the time it dropped to 20 or 25%. NetWare 4.x probably would have died too. NetWare v5.x might have handed it by ABENDing the runaway process, but that would have choked DS and it would have been as bad as the NetWare v4.x situation. I have been very (pleasantly!) surprised by the grace and aplomb that NetWare v6 has shown in handling this sort of situation. The server is desperately starved for RAM and its degraded, but still providing services as best it can without choking or throwing out spurious error messages. Its not really even complaining, its just doing its job as best it can. Windoze would have BSODd long ago.

You can verify that the DSLOADER.NLM memory hogging is the actual problem by, at the same screen where you see those memory percentages, selecting "Alloc Memory (bytes)" under the "Tracked Resource Types" menu. If DSLOADER.NLM is the first item on the resultant list, than that's your culprit. On most systems, NSS.NLM or DS.NLM will be first. DSLOADER.NLM should be further down the list - top quarter if the server is doing a lot of replication (holds a lot of replicas, or very large replicas), top half otherwise.

This bug should not affect a server that does not hold NDS replicas (altho the Post-SP2 is still a good idea, since you want to make sure that should you need or want to take advantage of the flexibility of NDS and move a replica to a server, you won't get bitten). If this server is not holding an NDS replica, then you need to look at that sub-menu I pointed out in the previous paragraph and let us know what IS chewing up all its RAM. Might be you just don't have enuf RAM in the box for what you want it to do.
0
 
LVL 1

Expert Comment

by:jwiersma
ID: 12112527
Just add more RAM. I got 768MB RAM on my box... and its still slow with Virtual Office (apache and tomcat apps)... I did a upgrade to 1 GB RAM... now its faster.
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 12112779
I think I said that.

"Ah. THERE is, most likely, your problem. Insufficient RAM."
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 12112805
And, if he has eDir 8.7.3.2, has not applied the Post-SP2 IR patch for that eDir version, and the server holds a replica, then adding more RAM won't help anything, because the DSLOADER.NLM memory leak will just suck it all up and he'll be right back where he started. So, just adding more RAM may not solve the issue.
0
 
LVL 3

Author Comment

by:Templar_m
ID: 12116830
I installed the eDir patch and no effect. I believe it is in sufficient RAM now as well. I will see about getting more ram into that system and let you know.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
"Un" Mapping search drive in Novell 3 539
Mapping drives from Novel Server on Windows 7 64bit 4 1,197
Restoring GroupWise 7 emails 8 447
Active Directory Security Group Scripting 2 576
Often, people trade privacy and security for convenience. However in today's concrete jungle, this is an extremely foolish decision considering the vast amount of technologies being used against consumer interest. First off, I won't waste any time e…
Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now