OCI and O Flags ***Uk r224

There are 11 replies in this Thread which was already clicked 3,714 times. The last Post () by lightning.

  • Hi all i keep getting lots of O flags and glitching, tried messing with the settings max cache wait etc.
    These are my settings, I shouldnt be getting any O flags really.



    <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>
    <profile name="0963-***UK" ca-id="0963" network-id="0002" provider-idents="00 00 00" require-provider-match="false" enabled="true" debug="true">
    <newcamd listen-port="***">
    <no-validation>true</no-validation>
    </newcamd>
    <max-cw-wait>2000ms</max-cw-wait>
    <services-file format="cccam" >/var/etc/CCcam.channelinfo</services-file>
    </profile>

    </ca-profiles>

    <logging log-ecm="true" log-emm="true" 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>true</debug>
    </logging>

    <rmi>
    <display-name>*</display-name>
    <registry-port>*</registry-port>
    <local-port>*</local-port>
    <status-web>
    <listen-port>*</listen-port>
    <ssl enabled="false">
    <keystore password="secret">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>1</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>15</reconnect-interval>
    <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>
    <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>false</redundant-forwarding>
    <reset-services></reset-services>
    <block-services></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="false" 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>false</analyze-overwrites> <!-- keep all contested cws in memory for manual inspection (will leak over time) -->
    <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>6</cw-max-age>
    <tracker-update>15</tracker-update>
    <max-cache-wait>40ms</max-cache-wait>
    <local-host>*****</local-host>
    <local-port>*****</local-port>
    <sync-period>10</sync-period>
    <hide-names>true</hide-names>
    <debug>false</debug>
    <cw-validation checksum="true" zero-counting="true" log-warnings="true"/>
    </cache-config>
    </cache-handler>

    </cardserv-proxy>

  • Make these changes and please report the results


    <max-cw-wait>1800ms</max-cw-wait>


    <cw-max-age>8</cw-max-age>


    <max-cache-wait>200ms</max-cache-wait>



    and if you use oscam to directly feed to csp then check all channels clear ok on a direct share from it


  • tried that before all channels clear fine.


    changed to these settings now getting even higher ecms with the same flag


    2012-07-21 15:22:43 - ***Newcamd[4559] - STAR Plus (0963-***UK:cb8c) - 557 ms - "OCI"
    2012-07-21 15:22:43 - ****Newcamd[61] - STAR Plus (0963-***UK:cb8c) - 556 ms - "OCI"
    2012-07-21 15:22:43 - **** Newcamd[5] - STAR Plus (0963-***UK:cb8c) - 562 ms - "OCI"
    2012-07-21 15:22:43 - ***** Newcamd[4] - STAR Plus (0963-***UK:cb8c) - 443 ms - "OF"


    do you want me to post up my oscam details?

  • yep post your configs when you get a chance


    those times look like the card is about 3 hops away from client ie: CCcam > oscam > CSP > client
    is the card in oscam local ?
    or are your clients hitting a remote cache ?

  • The card in my oscam is local.
    My oscam details:


    Oscam.conf
    [global]
    nice = -1
    WaitForCards = 1
    logfile = stdout
    preferlocalcards = 1
    saveinithistory = 1
    pidfile = /var/run/oscam.pid
    logfile = /var/log/oscam.log
    usrfile = /var/log/oscamuser.log
    cwlogdir = /var/log/cw
    maxlogsize = 10000


    [newcamd]
    port = 17999@0963:0000
    key = 0102030405060708091011121314


    [webif]
    httpport = 8080


    httprefresh = 0
    httpallowed = 0.0.0.0-255.255.255.254
    httphideidleclients = 0
    httpreadonly = 0


    oscam.user
    [account]
    user = ***
    pwd = ****
    group = 1
    uniq = 2
    au = foxtel
    caid = 0963
    disabled = 0


    [account]
    user = ***
    pwd = csp
    group = 1
    uniq = 2
    au = foxtel
    caid = 0963
    disabled = 0


    [account]
    user = ***
    pwd = csp
    group = 1
    uniq = 2
    au = foxtel
    caid = 0963
    disabled = 0


    oscam.server
    [reader]
    label = foxtel
    protocol = smartreader
    device = 001:003
    caid = 0963
    boxid = ****
    detect = cd
    mhz = 1200
    cardmhz = 357
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    blockemm-unknown = 1
    blockemm-g = 1
    lb_weight = 10

  • Is the mhz set that high for a reason


    mhz = 1200



    also remove the boxid, it's not needed, I cant see much else wrong other than a faulty reader


    Also some peeps create a 2nd user acc in oscam for csp, you could try that 1st

  • Disable any remote cache, C lines or N lines you are recieving and strip down your oscam settings
    Just have 2 oscam user accounts for CSP with no security


    Remove uniq & AU from the user accounts


    uniq = 2
    au = foxtel


    Restart oscam then CSP

  • hmm
    seem to be getting this issue now:
    2012-07-22 15:15:29 - WARNING: NewcamdSession[3:0963-***UK] - Duplicate request received for user 'downstairs', already pending: [2625 1bbe] ECM (0x80) >> 0A 41 1B BE 00 00 00 00 00 11 >> 0111 (0x70) >> A531DAB6
    2012-07-22 15:15:29 - WARNING: NewcamdSession[3:0963-***UK] - Duplicate request received for user 'downstairs', already pending: [2624 1bbe] ECM (0x80) >> 0A 40 1B BE 00 00 00 00 00 11 >> 0111 (0x70) >> A531DAB6
    2012-07-22 15:15:29 - WARNING: NewcamdSession[3:0963-***UK] - Duplicate newcamd message received. 4260 Previous: [2624 1bbe] ECM (0x80) >> 0A 40 1B BE 09 63 00 00 00 11 >> 0111 (0x70) >> A531DAB6 Current: [2624 1bbe] ECM (0x80) >> 0A 40 1B BE 00 00 00 00 00 11 >> 0111 (0x70) >> A531DAB6



    Leading to this:
    2012-07-22 15:15 (2 events)
    2012-07-22 15:15:29 - downstairs Newcamd[3] - Boomerang (0963-***UK:1bbe) - 179 ms - "OF"
    2012-07-22 15:15:23 - user2 Newcamd[4] - Unknown (efe) (0963-***UK:efe) - 5413 ms - "F"
    - Time breakdown - Cache wait: 0 ms Send queue: 22 ms Server wait: 99 ms (SDCARD2) Client writeback: 0 ms

  • ok no longer got that issue but the OCI glitch is still coming.


    2012-07-22 18:59 (3 events)
    2012-07-22 18:59:28 - user1 Newcamd[8] - Boomerang (0963-***UK:1bbe) - 1078 ms - "OCI" - (2 occurances)
    2012-07-22 18:59:28 - user2 Newcamd[4] - Boomerang (0963-***UK:1bbe) - 1091 ms - "OCI"
    2012-07-22 18:59:28 - user3 Newcamd[7] - Boomerang (0963-***UK:1bbe) - 1090 ms - "OCI" - (2 occurances)
    2012-07-22 18:57:43 - user4 Newcamd[5] - Boomerang (0963-***UK:1bbe) - 992 ms - "OCI"


    Has to be a csp problem because in oscam around the time ecms are fine:
    2012/07/22 18:57:04 9038408 c 121 (0963&000000/0000/1BBE/62:1DA2): found (70 ms) by foxtel
    2012/07/22 18:57:12 9038408 c 121 (0963&000000/0000/1BBE/62:E4C0): found (69 ms) by foxtel
    2012/07/22 18:57:21 9038408 c 121 (0963&000000/0000/1BBE/62:89D2): found (70 ms) by foxtel
    2012/07/22 18:57:28 9038408 c 121 (0963&000000/0000/1BBE/62:3FAD): found (70 ms) by foxtel
    2012/07/22 18:57:36 9038408 c 121 (0963&000000/0000/1BBE/62:6E6B): found (70 ms) by foxtel
    2012/07/22 18:57:44 9038408 c 121 (0963&000000/0000/1BBE/62:670C): found (69 ms) by foxtel
    2012/07/22 18:57:52 9038408 c 121 (0963&000000/0000/1BBE/62:35F0): found (70 ms) by foxtel
    2012/07/22 18:58:00 9038408 c 121 (0963&000000/0000/1BBE/62:0C21): found (70 ms) by foxtel
    2012/07/22 18:58:08 9038408 c 121 (0963&000000/0000/1BBE/62:B845): found (70 ms) by foxtel
    2012/07/22 18:58:16 9038408 c 121 (0963&000000/0000/1BBE/62:BA4E): found (70 ms) by foxtel
    2012/07/22 18:58:24 9038408 c 121 (0963&000000/0000/1BBE/62:4B0A): found (70 ms) by foxtel
    2012/07/22 18:58:32 9038408 c 121 (0963&000000/0000/1BBE/62:93F9): found (70 ms) by foxtel
    2012/07/22 18:58:40 9038408 c 121 (0963&000000/0000/1BBE/62:E156): found (70 ms) by foxtel
    2012/07/22 18:58:48 9038408 c 121 (0963&000000/0000/1BBE/62:C231): found (70 ms) by foxtel
    2012/07/22 18:58:56 9038408 c 121 (0963&000000/0000/1BBE/62:0552): found (70 ms) by foxtel
    2012/07/22 18:59:04 9038408 c 121 (0963&000000/0000/1BBE/62:0337): found (69 ms) by foxtel
    2012/07/22 18:59:12 9038408 c 121 (0963&000000/0000/1BBE/62:CC10): found (70 ms) by foxtel
    2012/07/22 18:59:20 9038408 c 121 (0963&000000/0000/1BBE/62:9972): found (69 ms) by foxtel
    2012/07/22 18:59:29 9038408 c 121 (0963&000000/0000/1BBE/62:7E97): found (69 ms) by foxtel
    2012/07/22 18:59:37 9038408 c 121 (0963&000000/0000/1BBE/62:9434): found (70 ms) by foxtel
    2012/07/22 18:59:44 9038408 c 121 (0963&000000/0000/1BBE/62:B656): found (70 ms) by foxtel
    2012/07/22 18:59:52 9038408 c 121 (0963&000000/0000/1BBE/62:CB28): found (70 ms) by foxtel
    2012/07/22 19:00:00 9038408 c 121 (0963&000000/0000/1BBE/62:7B6C): found (70 ms) by foxtel

  • Here are some suggestions for changes to your config that work 100% for me
    Test them and decide for yourself
    I hardly ever have ecm times higher that 150ms in csp




    Code
    <connection-manager>
        <reconnect-interval>30</reconnect-interval>
         <congestion-limit>1500ms</congestion-limit>
         <timeout-disconnect-threshold>4</timeout-disconnect-threshold>
         <default-min-delay>30</default-min-delay>
        <session-timeout>240</session-timeout>




    Also imho remote cache will always give problems with 0963 cards, they are the most difficult to get right in csp and I would never use them

  • heres my config and works great with 7 local cards



    <reconnect-interval>60</reconnect-interval>
    <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>4500ms</max-cw-wait>
    <congestion-limit>4000ms</congestion-limit>
    <timeout-disconnect-threshold>2</timeout-disconnect-threshold>
    <service-map>

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!