Very high CPU and RAM [really? serverFFS]
#1

Hello.

I am the guy who hosts one of the least known, yet very populated servers. It was one year ago; that I set up my server, and went up to 88 full player slots. Then I decided to take a break. Now I wanted to have a come-back.

But WHAT IS THIS?
[...]
Excessive resource usage 24th of March 2011 at 16:36:45
Excessive resource usage 24th of March 2011 at 16:16:46
Excessive resource usage 24th of March 2011 at 15:16:26
Excessive resource usage 24th of March 2011 at 14:56:04
Excessive resource usage 24th of March 2011 at 14:36:30
Excessive resource usage 24th of March 2011 at 14:16:08
Excessive resource usage 24th of March 2011 at 13:55:58
[...]
When I start up my server, everything looks OK. Then, the CPU goes abeshit at 10% with NO players. RAM peaks at 560 MB with 12 players, 1600 MB!!!! with 16 players. What the fuck?!

Oh, and the script is perfect. No 256 arrays, few timers, PVars. Objects are under 400, vehs under 700, veh models under 150. Using zcmd.

Now tell me, WHAT THE FUCK? Why? Is it serverFFS' fault?

Please answer if you had problems with serverFFS and high clock/RAM too.

Sincerely, M.
---------------------
There you go; I kicked EVERYBODY, for the server is restarting and restarting...
Info: [...]Players: NONE[...]
Resources:
CPU Usage: 26 %
Memory usage: 547.02 mb
Space in use: 5 mb


...Oi, what the fuck.
Reply
#2

Simple Fix: DO NOT USE SERVERFFS!
Reply
#3

Are you serious? Or are you trolling?
So this is really serverFFS' fault, ain't it...
Reply
#4

Without seeing the script nobody can do anything. Other than that, you should switch your host, serverFFS is known to be doing this even when going over 1% CPU in the wrong second.
Reply
#5

Quote:
Originally Posted by exora
Посмотреть сообщение
Without seeing the script nobody can do anything. Other than that, you should switch your host, serverFFS is known to be doing this even when going over 1% CPU in the wrong second.
I agree, There so over used and under resourced
Reply
#6

Quote:
Originally Posted by TheUllas
Посмотреть сообщение
Hello.


When I start up my server, everything looks OK. Then, the CPU goes abeshit at 10% with NO players. RAM peaks at 560 MB with 12 players, 1600 MB!!!! with 16 players. What the fuck?!

Oh, and the script is perfect. No 256 arrays, few timers, PVars. Objects are under 400, vehs under 700, veh models under 150. Using zcmd.

Now tell me, WHAT THE FUCK? Why? Is it serverFFS' fault?

Please answer if you had problems with serverFFS and high clock/RAM too.

Sincerely, M.
---------------------
There you go; I kicked EVERYBODY, for the server is restarting and restarting...
Info: [...]Players: NONE[...]
Resources:
CPU Usage: 26 %
Memory usage: 547.02 mb
Space in use: 5 mb


...Oi, what the fuck.
you can use all the RAM and all the CPU resources with 1 line of code. It is in your script...
Reply
#7

It is not. Even on my weak PC the server runs GREAT.
The problem is that the server of serverFFS is still on 1600 RAM after I stopped it. Even the CPU. WTF?

To make this clear: NOT MY SCRIPT.
Reply
#8

Quote:
Originally Posted by exora
Посмотреть сообщение
Without seeing the script nobody can do anything.
That, and how is it ServerFFS's problem when your script takes way too much CPU and RAM?
Reply
#9

Quote:
Originally Posted by WackoX
Посмотреть сообщение
That, and how is it ServerFFS's problem when your script takes way too much CPU and RAM?
Just because you are from the Netherlands and patriotic, it doesn't mean that everything I do is complete BS.
When I run the server on my PC, it takes away fn LESS THAN 1.6 GB RAM. In fact with 20 people I saw no changes in CPU and MAX. 40 MB RAM usage. The server was up for 10 hours. I really did clean everything in my script up. It cannot be my script.
When I re-installed the server (grandlarc), I had the same problem. Approx. 1.6 GB of random access memory.
The funny part: it really doesn't depend on anything for the CPU and RAM usage to go down. Even when I shut the server off, it had like 56% CPU. AND! All RAM usage sizes are "pre-defined". I saw 145.6 MB and 121.06 MB pseudo-RAM usage more than 20 times. Now I found out that it changes fn RANDOMLY! Let me express this in code:

