Results 1 to 5 of 5
  1. #1
    alynutzu18 is offline Member
    Join Date
    Jun 2012
    Posts
    2
    Rep Power
    0

    Default Problem CPU Usage of Java Platform SE binary

    Hello guys,

    My PC Specs : Intel i7 2600k - 8 cores, 12 GB ram , 1 SSD 120, 1TB HDD ( Java JDK x64)
    As OS : Linux x64/Windows 7, 2008 Server

    I have a little big problem with CPU Usage of Java Platform SE Binary.
    Actually I own an test l2j game server that create me problems.
    I don't understand the using of CPU when I start the Game Server java uses 0-1% CPU.
    With 1 player online the CPU Usage goes 30% but after he logout and I have 0 online the CPU maintain the 30% of usage.
    Searching over 2 months I didn't get yet an correctly answer.
    I don't understand where is the problem cause I ask a lot of people that have same server
    I change a lot of packs of servers/OS and still the problem.
    Some people have servers with 1000 players or more online and I'm thinking if I will open my server what will happen with 100 people online and the CPU usage if with 1 player its 30%.
    So please if you have an advice what I can do to fix this problem please don't hesitate to write me an answer.

    Thanks in advance

  2. #2
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Location
    Tucson, AZ
    Posts
    1,060
    Rep Power
    6

    Default Re: Problem CPU Usage of Java Platform SE binary

    What happens if two players connect?
    Get in the habit of using standard Java naming conventions!

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,802
    Rep Power
    19

    Default Re: Problem CPU Usage of Java Platform SE binary

    What kjkrum says.
    It is more than likely that that 30% is the basic server load, and additional players will make little additional claim on it.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  4. #4
    alynutzu18 is offline Member
    Join Date
    Jun 2012
    Posts
    2
    Rep Power
    0

    Default Re: Problem CPU Usage of Java Platform SE binary

    Quote Originally Posted by Tolls View Post
    What kjkrum says.
    It is more than likely that that 30% is the basic server load, and additional players will make little additional claim on it.
    First of all thanks for answers.
    The CPU maintain the usage with 2 players like with 1 and when players log out same CPU usage.
    As I do a lot of tests seems to be a problem with the l2j game pack I use but I'm the only who have this problem I ask a lot of people that are using same server like me and didn't have this problem.
    I used other server pack for tests and I didn't have problems...I don't understand.
    I can't change the server pack cause I worked at it about 1 year thats why I need fix this problem.
    The CPU Usage happens same with the clean l2jpack (l2jfrozen) without any modifications or compiled java.
    Tests I have made for who know's the l2j game packs was L2J Frozen that have problems and L2J Acis that I don't have that problems.
    It's any way somehow to figure it out the exact problem of usage ? I don't know an program or something to coordonate me at the file of the java that use CPU. For moment I use Windows but problem is same on linux.

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,802
    Rep Power
    19

    Default Re: Problem CPU Usage of Java Platform SE binary

    Something inside that code is therefore starting up when a user connects and isn't stopping when they disconnect.
    I'm not sure what you expect us to say.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Usage of JACOB in java.
    By jerry jessie in forum New To Java
    Replies: 3
    Last Post: 02-03-2012, 04:45 AM
  2. Java web usage
    By mDennis10 in forum New To Java
    Replies: 0
    Last Post: 12-14-2011, 09:13 AM
  3. High CPU usage w/JAVA
    By saggioculo in forum New To Java
    Replies: 8
    Last Post: 02-12-2011, 03:02 PM
  4. run java program in 100% usage
    By mr_empty in forum Advanced Java
    Replies: 5
    Last Post: 01-22-2010, 10:35 PM
  5. Replies: 1
    Last Post: 11-17-2008, 09:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •