Raised This Month: $51 Target: $400
 12% 

Server crashing for no reason?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 11-26-2021 , 15:21   Server crashing for no reason?
Reply With Quote #1

Hello. I would like to ask if there are no errors in the server's console nor in the "addons/amxmodx/logs" folder, but the server still crashes after a certain time after its start, what does that mean?

Recently I added around 30 new plugins and a lot of models at once. Could this be the reason? Maybe, too many plugins cause the server to crash for no reason? Why would this happen? Could it be that too many precaches cause the server to crash?

When I join the server, there is no lag. There is no high CPU usage, but normal CPU usage.

I also enabled the following option:

Code:
; If you want your models to have accurate hitboxes, try enabling this.
; Note: make sure your models don't have messed up hitboxes, otherwise
; this setting might cause your server insane cpu usage and lag!
SET MODELINDEX OFFSET = 1


Enabling this option didn't cause higher CPU usage.

Also, I changed the names of the models. Does it matter what the name of a model will be? See the following code, for example:

Code:
// Runner Zombie Attributes
new const zclass2_name[] = { "Runner Zombie" }
new const zclass2_info[] = { "[Runs fast]" }
new const zclass2_model[] = { "zombie_source" }
new const zclass2_clawmodel[] = { "v_knife_zombie.mdl" }
const zclass2_health = 45000
const zclass2_speed = 300
const Float:zclass2_gravity = 1.0
const Float:zclass2_knockback = 1.5
The name of the hands model is "v_knife_zombie.mdl". However I removed things like "v_", "w_", "p_" and left the models with only names.

Here are some examples. The following models:

v_model_hands_example.mdl
v_zombie_hands_example.mdl
v_zombie_body_example.mdl


were turned into:

model_hands_example.mdl
zombie_hands_example.mdl
zombie_body_example.mdl


Could it be that the absence of prefixes like "v_", "w_" and "p_" are causing the crashes because these prefixes are required by the engine to correctly interpret the models?

There were no crashes before I introduced the changes I mentioned in this thread.

Also, I know the crashes are NOT caused by problems with my computer or OS, because when I start the server that is in the BACK-UP folder (I make BACK-UPs of my server every time before I start making changes to my server), the server runs and doesn't crash. This means that the crashes are caused by some of the changes I introduced.

Read carefully again: There is ABSENCE of errors in the console and in the "logs" folder. This means that the crashes are NOT caused by errors. So, if the crashes aren't caused by errors, then what causes the crashes?

More plugins = more precache. Could it be that the HL engine gets overloaded by these precaches and get crashed, even if the CPU usage of my computer is low, not high? I mean that the crash is may not be caused by overheating of my PC's CPU because the server's console causes too high CPU usage.

So, what could cause the server to crash, for no reason, without showing errors in the server's console nor in the "logs" folder? What causes the crashes according to you?
GlobalPlague is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode