Skip to content
WJunction - Webmaster Forum

every time server over swap memory ..

Status
Not open for further replies.
Hi,

can any body help me mentioned above subject. i had a vps server since last there days its down time by time mostly in the morning due to over load swap memory and using tomuch resources.

i did reboot and after check some site which made trouble so i suspend them after after that problem is same... over loading..

kindly help me in this regards.

Thanks
 

3 comments

it can happen because:

1. you are on a crap managed VPS ( also other users are using too much memory, and then the server overloads )
2. you have a bad coded script and it overloads because of it

how to test it?

just put a normal index.html file on the vps, and if the server load is still high then it's the VPS, then you should change your VPS. else it's your script.
 
I'd agree with sloddl, the VPS hasn't got enough memory, one of your scrpts start using all the memory and VPS starts swapping.

Next thing is, you get a lot of visitors, a lot of (I'm guessing you're using Apache) web server processes are spawned to suffice the demand and it starts eating all of your memory.

The server should be monitored to check what is the cause of this behavior, the soulution can't be found out of the blue for such server behavior.

Can you tell me how much RAM/swap have you got, kind of setup you are running and amount of daily visitors ?

If you're not getting a high hourly/daily visitor count, then you have a script that keeps hogging up the RAM..
 
i have i7 vps with 8 gb ram properly i have more then 200 accounts and mostly 400 user online every time..
now its going little bit good because before i have more then 500 users account so after load i have move 300 users account on other vps...
 
Status
Not open for further replies.

About the author

K
Active Member · Joined
Movies,Internet,Programming
113
Messages
3
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom