Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

Restarting Windows 2003 when memory gets low

I have a memory leak in a web service thta I am trying to resolve.  Meanwhile, I must restart my system every three or four hours to keep the performance adequate.

Is there a way to auto restart the system when memory gets below a certain threshold?  This capability would allow me to leave the facility during the test period, before I find the cause of the leak.

Any ideas??

thanks,
newbieweb
ASKER CERTIFIED SOLUTION
Avatar of kmotaweh
kmotaweh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curiouswebster

ASKER

Is there a way to make shutdown contingent on the amount of memory available?
DO I type "shutdown -r -t 01" at the command prompt?  I actually want a restart.  How do I do that?

How do I schedule the command to run every three hours?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
also, I need the machine to restart whether I log into my account or not.  The web service starts so can I get it to restart when no one is here to log into the machine??

newbieweb
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
As far as I know, that would not help.  The Page File Usage is near the maximum and needs a system reboot.

And, instead of "shutdown -r -t 01", can I use "restart -r -t 01"?

And will this execute if I never log into my account?  Something tells me it will not.  I need this restart to be automated and hands free.

Please advise...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial