[Koha] Error in SIP2's encoding when clients connect parallel in same time
Ahmet Melih Başbuğ
melihbasbug at gmail.com
Tue Nov 22 23:51:40 NZDT 2016
Hello. I sent in attachment. Thanks.
*Saygılarımla*
*Ahmet Melih Başbuğ*
*Devinim Yazılım Danışmanlık Junior DBA*
*Başkent Üniversitesi Bilgisayar Mühendisliği Yüksek Lisans*
*e-posta : melihbasbug at gmail.com <melihbasbug at gmail.com>*
*website : http://www.ahmetmelihbasbug.net
<http://www.ahmetmelihbasbug.net> *
2016-11-22 11:51 GMT+03:00 Petter Goksøyr Åsen <
petter.goksoyr.asen at kul.oslo.kommune.no>:
> I'm not sure I fully understand your problem, but could you post your SIP
> configuration file?
> /etc/koha/{instanste}/SIPconfig.xml
>
> We are handling hundreds of concurrent SIP requests originating from our
> RFID-based clients without problems.
>
> Petter Goksøyr Åsen
> Deichmanske bibliotek / Oslo Public Library
> ________________________________________
> Fra: Koha [koha-bounces at lists.katipo.co.nz] på vegne av Ahmet Melih
> Başbuğ [melihbasbug at gmail.com]
> Sendt: 22. november 2016 08:15
> Til: koha at lists.katipo.co.nz
> Emne: [Koha] Error in SIP2's encoding when clients connect parallel in
> same time
>
> Hello. We configure SIP2 for RFID in a system for KOHA. Configuration is
> allright, all clients can connect and get results from SIP. However after a
> time, encoding is broken and I have to restart SIP2 in command line.
>
> 9300CNtest1|COtest1|CP34|
> 941
> 1720060110 215612AO27|AB102700011725|
> 1803020120161122 085258AB102700011725|AJKütüphane Üzerine Bir Araştırma
> |AQ27|BG27|
>
>
> I open 2 terminal and connect in same time by telnel
> linux1$> telnet 192.168.2.1 6001
> linux2$> telnet 192.168.2.1 6001
>
> (i send these commands in same time)
> 9300CNtest1|COtest1|CP34|
> 941
> 1720060110 215612AO34|AB21312311|
> 1803020120161122 085258AB102700011725|AJK�t�phane �zerinde
> Ara?t?rma|AQ3|BG3|
>
> Then I restart SIP2 and it result correct in one terminal ;
>
> 9300CNtest1|COtest1|CP34|
> 941
> 1720060110 215612AO34|AB21312311|
> 1803020120161122 085258AB102700011725|AJKütüphane Üzerine Bir Araştırma
> |AQ3|BG3|
> (correct result however it broken after a time)
>
> What should i do when clients connect in paralellism? I divide ports but it
> doesn't work. One client - one port. This client connect at same time and
> all SIP2 in ports are broken. I write a crontab command which restart SIP2
> configuration every 30 minutes. but problem continue
>
> Thanks
> Ahmet
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>
-------------- next part --------------
<acsconfig xmlns="http://openncip.org/acs-config/1.0/">
<!-- above address gets nothing, it's just a namespace -->
<error-detect enabled="true" />
<!--
Set Net::Server::PreFork runtime parameters
syslog_ident will identify SIP2 Koha server entries in syslog
For OpenSolaris, add: syslog_logsock=stream
-->
<server-params
min_servers='15'
min_spare_servers='8'
log_file='Sys::Syslog'
syslog_ident='koha_sip'
syslog_facility='local6'
/>
<listeners>
<!-- vestigial HTTP, never implemented: just use the OPAC!
<service
port="0:8080/tcp"
transport="http"
protocol="NCIP/1.0" />
-->
<service
port="8024/tcp"
transport="telnet"
protocol="SIP/2.00"
timeout="900" />
<service
port="192.168.2.1:6001/tcp"
transport="RAW"
protocol="SIP/2.00"
timeout="900" />
</listeners>
<accounts>
<login id="test1" password="test1" delimeter="|" error-detect="enabled" institution="34" encoding="utf8"/>
</accounts>
<institutions>
<institution id="34" implementation="ILS" parms="">
<policy checkin="true" renewal="true" checkout="true"
status_update="false" offline="true" timeout="900"
retries="3" />
</institution>
<institution id="MAIN" implementation="ILS" parms="">
<policy checkin="true" renewal="true" checkout="true"
status_update="false" offline="false"
timeout="100"
retries="5" />
</institution>
<institution id="CPL" implementation="ILS" parms="">
<policy checkin="true" renewal="true" checkout="true"
status_update="false" offline="false"
timeout="25"
retries="5" />
</institution>
<institution id="kohalibrary" implementation="ILS" parms="">
<policy checkin="true" renewal="false" checkout="true"
status_update="false" offline="false"
timeout="100"
retries="5" />
</institution>
<institution id="kohalibrary2" implementation="ILS" parms="">
<policy checkin="true" renewal="false" checkout="true"
timeout="100"
retries="3" />
</institution>
<institution id="LPL" implementation="ILS">
<policy checkin="true" renewal="false" checkout="true"
timeout="100"
retries="5" />
</institution>
</institutions>
</acsconfig>
More information about the Koha
mailing list