Код:
//Tut for Trolls.
#include <Troll.inc>//Our include.
OnServerEveryFiveMinutesCheck(Mike'sServ)//Is called every five minutes.
{
 new Troll=random(512);//Allocatin' the Troll. High number, if possible.
 if(Troll <= 512) Troll = Over 9000;//...You know what? Fk it. 
 if(ServerFnEmpty(Mike'sServ)) SetRAMUsage(Mike'sServ, Troll), SetCPUUsage(Mike'sServ, 0.5*Troll);//...
 else SetRAMUsage(Mike'sServ, Troll*5), SetCPUUsage(Mike'sServ, 1.5*Troll);//Someone there? Aha!
 return SendMikeMessage("Dear Mike. Your script sucks balls. Server restarts!", TROLL_COLOR);
}
OnServerRestart(Mike'sServ)//Called immediately after a restart.
{
 for(new i=0; i<9000; i++) new UnusedString[i];//Make it look like Mike's a noob with 1024+ strings.
 return SendMikeMessage("DefinAtely your script, Mike. Work on it, fat boy.", ORLY_COLOR);
}
OnMikeReact()
{
 if (IsMikePissed) Ignore(Mike,2);//Ignore in days.
 else if (MikeReinstalledServer && GetRAM(Mike'sServ)> 9000) Ignore(Mike,2);//Same here.
 else if (MikeImprovedScript) OnServerRestart(Mike'sServ), SendMikeUrScriptIsBullshitMSG;//Almost done.
 return 1;
}
OnMikeLogin
{
 LeaveMikeEmail("Suspicious login into your account.", RandomIP);//Generated in the include.
 return SendMikeMessage("Mike; if it isn't your fault (n' it is not ours) it's prolly haxx0r?!");
}
Reply
#10

Quote:
Originally Posted by TheUllas
Посмотреть сообщение
Just because you are from the Netherlands and patriotic, it doesn't mean that everything I do is complete BS.
When I run the server on my PC, it takes away fn LESS THAN 1.6 GB RAM. In fact with 20 people I saw no changes in CPU and MAX. 40 MB RAM usage. The server was up for 10 hours. I really did clean everything in my script up. It cannot be my script.
When I re-installed the server (grandlarc), I had the same problem. Approx. 1.6 GB of random access memory.
The funny part: it really doesn't depend on anything for the CPU and RAM usage to go down. Even when I shut the server off, it had like 56% CPU. AND! All RAM usage sizes are "pre-defined". I saw 145.6 MB and 121.06 MB pseudo-RAM usage more than 20 times. Now I found out that it changes fn RANDOMLY! Let me express this in code:

Код:
//Tut for Trolls.
#include <Troll.inc>//Our include.
OnServerEveryFiveMinutesCheck(Mike'sServ)//Is called every five minutes.
{
 new Troll=random(512);//Allocatin' the Troll. High number, if possible.
 if(Troll <= 512) Troll = Over 9000;//...You know what? Fk it. 
 if(ServerFnEmpty(Mike'sServ)) SetRAMUsage(Mike'sServ, Troll), SetCPUUsage(Mike'sServ, 0.5*Troll);//...
 else SetRAMUsage(Mike'sServ, Troll*5), SetCPUUsage(Mike'sServ, 1.5*Troll);//Someone there? Aha!
 return SendMikeMessage("Dear Mike. Your script sucks balls. Server restarts!", TROLL_COLOR);
}
OnServerRestart(Mike'sServ)//Called immediately after a restart.
{
 for(new i=0; i<9000; i++) new UnusedString[i];//Make it look like Mike's a noob with 1024+ strings.
 return SendMikeMessage("DefinAtely your script, Mike. Work on it, fat boy.", ORLY_COLOR);
}
OnMikeReact()
{
 if (IsMikePissed) Ignore(Mike,2);//Ignore in days.
 else if (MikeReinstalledServer && GetRAM(Mike'sServ)> 9000) Ignore(Mike,2);//Same here.
 else if (MikeImprovedScript) OnServerRestart(Mike'sServ), SendMikeUrScriptIsBullshitMSG;//Almost done.
 return 1;
}
OnMikeLogin
{
 LeaveMikeEmail("Suspicious login into your account.", RandomIP);//Generated in the include.
 return SendMikeMessage("Mike; if it isn't your fault (n' it is not ours) it's prolly haxx0r?!");
}
If it happens on grandlarc without any plugins/filterscripts, please open a support ticket explaining this.
Further more, the RAM usage is based upon a percentage and then converted into MB's by taking the total memory in consideration.
Hence you will only see 100 possible RAM amount, since it goes between 0% and 100%.

To disable the e-mails about suspicious logins, please do so at Account -> Preferences.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)