Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

VPS 2003 / PHP / Apache 2.2.x / MySQL Temp Freezes Up

- - - - -

  • Please log in to reply
5 replies to this topic

#1
Redhatcc

Redhatcc

    Advanced Member

  • Moderator
  • 366 posts
  • Joined 27-February 08
Hey,

I have a VPS that is with a cheaper hosting package, it has low RAM (less than 1GB). The services that it is running provide me with a website, and this site operates on MySQL, PHP, and the latest edition of Apache. The server itself is Windows 2003 SP2. At any given time I am only using around 230mb's +-50mb's at a time. But always under 300mbs so no where near maxed out.

The problem that I am having is about every 5 mins, for 30 seconds, the server will become very very slow to respond to http request say if someone was trying to visit a web page on my website, or, will become unresponsive when i am remote logged into the server.

Now I have watched the task manager to view the RAM/CPU usage to see if it does spike during this event, but it does not. I have checked the event log for applications, systems, and security, with nothing major in there.

Where I am at now is basically stuck. I don't know if maybe since this is a VPS, there might be other servers running on the server that I have just on another partition, and maybe they are slowing down my service indirectly? Or is there something going on in the background that I am unaware of?

This can happen every 5 mins for 30 seconds, or it can go 12 hours and not happen. But when it does the systems is very slow to respond, but the CPU/RAM/Error Logs in the Management Console shows nothing going wrong.

What am I missing here? DoS/DDoS maybe? Or this doesn't quite fit the description of the problem?



ANY suggestions or help is greatly greatly appreciated!


How to remove advertisement from MSFN

#2
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag
I'd get a perfmon started at 1 second intervals, and watch things like server queues, HDD queues, etc. Assuming you don't see any difference in a working vs slow timeframe, you can be pretty sure the problem is with someone else's VPS chewing up the parent server's resources (especially if it's on what would appear to be a consistent and repeatable timeframe).
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#3
Redhatcc

Redhatcc

    Advanced Member

  • Moderator
  • 366 posts
  • Joined 27-February 08
Thanks for that point of direction.

At this time in the perfmon everything seems normal until the temp freeze happens again. In the monitor I am watching the processes cpu time, and you can seem slight ups and downs as users of the website are viewing/surfing pages.

Although when the freeze happens, the perfmon completely quits recording information as seen below.


Working Graph
Posted Image


Graph When Freezing

Posted Image


This is just what I was watching at the time when I took the screen shots, but it would still have gaps in the graph when you were viewing something else as well. I did run back through the event viewer and received these errors when I launched perfmon for the first time, but it is a non repeating error since I tried to make it occur again 30 mins later.

"WINS Performance Monitor Counters could not get the WINS statistics."
and
"Unable to open the Server service. Server performance data will not be returned. The error code returned is in the first DWORD in the Data section."

But I believe those error are not directly related to the problem. Just errors that occurred when I launched perfmon.




Since the website isn't a must be up 24/7, i might could afford 2 hours of complete downtime late one night and just reimage it, import the db, and install the other apps, but I guess thats a last resort lol.

#4
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag
Yeah, if you don't see any spikes right before it goes off the reservation, then it's not your instance that's causing it.
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#5
Redhatcc

Redhatcc

    Advanced Member

  • Moderator
  • 366 posts
  • Joined 27-February 08
I just wanted to follow up on this problem.

Despite my server hosting company saying it was not the VPS, in fact when they moved my node over to another server my VPS began working great. No issues yet (as of a few weeks).

So similar issues could possibly be resolved this same way.

#6
dencorso

dencorso

    Iuvat plus qui nihil obstat

  • Supervisor
  • 5,934 posts
  • Joined 07-April 07
  • OS:98SE
  • Country: Country Flag

Donator

I sent you a PM... :yes:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users