SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 11/11/2018, 08:29 PM   #21
codeine666
Little Clucker
 
Join Date: Jun 2017
Posts: 23
Reputation: 0
Default Re: Server Freezing.

@Calisthenics Yeah, That's my issue, It just hangs there for a few seconds or a minute and unfreezes and works perfectyl fine, then again freezes and then unfreezes. It doesn't close the server.exe in my case.
codeine666 is offline   Reply With Quote
Old 11/11/2018, 08:38 PM   #22
Calisthenics
Huge Clucker
 
Join Date: May 2018
Posts: 404
Reputation: 69
Default Re: Server Freezing.

If it unfreezes after a while, then it is not an infinite loop. It seems to me the problem is related to functions that take too long to execute mostly due to large chunks of code. Try Profiler plugin, it might give helpful information.

When you terminated the process, the timer that was executed during that time was `SaveUpdate`. Try to split it into parts and save what is necessary, not everything at the same time.
Calisthenics is offline   Reply With Quote
Old 11/11/2018, 08:42 PM   #23
codeine666
Little Clucker
 
Join Date: Jun 2017
Posts: 23
Reputation: 0
Default Re: Server Freezing.

Yeah, It unfreezes after a while. I did ad a thing on my pawn like a pawn.cfg thingy to show me more info when i compile and this one shows up.

Header size: 28196 bytes
Code size: 4562848 bytes
Data size: 10394788 bytes
Stack/heap size: 109810032 bytes; estimated max. usage: unknown, due to recursion
Total requirements:124795864 bytes
codeine666 is offline   Reply With Quote
Old 12/11/2018, 12:13 AM   #24
ConnorW
Big Clucker
 
ConnorW's Avatar
 
Join Date: Apr 2012
Posts: 87
Reputation: 42
Default Re: Server Freezing.

Quote:
Originally Posted by Ntmx View Post
Firstly kosovo isnt Albanian.

In-topic : Post your server_log
Kosovo is Albania.

OT: Make sure you're using crashdetect, it helps you a lot to find where from problem is coming.
ConnorW is online now   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Freezing shaPP Scripting Help 2 10/04/2014 03:54 PM
Server freezing help? N0FeaR Scripting Help 1 24/01/2014 04:15 PM
Server Freezing Up Anters14 Server Support 5 01/08/2012 07:53 PM
Server freezing Johnson_boy Help Archive 2 03/06/2011 07:33 PM
server keep freezing enrique_uzair@hotmail.com Server Support 9 03/03/2011 09:53 PM


All times are GMT. The time now is 11:21 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.