ZEO da ClientStoragedan qanday foydalanish kerak?

Salom, ZEO-serverni ishlatishda yordamga muhtojman.

birinchi navbatda ZEO "zeoctl -C /etc/zeo.conf start" bilan boshlanadi, muvaffaqiyatli boshlanadi. /etc/zeo.conf ning mazmuni:


  address ip.ip.ip.ip:9000
  read-only false
  invalidation-queue-size 100


path /var/tmp/Data.fs



path /var/tmp/zeo.log
format %(asctime)s %(message)s



program runzeo -C /etc/zeo.conf

Savol, men ZEO ga ulanishda, masalan:

from ZEO import ClientStorage
from ZODB import DB
import transaction
import ZEO.zrpc.client

addr = ('ip', 9000)
storage = ClientStorage.ClientStorage(addr)
...

Tashqariga chiqish:

error: uncaptured python exception, closing channel  (:[Errno 11] Resource temporarily unavailable [/usr/lib/python2.6/asyncore.py|read|74] [/usr/lib/python2.6/asyncore.py|handle_read_event|413] [/usr/lib/python2.6/site-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/zrpc/trigger.py|handle_read|117] [/usr/lib/python2.6/asyncore.py|recv|362] [/usr/lib/python2.6/asyncore.py|recv|588])

Nima uchun? Menga kim yordam berishi mumkin? Rahmat.

Kundalik kontent:

[[email protected] tmp]# tail -f zeo.log 
2011-10-28T20:03:44 new connection ('::ffff:127.0.0.1', 50991): 
2011-10-28T20:03:44 new connection ('::ffff:127.0.0.1', 50992): 
2011-10-28T20:03:44 new connection ('::ffff:127.0.0.1', 50993): 
2011-10-28T20:03:54 (unconnected) disconnected
2011-10-28T20:04:23 new connection ('::ffff:127.0.0.1', 50994): 
2011-10-28T20:04:23 new connection ('::ffff:127.0.0.1', 50995): 
2011-10-28T20:04:23 new connection ('::ffff:127.0.0.1', 50996): 
2011-10-28T20:04:24 new connection ('::ffff:127.0.0.1', 50997): 
2011-10-28T20:04:24 new connection ('::ffff:127.0.0.1', 50998): 
2011-10-28T20:04:24 new connection ('::ffff:127.0.0.1', 50999): 
2011-10-28T20:04:33 (unconnected) disconnected
2011-10-28T20:04:34 (unconnected) disconnected
2011-10-28T20:04:44 new connection ('::ffff:127.0.0.1', 51000): 
2011-10-28T20:04:44 new connection ('::ffff:127.0.0.1', 51001): 
2011-10-28T20:04:44 new connection ('::ffff:127.0.0.1', 51002): 
2011-10-28T20:04:54 (unconnected) disconnected
2011-10-28T20:05:23 new connection ('::ffff:127.0.0.1', 51004): 
2011-10-28T20:05:23 new connection ('::ffff:127.0.0.1', 51005): 
2011-10-28T20:05:23 new connection ('::ffff:127.0.0.1', 51006): 
2011-10-28T20:05:25 new connection ('::ffff:127.0.0.1', 51007): 
2011-10-28T20:05:25 new connection ('::ffff:127.0.0.1', 51008): 
2011-10-28T20:05:25 new connection ('::ffff:127.0.0.1', 51009): 
2011-10-28T20:05:45 new connection ('::ffff:127.0.0.1', 51010): 
2011-10-28T20:05:45 new connection ('::ffff:127.0.0.1', 51011): 
2011-10-28T20:05:45 new connection ('::ffff:127.0.0.1', 51012): 
1
ZEO-serveringizning log faylini tekshirdingizmi? U erda qayd etilgan xato xabarini joylashtirasizmi?
qo'shib qo'ydi muallif Martijn Pieters, manba
Jurnalda hech qanday xato yo'q.
qo'shib qo'ydi muallif 胡杨., manba
Salom, ZODB3.10.0 ni boshqa serverga (ubuntu server) yuklayman, u yaxshi ishlaydi. Ehtimol, birinchi serverda python konfiguratsiyasi haqida ba'zi muammolar mavjud.
qo'shib qo'ydi muallif 胡杨., manba

Javob yo'q

0
Python
Python
372 ishtirokchilar

Bu guruh python dasturlash tilini muhokama qilish uchun. Iltimos, o'zingizni hurmat qiling va faqat dasturlash bo'yicha yozing. Botlar mavzusini @botlarhaqida guruhida muhokama qling! FAQ: @PyFAQ Offtopic: @python_uz_offtopic

Python offtopic group !
Python offtopic group !
150 ishtirokchilar

@python_uz gruppasining offtop gruppasi. offtop bo'lsa ham reklama mumkin emas ) Boshqa dasturlash tiliga oid gruppalar @languages_programming