SatEurope.net
CardShare.cc
Z2U.com - IPTV
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Page 10 of 12 FirstFirst ... 58910111112 LastLast
Results 91 to 100 of 112

Thread: Huge memory consumption with CACHE-EX

  1. #91
    VIP Member galiano's Avatar
    Join Date
    17-06-2008
    Posts
    797
    Uploads
    15
    Likes
    1

    Re: Huge memory consumption with CACHE-EX

    Here there is movement:
    Today I wrote this
    Several hours later there was new fix

    Currently I have the opportunity to test, I'll do it tonight.

  2. SatEurope.net
  3. #92
    VIP Member CapNCooK's Avatar
    Join Date
    10-03-2012
    Location
    Earth
    Posts
    324
    Uploads
    5
    Likes
    4

    Re: Huge memory consumption with CACHE-EX

    Quote Originally Posted by galiano View Post
    Here there is movement:
    Today I wrote this
    Several hours later there was new fix

    Currently I have the opportunity to test, I'll do it tonight.
    Thank you, it seems that writing on the Oscam board is more effective than placing tickets into their Trac :P
    I'm glad to see there is some attention for this problem now!

    I tested both new revisions, both still having the rising-memory problem.
    Latest release crashed within one minute on my cache-server.

    I will put a message on Oscam's board also now.

    Thanks for putting it under the attention!

  4. #93
    VIP Member CapNCooK's Avatar
    Join Date
    10-03-2012
    Location
    Earth
    Posts
    324
    Uploads
    5
    Likes
    4

    Re: Huge memory consumption with CACHE-EX

    Update:

    - Valgrinded latest build (7285)
    - Updated ticket on Trac (http://streamboard.de.vu:8001/ticket/2676)
    - Placed post at Oscam streamboard segfault thread (http://streamboard.de.vu/wbb2/thread...481#post422481)

  5. #94
    VIP Member CapNCooK's Avatar
    Join Date
    10-03-2012
    Location
    Earth
    Posts
    324
    Uploads
    5
    Likes
    4

    Re: Huge memory consumption with CACHE-EX

    OK, there is some news.

    It seems that the memleak fixes that Corsair has done a few weeks ago are effective.
    The memleaking has stopped at that point, but memory is still "growing" by other causes.

    I have a discussion with Corsair about this matter on another board, and it seems that Oscam's job queue (containing queued jobs from several components) is filled up by "CACHE-EX -> Send Cache" commands,
    this appears to be why memory is growing.

    --

    The remaining question is: Why does this queue fill ?

    Corsair explained that this could be due to the fact that peers have bad (home) connections, and cannot coop with the cache stream that Oscam is sending.
    Oscam is putting these "jobs" into a queue, and causing the mem to fill endlessly.

    You can check the size of the queue yourself, put Oscam into debug mode 1 from the status page, and filter the log on lines with "action 28".
    You will see lines like this:

    2012/08/27 01:38:56 1479E30 c add client job action 28 queue length 151406 ReaderA
    2012/08/27 01:38:56 1479E30 c add client job action 28 queue length 156282 ReaderB
    2012/08/27 01:38:56 1479E30 c add client job action 28 queue length 166223 ReaderA
    2012/08/27 01:38:56 1479E30 c add client job action 28 queue length 166627 ReaderB
    2012/08/27 01:38:56 1479E30 c add client job action 28 queue length 148690 ReaderA


    The numbers in these lines represent the queue-size. (getting bigger, and bigger).

    --

    From what i know now, (and that's not enough to draw a final conclusion), the problem seems to be that this queue isn't cleaned-up when cache expires.
    For instance, when you put max_cache_time=7 into oscam.conf, after 7 seconds cache is cleared from the available collection of cache in RAM, but not from the job-queue.

    For those that wants to follow the disussion, its here: http://streamboard.de.vu/wbb2/thread...481#post422481
    But remember this is a developers forum, containing technical posts only, so keep the overall discussion here please.

    Thanks

  6. #95
    Member
    Join Date
    11-12-2010
    Posts
    43
    Uploads
    0
    Likes
    6

    Re: Huge memory consumption with CACHE-EX

    Anyone tested newest version: 7294?

  7. #96
    VIP Member CapNCooK's Avatar
    Join Date
    10-03-2012
    Location
    Earth
    Posts
    324
    Uploads
    5
    Likes
    4

    Re: Huge memory consumption with CACHE-EX

    Corsair applied a dirty fix to prevent the job queue from filling, by dropping all jobs when the queue reaches 20 jobs.

    This "fix" is really dirty, and i recommend not to use it!
    On top, this fix let my Oscam crash within the minute, so the code is buggy also.

    For now, if you want to exchange cache, use Oscam build <= 7190 with CC-Cam readers only in mode 3.


  8. #97
    VIP Member
    Join Date
    02-07-2011
    Location
    Somewhere between the Streams
    Posts
    3,913
    Uploads
    248
    Likes
    304

    Re: Huge memory consumption with CACHE-EX

    I don`t met instability with 7190 and mixed camd35 + cccam. But i use uniq group for every new exchange

  9. #98
    VIP Member CapNCooK's Avatar
    Join Date
    10-03-2012
    Location
    Earth
    Posts
    324
    Uploads
    5
    Likes
    4

    Re: Huge memory consumption with CACHE-EX

    Quote Originally Posted by turbopower View Post
    I don`t met instability with 7190 and mixed camd35 + cccam. But i use uniq group for every new exchange
    That can be so. But i do not warn for nothing

    There cannot be loopbacks with CACHE-EX, they are eliminated by the de-duplicate system.

    Put oscam in debug mode -d 512 and filter on "duplic", you will see:

    2012/08/29 16:08:59 CEE400 c ignored duplicate pushed ECM 0100&00006A/0000/1415/00:0000 from user1
    2012/08/29 16:08:59 CEE400 c ignored duplicate pushed ECM 1722&000000/0000/0204/00:0000 from user2
    2012/08/29 16:08:59 CF5940 c ignored duplicate pushed ECM 0100&00006A/0000/51B8/00:0000 from user1
    2012/08/29 16:08:59 CF5940 c ignored duplicate pushed ECM 0963&000000/0000/107D/00:0000 from user3
    2012/08/29 16:08:59 C2FF10 c ignored duplicate pushed ECM 0100&00006A/0000/51B8/00:0000 from user2

    So duplicate ECM's are simply not beeing sent to the job-queue, making loopbacks impossible.
    Any rumors, that a complex group system has to be applied to prevent loopback are simply not correct.

    --

    Furthermore, i found out that exchanging cache with camd35 causes these errors:

    2012/08/29 16:10:59 A42B20 p dropping client data for camd_reader1 11s

    2012/08/29 16:10:59 A42B20 p dropping client data for camd_reader1 20s
    2012/08/29 16:10:59 A42B20 p dropping client data for camd_reader1 30s

    If you have many or less of these lines depends on your load.
    At some point, (having about 40 camd35 readers active), my oscam was starting to crash.
    In Oscam's trac, searching on this error, you will find out that this line is caused by several bugs, only existing in the camd35 (reader) code.

    Now that i switched all my readers to cc-cam on 7190, i have a clean log, and my job-queue never exceeds 1 job.

  10. #99
    New Member
    Join Date
    29-06-2012
    Posts
    5
    Uploads
    0
    Likes
    0

    Re: Huge memory consumption with CACHE-EX

    "2012/08/29 16:10:59 A42B20 p dropping client data for camd_reader1 11s"
    i saw those errors ALSO with CCcam clients, although more often with camd35 clients.
    since i use :
    Client max idle:0
    i DIDNT see those errors again!
    do you use client max idle 0?
    regards,

  11. CardShare.cc
  12. #100
    VIP Member CapNCooK's Avatar
    Join Date
    10-03-2012
    Location
    Earth
    Posts
    324
    Uploads
    5
    Likes
    4

    Re: Huge memory consumption with CACHE-EX

    Quote Originally Posted by wimpie007 View Post
    do you use client max idle 0?
    Yes, i have that in oscam.conf.

Page 10 of 12 FirstFirst ... 58910111112 LastLast

Similar Threads

  1. Info Oscam cacheex=3-Част4
    By njor in forum Oscam
    Replies: 90
    Last Post: 11-02-2013, 22:13:55
  2. what do you gain when using CacheEX?
    By TV_LICENCE in forum General Discussions: Cardsharing
    Replies: 10
    Last Post: 05-09-2012, 02:53:25
  3. Question oscam cacheex = 3
    By turbopower in forum OSCam Cache-EX Configuration
    Replies: 0
    Last Post: 15-07-2012, 01:24:02
  4. New oscam cacheex exchange
    By maheshvag in forum OSCam Cache-EX
    Replies: 0
    Last Post: 19-06-2012, 18:21:24

Posting Permissions

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