Re: User Memory Quotas

From: Bodger (jbrown_at_jlbprof.com)
Date: 12/23/04


Date: 23 Dec 2004 13:04:46 -0800

First we have 4 gigs of Ram and 6 gigs of Virtual Memory in 2
pagefile.sys (one on C and one on E drives). We have 2 CPU's, and 273
gigs of disk.

Software installed:

- Sun Webserver 6.1 (it is current).
- MySQL (not sure version)
- MailTraq (current version) is handling our SMTP and POP3 needs.
- ActiveState Perl (handling CGI requests from Sun Webserver).

- And a homebrew application (with 5 instances) that uses TAPI heavily
for dialing out.

- We run the homebrew application in a logged in user and can see the
applications in the task bar.

The situation is as follows:

99% of the time everything works smoothly. But periodically all heck
breaks lose and the best way to describe that is to say it is like we
hit a brick
wall.

When the failure happens the following is true:

- TAPI fails (we wrote the TAPI application so we are intimate with
what is failing). If you are familiar with TAPI the function
lineInitialize (very first step in using TAPI) returns an error.

- New programs do NOT start, they just fail at execution.

- Mailtraq does not seem affected it continues to function.

- The Webserver cannot start any perl programs to handle CGI forms.

- Our homebrew application cannot start any programs (we have it start
a program to email us if there is a failure with TAPI)

- Already running perl programs crash.

Sometimes this "storm" goes away after time and things go back to
normal by themselves, but most of the time we do a reboot to clear the
situation.

When a storm is happening either or both of the following are true:

- We have a higher volume of perl programs running at the time

or

- Our homebrew application has higher then normal memory usage.

Now our homebrew application does suffer from memory leaks but the
problem starts occurring when they are at 25 megs (not very high) so
times 5 we are
talking a max of 125 megs for all 5 programs.

Our current theory that we are working under is that there is some
maximum amount of memory or handles or someother resource that can be
open at any
given time for a logged in user. We feel that all our programs added
together are hitting that artificial limit.

We are no where near filling up Physical Ram much less Physical and
Virtual put together so we feel this is some artificial limit imposed
by the OS.

I have NEVER seen the Commit Charge Peak greater then 800 megs.

But during the storms the Task Manager does not respond so I cannot
confirm the Commit Charge/Peak value. The CPU is pegged, or the Task
Manager would have responded.

Are there any artificial limits to the max amount of memory, handles
etc that a logged in user can use?
Any other ideas on what to do or look for?

Thank you

Julian Brown



Relevant Pages

  • Re: User Memory Quotas
    ... > - TAPI fails (we wrote the TAPI application so we are intimate with ... > - The Webserver cannot start any perl programs to handle CGI forms. ... > - Our homebrew application cannot start any programs (we have it start ... > - Our homebrew application has higher then normal memory usage. ...
    (microsoft.public.windows.server.security)
  • Re: Problem with M2N32 and 4x1GB RAM modules
    ... The IDENTICAL RAM modules that I bought when i ... Every time i sped through the windows boot process and got to ... was one game in particular that NEVER RAN properly with 4 gigs. ... Since the same 2 GB memory was really ...
    (alt.comp.periphs.mainboard.asus)
  • Re: 2 Gigabyte ddr2 memory modules for P5K WS
    ... suggests the memory modules, and two speeds were listed, 5300 and ... P5K because it has a serial port and I need one for an old Wacom ... and it appears to be pretty stable with 8 gigs of memory. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Problem with M2N32 and 4x1GB RAM modules
    ... The IDENTICAL RAM modules that I bought when i built it ... Every time i sped through the windows boot process and got to the ... NEVER RAN properly with 4 gigs. ... Since the same 2 GB memory was really ...
    (alt.comp.periphs.mainboard.asus)
  • Re: need fastest way to write 2gig array to disk file
    ... use approx 8 gigs of memory w/o doing anything especially clever. ... I have no control over how the simulation ... I am replacing it's checkpoint code so we can use all ...
    (comp.os.linux.development.apps)