Raised This Month: $ Target: $400
 0% 

Heapsize usage checker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nunoabc
Senior Member
Join Date: Aug 2007
Location: Portugal, VN Gaia
Old 04-09-2009 , 07:38   Heapsize usage checker
Reply With Quote #1

Is there in any way to create a plugin that checks how many heapsize is being consumed by the server?
Why? Because my GSP (Game Service Provider) has the heapsize for CS1.6 servers at 128000 and if I put a lot of plugins the server starts to crash. I tried asking very kindly to raise the amount of heapsize, but they said no. This way, I, for instance, write amx_heapcheck and the plugin outputted to my console or server's console how many heapsize was the server consuming.

Note: I tried searching the plugins with different keywords such as:
- memory usage
- heapsize usage
- ram usage
- heapsize
- memory plugin
Those key words didn't returned good results, such as map voting plugins, etc etc.

Please answer if it can be done, and if it can or has been done, send the link to the topic.
__________________
nunoabc is offline
ZombieMan
Senior Member
Join Date: May 2008
Location: Italy.
Old 04-14-2009 , 12:23   Re: Heapsize usage checker
Reply With Quote #2

IMPOSSIBLE
__________________
BACK TO BUSINESS

If you want to feel better give me + karma but ... don't forget to leave your name

DO NOT PM me for support
ZombieMan is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-14-2009 , 12:28   Re: Heapsize usage checker
Reply With Quote #3

If I'm right heapsize is dynamic. Don't remember where I've read that but it's not something you should alter.

You say because of a lot of plugins it crashs, can you prove it ?
Arkshine is offline
nunoabc
Senior Member
Join Date: Aug 2007
Location: Portugal, VN Gaia
Old 04-14-2009 , 13:13   Re: Heapsize usage checker
Reply With Quote #4

Quote:
Originally Posted by arkshine View Post
If I'm right heapsize is dynamic. Don't remember where I've read that but it's not something you should alter.
If I'm correct, it is dynamic unless you define how much you want the server to use.
Quote:
Originally Posted by arkshine View Post
You say because of a lot of plugins it crashs, can you prove it ?
I'll try to do so. My server had ZP, which used to crash my server, for the last week and it only crashed once. Yes, I think I can prove, and I'm going to do so, but, just for curiosity, why do you want for me to prove?
__________________
nunoabc is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-14-2009 , 13:27   Re: Heapsize usage checker
Reply With Quote #5

To know if it's really because of heapsize or just because of some plugins together. ( Unless you say me you can give me the exact error of your crash and if related to heapsize )
Arkshine is offline
nunoabc
Senior Member
Join Date: Aug 2007
Location: Portugal, VN Gaia
Old 04-15-2009 , 07:53   Re: Heapsize usage checker
Reply With Quote #6

arkshine, I'm currently testing my home server with all plugins I wanted to have in my public server with one addition, PodBotMM. Since I have school today, I'll be back in about 4-5 hours and check the server. Has now passed about 30 minutes since I started the server and still no signal of crash. Maybe the ZP plugin has been now fixed in some way that doesn't has conflicts with others plugins?

BTW, the error, if I recall correctly, was that the server was trying to use more heapsize than specified. After the error it showed in () how many KB was trying to use. But I can't still give you the exact error. I'm trying, tho...

EDIT:
5 hours later and no crash. It would be great if a plugin could what I wanted to. Thanks guys.
__________________

Last edited by nunoabc; 04-15-2009 at 12:57.
nunoabc 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 08:19.


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