Raised This Month: $ Target: $400
 0% 

Is it wise ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 11-08-2011 , 12:17   Is it wise ?
Reply With Quote #1

Is it wise
To unload/load amxmodx modules quite a lot of times through this method
on a daily basis ?

meta unload "Ham Sandwich"
meta unload "Fun"
meta unload "FakeMeta"
amx_off

amx_on
meta load addons/amxmodx/modules/hamsandwich_amxx_i386.so
meta load addons/amxmodx/modules/fun_amxx_i386.so
meta load addons/amxmodx/modules/fakemeta_amxx_i386.so

plugins functions work fine without the modules loaded into the meta list.
none problems so far.

any recommendations?
or thoughts about possible negative outcomes?
It would be appreciated to know before I apply this method onto more servers.

Last edited by vamppa; 11-08-2011 at 12:17.
vamppa is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 11-08-2011 , 13:54   Re: Is it wise ?
Reply With Quote #2

What the reason why you're doing this ?
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-08-2011 , 18:10   Re: Is it wise ?
Reply With Quote #3

You shouldn't need to unload any module that doesn't do anything explicitly (aka all the default AMX Mod X core modules like all of the ones you just listed).
__________________
fysiks is offline
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 11-08-2011 , 19:42   Re: Is it wise ?
Reply With Quote #4

Quote:
Originally Posted by drekes View Post
What the reason why you're doing this ?
server CPU/MEM use.
or to reduce any possible lag caused by using too much resources.

Last edited by vamppa; 11-08-2011 at 21:48.
vamppa is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-09-2011 , 01:34   Re: Is it wise ?
Reply With Quote #5

Quote:
Originally Posted by vamppa View Post
server CPU/MEM use.
or to reduce any possible lag caused by using too much resources.
That would mean that the computer you are running the server on is from 1995.

If you are experiencing these issues then something else is likely causing it (if your computer is newer than 10 years old).
__________________

Last edited by fysiks; 11-09-2011 at 01:35.
fysiks is offline
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 11-09-2011 , 07:54   Re: Is it wise ?
Reply With Quote #6

nah where are not experiencing that, I just want to optimize it as best as I can.
because this method will be done on servers around the world which might be less better in hardware then my own.

so this wont cause any negative problems? just positive?
vamppa is offline
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 11-09-2011 , 08:11   Re: Is it wise ?
Reply With Quote #7

depending what you server is running.

Last edited by XINLEI; 11-11-2011 at 13:30.
XINLEI is offline
sake
Senior Member
Join Date: Jul 2011
Old 11-09-2011 , 09:17   Re: Is it wise ?
Reply With Quote #8

Don't unload AMXX Modules at runtime. End of story.
__________________
sake is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-09-2011 , 23:18   Re: Is it wise ?
Reply With Quote #9

The three modules that you listed (if you read all my posts) are not doing anything if they are unused by any plugin. But, the fact that they are running means that a plugin needs them. Regardless of the state of AMX Mod X (on or off) you should leave the modules running. If you didn't need them they wouldn't have loaded.
__________________
fysiks is offline
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 11-11-2011 , 12:55   Re: Is it wise ?
Reply With Quote #10

yes, exactly
the strange thing is eventho they are unloaded the plugins that would require them still work fine map after map after day after day.
when the server is rebooted so will the load/unload.

I am guessing it is still in the servers memory.
will this cause any problems?
vamppa is offline
Reply



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 14:28.


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