Posts by dm800pvr

    Also I've got these in oscam log:

    Code
    2012/08/19 17:17:06 8FB5318 c ehsan (0603&000000/014D/20F9/3C:DC73): not found (442 ms) by jsc (jsc i*****_do_cmd [2] 90 00)
    2012/08/19 17:17:07 8FB5318 c ehsan (0603&000000/0000/20F9/67:0817): not found (540 ms) by jsc (jsc i*****_do_cmd [2] 90 00)
    2012/08/19 17:17:07 8FB5318 c ehsan (0603&000000/0001/20F9/3C:D0BD): not found (441 ms) by jsc (jsc i*****_do_cmd [2] 90 00)
    2012/08/19 17:17:08 8FB5318 c ehsan (0603&000000/0004/20F9/3C:517E): not found (442 ms) by jsc (jsc i*****_do_cmd [2] 9e 00)
    2012/08/19 17:17:08 8FB5318 c ehsan (0603&000000/0007/20F9/3C:3074): not found (441 ms) by jsc (jsc i*****_do_cmd [2] 90 00)
    2012/08/19 17:17:09 8FB5318 c ehsan (0603&000000/000A/20F9/3C:D2A3): not found (442 ms) by jsc (jsc i*****_do_cmd [2] 90 00)
    2012/08/19 17:17:09 8FB5318 c ehsan (0603&000000/0011/20F9/3C:E516): not found (441 ms) by jsc (jsc i*****_do_cmd [2] 90 00)
    2012/08/19 17:17:10 8FB5318 c ehsan (0603&000000/006F/20F9/3C:48F9): not found (441 ms) by jsc (jsc i*****_do_cmd [2] 90 00)

    whats <session-timeout> and <session-keepalive> if you are using oscam? Idle time is too short means client sends keep alive in a short period of time? can you provide more info on your cs schematic? csp? oscam? configs



    thanks

    The <tracker-url> is a cache update list and should define by your friends proxu1.host.com:port in /usr/local/csp/cache/cluster (cachecluster list) so if you receive a new cw (either from your local card or other proxies) , your CSP update all links (remote proxies) listed in that file automatically.
    So if some client request an ECM from your friends they would not bother your CSP, CPU usage or your BW and they find the cw answer in their cache and reply to client immediately (cache hit).
    You can also blowfish this file for encryption, define a tracker key or input an external http link instead of poiting to a local file,
    This have some benefits like when a new ip-link:port added to list there is no need to restart the CSP and it will update all friends automatically.


    PS:
    Setting max-cache-wait to 350ms with freeze and changing to 250ms without freeze is very strange to me! how it's possible to hit a local CW by 250 but freeze free with 350 !


    PS2:
    You can choose a percentage instead of timing
    <max-cache-wait>40%</max-cache-wait>
    This way tells max-cache-wait = 40% of max-cw-wait of each profile! :)


    Why I suggest this?
    because you may have 2 profile here (which is local and with ms timing!)
    But later you may have some profiles with over 8-9 seconds cw wait! so defining a unique number for cache wait is a bad idea! max-cw-wait is different in each profile so use percentage instead and give your clients chances to find their CW in remote proxies :)


    PS3:
    Don't forget to do an optimization on most important things in cs sharing, max_cw-wait
    You can do that with full debug on and by LoggingPlugin (change it to true in xml config and watch for it in status web) which is a very useful plugin on this case :)

    Only this method works now
    Remove all java or reinstall fresh ubuntu


    Code
    sudo add-apt-repository ppa:ferramroberto/java
    sudo apt-get update
    sudo apt-get install sun-java6-jdk


    Also by this method will choose exact java if alternative packages installed before (use sun-java-6)


    Code
    sudo update-alternatives --config java

    thankx sync thankx dm800 thanx sajjid for helping me now my problem solved u all are relly nice persons .


    good to see u solved it
    how u overcome the problem? by last configs in my post or any modifications? please provide more details if some one later have the same issue :)

    <max-cw-wait>1800</max-cw-wait> should enter in ca profile not <connection-manager> section
    max-cache-wait also should enter with ms parameters ex 350ms


    try this:
    1.make sure you have /cache and
    2. try with both test09 and test10 users
    3.put your channel info to /var/etc/CCcam.channelinfo
    4.change <cws-connectors> section I've added local card there so change it to your local card info and add additional network connectors but set metric higher not 0 to first check your local cards then csp try checking network
    5.<debug>true</debug> in ClusteredCache section turned on to see additional cache information in status web so after your test remove it to rise the performance.


    guys I'm pretty sure it's because some users that have cw-max-wait time lower than your server time so the client send a service lost message and your csp remove it and after restart it works again but would happening again I suggest to do a map-exclude for that user if you check your logs and the format is like:
    Example: <user name="usr2" password="secret2" display-name="User two" profiles="otherprofile" max-connections="1" map-exclude="true"/>


    normaly in csp clients update the csp mapper by this way and you can block some of users that may cause this problem by map-exclude in this case :)


    I think another way is to set congestion-limit between max-cw-wait/2 and max-cw-wait
    So that the the proxy do not consider to set it as congested

    your ecm whitelist is wrong because some of length not included and some unnecessary included! check and remove additional length in compare of 3E,42,45,47,4B,4E,56,62,64,68,6A,6F,72,7D,7E,79,80


    you have to make sure manually that all clients connecting to a port never send the wrong traffic so do a manual search on users that may affect the mapping ( service lost) by using map-exclude true or test all your config with one client localy and stop all cws-connectors and by this way you'll find if the problem is locally or occurs by some connectors :)
    increase max-cache-wait to 600-700
    Also do retry-lost-services = true

    just add sid in allow services if not works I think by adding sid to reset-servies mapper won't confuse also please tell us more info about your max_cw_wait
    post some logs

    well done!
    Compile problem,
    Installed a fresh ubuntu and redownload I think thats because I've installed alternative java and some path mismatched in JDK..
    Thanks again!


    This solved my installation problem:
    sudo add-apt-repository ppa:ferramroberto/java


    sudo apt-get update


    sudo apt-get install sun-java6-jdk



    also this method will choose exact java if alternative packages installed before(use sun-java-6)
    sudo update-alternatives --config java

    I've installed sun java but after start:


    ./cardproxy.sh start
    Starting CardServProxy: [ FAILED ]
    Exception in thread "main" java.lang.NoClassDefFoundError: com/bowman/util/FileChangeListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at com.bowman.cardserv.CardServProxy.<init>(CardServProxy.java:65)
    at com.bowman.cardserv.CardServProxy.main(CardServProxy.java:284)
    Caused by: java.lang.ClassNotFoundException: com.bowman.util.FileChangeListener
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 14 more