csp problem on ***uk

There are 31 replies in this Thread which was already clicked 10,792 times. The last Post () by pari.

  • You have 28 clients and 2 sly cards, why do you need to exchange cache with anyone ?
    Those 2 cards are only ticking over with 28 clients in csp


    Code
    Connectors: 2
    Sessions: 28 (active: 24)




  • sync my one card start loosing services after 3 to 4 hours then i restart oscam and its again ok on csp
    when he show lost service in csp i put direct line in stb from oscam on that also channels stop working today i checked then i reboot ubuntu thn all ok not know why stop?
    earlier i change ubuntu and also change my reader omnikey but problem still same some time both cards lost servies and channel not came after short time

  • 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 :)


    thankx my frend fr helping me here is info abt ur config i do 2 changes in that which details below
    i just got bit freez at 350ms in cashe wait then i select 250ms now no freez on csp at sk y uk.
    if i choose metric 0 then my own local start lost service after short time
    now i choose metric 1 and metric 2 for my own 2 local cards and everything working perfect from yesterday no lost service message comes.


    also i test cashe exchange and its also wrking fine.



    only this message comes at events i not know why?
    2012-08-13 01:32:35 - WARNING: ClusteredCache - No record for this proxy found in list from tracker (file:/usr/local/csp/cache/cluster), expected: http://mydns:casheport





    current status


    Name: Csproxy
    State: up
    Started: 2012-08-12 23:44:59
    Uptime: 1h 46m 0s
    Connectors: 5
    Sessions: 34 (active: 23)
    Estimated total capacity: 469 (ECM->CW transactions per CW-validity-period)
    Estimated total load: 16 (forwards during the last period)
    ECM total: 16337 (average rate: 3/s)
    ECM forwards: 10469 (64.1%)
    ECM cache hits: 5904 (36.1%)
    ECM denied: 8 (.0%)
    ECM filtered: 0
    ECM failures: 0
    EMM total: 0

  • 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 :)

  • thankx for help friend now i change cashe wait to 40%. you have also pm


    i m happy and satisfied my problem solved. here members help each other as it show from forum name linuxsat-support. first time i saw at any board every1 helping peoples and solve there problems in quick time when prob came.

  • ok no problem
    <cardserv-proxy ver="0.9.0">
    <ca-profiles>
    <default-des-key>01 02 03 04 05 06 07 08 09 10 11 12 13 14</default-des-key>
    <max-threads>2675000</max-threads>

    <redundant-forwarding>true</redundant-forwarding>
    <load-balance>true</load-balance>
    <load-balancer-mode>fairqueue</load-balancer-mode>

    <profile name="0963-***UK" ca-id="0963" network-id="0002" provider-idents="00 00 00" enabled="true" debug="true">
    <newcamd listen-port="****">
    <no-validation>true</no-validation>
    </newcamd>
    <max-cw-wait>1800ms</max-cw-wait>
    <services-file format="cccam" >/var/etc/CCcam.channelinfo</services-file>
    </profile>
    </ca-profiles>


    <logging log-ecm="false" log-emm="false" log-zapping="false" hide-ip-addresses="false">
    <log-file rotate-count="3" rotate-max-size="1024">log/cardserv.log</log-file>
    <log-level>INFO</log-level>
    <silent>true</silent>
    <debug>false</debug>
    </logging>


    <rmi>
    <display-name>csp</display-name>
    <registry-port>2041</registry-port>
    <local-port>2031</local-port>
    <status-web>
    <listen-port>***</listen-port>
    <ssl enabled="false">
    <keystore password="****">etc/csp_keystore</keystore>
    </ssl>
    <war-file>lib/cs-status.war</war-file>
    <super-users>admin</super-users>
    </status-web>
    </rmi>


    <user-manager class="com.bowman.cardserv.XmlUserManager" allow-on-failure="true" log-failures="true">
    <update-interval>2</update-interval>
    <auth-config>
    <user-source name="Users">
    <user-file-url>file:///usr/local/csp/config/user.xml</user-file-url>
    </user-source>

    <user name="*****" password="*******" max-connections="2" admin="true"/>
    </auth-config>
    </user-manager>


    <connection-manager>
    <reconnect-interval>10</reconnect-interval>
    <timeout-disconnect-threshold>4</timeout-disconnect-threshold>
    <session-timeout>240</session-timeout>
    <default-des-key>01 02 03 04 05 06 07 08 09 10 11 12 13 14</default-des-key>
    <default-keepalive-interval>55</default-keepalive-interval>
    <max-cw-wait>1800ms</max-cw-wait>
    <external-connector-config>
    <connector-file-url>file:///usr/local/csp/config/connector.xml</connector-file-url>
    <update-interval>1</update-interval>
    </external-connector-config>

    <service-map>
    <mapper>
    <auto-reset-threshold>20</auto-reset-threshold>
    </mapper>
    <mapper profile="0963-***UK">
    <redundant-forwarding>true</redundant-forwarding>
    <reset-services>f0e 18af d7c2 d7c7 d7b4 d7b4 516 d7c6 c5cb d7c3</reset-services>
    <block-services>d159 d15b d15d d158 d7c8 d7c2 d15c e06</block-services>
    </mapper>
    </service-map>

    <cws-connectors></cws-connectors>
    </connection-manager>


    <proxy-plugins>
    <plugin class="com.bowman.cardserv.LoggingPlugin" enabled="false">
    <plugin-config>
    <log-dir>log/traffic</log-dir>
    <log-level>ALL</log-level>
    <ip-filter>*</ip-filter>
    </plugin-config>
    </plugin>



    <plugin class="com.bowman.cardserv.DcwFilterPlugin" enabled="true" jar-file="dcwfilterplugin.jar"/>
    <plugin class="com.bowman.cardserv.ProviderIdentPlugin" enabled="true" jar-file="provideridentplugin.jar"/>
    <plugin class="com.bowman.cardserv.I*****Plugin" enabled="false" jar-file="i*****plugin.jar"/>
    <plugin class="com.bowman.cardserv.CacheCoveragePlugin" enabled="true" jar-file="cachecoverageplugin.jar">
    <plugin-config>
    <analyze-overwrites>true</analyze-overwrites>
    <cache-context network-id="0002" ca-id="0963" interval="1"/>


    </plugin-config>
    </plugin>
    </proxy-plugins>

    <cache-handler class="com.bowman.cardserv.ClusteredCache">
    <cache-config>
    <cw-max-age>8000ms</cw-max-age>
    <max-cache-wait>250ms</max-cache-wait>
    <local-host>****</local-host>
    <local-port>7**</local-port>
    <tracker-url>http://*****/cluster.php</tracker-url>
    <tracker-key>1***3****6</tracker-key>
    <tracker-update>1</tracker-update>
    <auto-add-peers>false</auto-add-peers>
    <sync-period>30ms</sync-period>
    <hide-names>false</hide-names>
    <debug>false</debug>
    <cw-validation checksum="true" zero-counting="true" log-warnings="false">
    <bad-dcw>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</bad-dcw>
    <bad-dcw>00 00 00 00 00 00 3C 3C 00 00 00 00 00 00 3C 3C</bad-dcw>
    <bad-dcw>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01</bad-dcw>
    <bad-dcw>00 01 00 00 05 00 04 24 00 00 D3 00 00 BE 1F 56</bad-dcw>
    <bad-dcw>01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16</bad-dcw>
    <bad-dcw>01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10</bad-dcw>
    <bad-dcw>25 11 00 36 00 00 00 00 00 00 00 00 00 00 00 00</bad-dcw>
    <bad-dcw>00 00 00 00 00 00 00 00 25 11 00 36 00 00 00 00</bad-dcw>
    <bad-dcw>85 94 AD C6 B7 3D 73 67 91 90 D0 F1 DF FB B5 8F</bad-dcw>
    <bad-dcw>02 75 01 78 0E 02 CC DC C3 67 14 3E 88 D0 36 8E</bad-dcw>
    </cw-validation>
    </cache-config>
    </cache-handler>
    </cardserv-proxy>


    user: <user name="test" password="password" profiles="0963-***UK" max-connections="1" display-name="test" map-exclude="true"/>


    connector:


    <newcamd-connector name="test" profile="0963-***UK" provider-idents="00 00 00" metric="0" enabled="true">
    <host>****</host>
    <port>***</port>
    <user>csp</user>
    <password>test</password>
    <des-key>01 02 03 04 05 06 07 08 09 10 11 12 13 14</des-key>
    <asynchronous>true</asynchronous>
    </newcamd-connector>

Other Not Listed Softcam Support Forum

Configs, discussion, downloads and guides for Other Not Listed Softcams - CSP, DreamOS, GBox, NEWCamd, MultiCS, OSCam Smod, OSCam Ymod, SUpcam & Wicardd.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!