Jave issue

Discussion in 'Web Call Server 5' started by FrankHung, Mar 19, 2019.

  1. FrankHung

    FrankHung Member

    If I use webcallserver for long time(5days) then the jave will use very big memory. Do you know hot do I solve it?
    Please see the attached file.

    Best regards,
    Frank

    Attached Files:

  2. Max

    Max Administrator Staff Member

    Hello.
    Please update to the latest build from this page and check again. If the issue persists, please prepare a report as described here, including gc-core-* logs and send to support@flashphoner.com, we will check. Also check what top command shows.
    Anyway, 2.91 Gb for 5 days does not look awfully, if this value does not permanently grows.
  3. FrankHung

    FrankHung Member

    It can not update, Please see atached file.

    Attached Files:

    • 2.jpg
      2.jpg
      File size:
      453.7 KB
      Views:
      4
  4. Max

    Max Administrator Staff Member

    WCS update from 5.1 to 5.2 is described here.
  5. FrankHung

    FrankHung Member

    OK,TKS, I will test my memory on my server.
  6. FrankHung

    FrankHung Member

    2.91 Gb Just for 4 hours
  7. Max

    Max Administrator Staff Member

  8. FrankHung

    FrankHung Member

    2.91 Gb Just for 4 hours that is for version 5.1x
    Now I change to 5.2x and the memory status is ok unity now. If I have as issue then ask you.
    Another question that is the google chrome can play sound on streaming start on this version 5.2x?
  9. FrankHung

    FrankHung Member

    1 more question my web config "https://aiot7.com:8888/admin/" the account change to demo and password also change to demo now. But I use account "admin" and my own password before. Why change the account and password automaticly?
  10. Max

    Max Administrator Staff Member

    Hello.
    Unfortunately no, a user action is required to enable sound on autoplay in Chrome. Moreover, Firefox announces the same autoplay policy change in near future.
    In WCS 5.0 and 5.1, the WCS manager module performed web interface functions and stored admin password in its own database. In WCS 5.2 this module was removed, now WCS core module performs all the functions including web interface. User credentials now is stored in WCS_HOME/conf/database.yml file. So admin and demo passwords was reset to default during update.
    You can still change admins password and demo password through web interface: Security - Set password.
  11. Max

    Max Administrator Staff Member

    Hello
    We have removed your recent post from public view because it contains private information including license number which must not be open in public.
    If you have any payment issues please send email directly to sales@flashphoner.com and attach license number.
  12. FrankHung

    FrankHung Member

    When I import the private key then appear ""java.lang.NullPointerException" , see attached file

    Attached Files:

  13. Max

    Max Administrator Staff Member

    Good day.
    Please make sure path to your private key contains only allowed symbols (latin characters, digits, dash and slash).
    Also please provide us server logs when problem occurs to support@flashphoner.com
  14. FrankHung

    FrankHung Member

  15. Max

    Max Administrator Staff Member

    Please check if the stream can be played on your server with default server settings (WCS_HOME/conf/flashphoner.properties).
    Or, send its SSH credentials to support@flashphoner.com - we'll check the configuration.
  16. FrankHung

    FrankHung Member

  17. Max

    Max Administrator Staff Member

    Good day.
    We have checked the stream and the server. It seems like your RTMP host is unreachable from your WCS server (real ip addresses are hidden):
    Code:
    PING host_ip (host_ip) 56(84) bytes of data.
    From gateway_ip icmp_seq=1 Destination Host Unreachable
    From gateway_ip icmp_seq=2 Destination Host Unreachable
    From gateway_ip icmp_seq=3 Destination Host Unreachable
    ...
    
    So please check your network configuration.
    Also, we recommend you to adjust Java Heap memory setting in WCS_HOME/conf/wcs-core.properties file as follows
    Code:
    -Xmx8g
    -Xms8g
    
    With default setting 1024M Java Garbage Collector works every 2 second on your server, so it reduces server perfomance.
  18. FrankHung

    FrankHung Member

    1. real ip addresses are hidden => but why the stream can play on your server address?
    2. With default setting 1024M Java Garbage Collector works every 2 second on your server, so it reduces server perfomance. => How to set to the value?
  19. Max

    Max Administrator Staff Member

    Because this RTMP server is available from our server:
    Code:
    PING host_ip (host_ip) 56(84) bytes of data.
    64 bytes from host_ip: icmp_seq=1 ttl=55 time=175 ms
    64 bytes from host_ip: icmp_seq=2 ttl=55 time=175 ms
    64 bytes from host_ip: icmp_seq=3 ttl=55 time=175 ms
    ...
    
    Please ping your RTMP server from your gateway to check
    In WCS_HOME/conf/wcs-core.properties file replace the string
    Code:
    -Xmx1024M
    to the following strings
    Code:
    -Xmx8g
    -Xms8g
    
    then restart WCS
  20. FrankHung

    FrankHung Member

    just
    -Xmx8g

    or
    -Xmx8g
    -Xmx8g
    twice?

Share This Page