Jump to content
  • 0

L2JFrozen server stuck!!! HELP!


WeDesigner

Question

14 answers to this question

Recommended Posts

  • 0

Too many connections, means what it means. Either connections aren't closed when they're opened, and you got a "hole" where it fills until it satuates ; either you got more transactions than default setting, and default value 100 isn't enough.

 

In a first move, add connections to the setting, if it doesn't solve or delay the crash, then you have a leak. You should add/activate the ConnectionCloser of L2J, or rewrite all try /catch block to look like Java 7 (and integrate a security valve).

 

try (Connection...) // Integrates security
{ }

 

instead of old way :

 

try
{
       Connection... // You have to define a "finally {  ... }" block.
}

Link to comment
Share on other sites

  • 0

Too many connections, means what it means. Either connections aren't closed when they're opened, and you got a "hole" where it fills until it satuates ; either you got more transactions than default setting, and default value 100 isn't enough.

 

In a first move, add connections to the setting, if it doesn't solve or delay the crash, then you have a leak. You should add/activate the ConnectionCloser of L2J, or rewrite all try /catch block to look like Java 7 (and integrate a security valve).

 

try (Connection...) // Integrates security
{ }

 

instead of old way :

 

try
{
       Connection... // You have to define a "finally {  ... }" block.
}

tryskel where to put this code?

Link to comment
Share on other sites

  • 0

rewrite all try /catch block

 

All blocks which starts with try (where your connection isn't closed - you have to find it..), he even gave you an example :P

 

try (Connection...) // Integrates security
{ }

 

instead of old way :

 

try
{
       Connection... // You have to define a "finally {  ... }" block.
}

Link to comment
Share on other sites

  • 0

Are you using a scheme buffer or something? Most of the times those have unclosed connections and causes the server problems.

yes im using scheme buffer!

Link to comment
Share on other sites

  • 0

Are you using a scheme buffer or something? Most of the times those have unclosed connections and causes the server problems.

pleaes tell me if i delete the buffer i will not have more this error?

please it's big problem..help me guys please!

Link to comment
Share on other sites

  • 0

pleaes tell me if i delete the buffer i will not have more this error?

please it's big problem..help me guys please!

I guess that testing it, you could get the answer faster, than waiting for a reply here.

Link to comment
Share on other sites

  • 0

I guess that testing it, you could get the answer faster, than waiting for a reply here.

 

Yea that way he will know where's the problem :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...