IRC logs of #tryton for Saturday, 2010-11-06

chat.freenode.net #tryton log beginning Sat Nov 6 00:26:24 CET 2010
2010-11-06 10:54 -!- irclog(~irclog@tycho.b2ck.com) has joined #tryton
2010-11-06 11:04 <cedk> udono: I'm wondering if we are not subject to the 1.6.4 hgweb memory leak
2010-11-06 11:09 <udono> cedk: but it seems to be fixed in 1.6.4
2010-11-06 11:09 <cedk> udono: and we run 1.5
2010-11-06 11:09 <udono> cedk: Ic
2010-11-06 11:10 <cedk> udono: but I don't find the correction
2010-11-06 11:14 <cedk> I suspect hgweb because we need to reboot often the server because of "out of memory" almost since I setup hgweb as a fcgi
2010-11-06 11:14 <udono> cedk: http://selenic.com/pipermail/mercurial-devel/2010-September/024710.html
2010-11-06 11:16 <cedk> udono: I will try it thx
2010-11-06 11:17 <cedk> udono: but it seems it is on client side
2010-11-06 11:20 <udono> cedk: ... otherwise you may use a cron, that kills the process all 6 hours
2010-11-06 11:21 <cedk> udono: it is what I'm looking for :-)
2010-11-06 11:21 <udono> cedk: but this has the issue if someone is pulling in the moment you kill his process, a corrupted mrepos remains.
2010-11-06 11:22 <cedk> udono: hg will stop with an error message I guess
2010-11-06 11:23 <cedk> udono: I just test it and lighttp wait to restore the fcgi
2010-11-06 11:24 <cedk> so there is only a slowdown in cloning but every thing goes fine
2010-11-06 11:26 <udono> cedk: so it sounds perfect.
2010-11-06 11:27 <cedk> udono: I would like to be sure it is this process that is eating all the memory
2010-11-06 11:36 <udono> cedk: so just run some kind of 'ps ux >> ps.log' with a cron first for some days to identify the fat process? Or maybe there is a way to quota the space for user processes?
2010-11-06 11:39 -!- evernichon(~evernicho@i01m-62-35-143-35.d4.club-internet.fr) has joined #tryton
2010-11-06 11:42 <cedk> udono: I started atop
2010-11-06 11:50 <yangoon> cedk: shall I put the links for hgnested on 1.8?
2010-11-06 11:50 <cedk> yangoon: don't understand
2010-11-06 11:51 <yangoon> cedk: they are not yet made made, hg nclone for trytond1.8 doesn't worjk
2010-11-06 11:52 <cedk> yangoon: they are in trytond/
2010-11-06 11:53 <yangoon> cedk: ok, missing in neso
2010-11-06 11:54 <cedk> yangoon: ok
2010-11-06 11:57 <cedk> udono: I think we must change tycho, it has only 235M of ram
2010-11-06 11:58 <cedk> udono: plato got 1G
2010-11-06 11:58 <cedk> and it is the same kind of host buy to ovh
2010-11-06 11:58 <cedk> but at different time
2010-11-06 11:59 <udono> 235M is not a lot
2010-11-06 11:59 <udono> ACTION away bbl
2010-11-06 12:00 <cedk> udono: in fact, I think we made a great challenge to get all running with this amount :-)
2010-11-06 12:01 <udono> cedk: :-) but we did not announce version 1.8 at all
2010-11-06 12:03 <cedk> udono: I still need to fix issue1748 and issue1747
2010-11-06 12:03 <cedk> udono: I guess we will publish the announce monday
2010-11-06 12:03 -!- chrue(~chrue@host-091-097-034-227.ewe-ip-backbone.de) has joined #tryton
2010-11-06 12:03 <cedk> but issue1748 is very strange
2010-11-06 12:04 <cedk> I think it is linked to the fact that sqlite reuse the same id when a record has been deleted
2010-11-06 12:06 <cedk> udono: for the same price, we can have the same host with 2G
2010-11-06 12:08 <yangoon> cedk: same CPU or better?
2010-11-06 12:10 <cedk> yangoon: almost the same
2010-11-06 12:10 <yangoon> seems to me that (apart from the memory leak) CPU is more the bottleneck
2010-11-06 12:11 <yangoon> but 2G surly won't hurt:)
2010-11-06 12:12 <cedk> yangoon: I think it just fit, it is arround 0.8 of load average
2010-11-06 12:13 <cedk> we can have a 4core with almost the same power for each core and 4 G of ram
2010-11-06 12:13 <cedk> for 4x the price of the 1core
2010-11-06 12:14 <cedk> but I think we could split the services on 2 simple hosts
2010-11-06 12:30 -!- ikks(~ikks@190.158.120.174) has joined #tryton
2010-11-06 13:04 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has left #tryton
2010-11-06 13:14 -!- enlightx(~enlightx@dynamic-adsl-94-34-221-67.clienti.tiscali.it) has joined #tryton
2010-11-06 13:17 -!- heg(~heg@82-248.62-188.cust.bluewin.ch) has joined #tryton
2010-11-06 13:24 -!- tony_(~tony@116.233.243.120) has joined #tryton
2010-11-06 15:51 -!- evernichon(~evernicho@i01m-62-35-143-35.d4.club-internet.fr) has left #tryton
2010-11-06 16:10 -!- tony_(~tony@116.233.243.120) has joined #tryton
2010-11-06 16:33 -!- lem0na(~lem0na@84.40.71.19) has joined #tryton
2010-11-06 16:34 -!- enlightx(~enlightx@dynamic-adsl-94-34-221-67.clienti.tiscali.it) has joined #tryton
2010-11-06 17:32 -!- pheller(~pheller@pool-173-48-216-195.bstnma.fios.verizon.net) has joined #tryton
2010-11-06 17:33 <pheller> cedk: testing sqlite patch now
2010-11-06 17:33 <cedk> pheller: ok
2010-11-06 17:34 <cedk> pheller: we should also include the patch for issue1747 in neso build
2010-11-06 17:35 <pheller> cedk: ok, is there a patch on codereview to try?
2010-11-06 17:35 <cedk> pheller: not yet but it is very simple as it is just a typo
2010-11-06 17:36 <pheller> cedk: ok, if you can make the patch, I will test it right now...
2010-11-06 17:36 <pheller> cedk: and if you apply this, the setup.py patch, and the sqlite patch, I can make all the mac packages in the next hour or so
2010-11-06 17:37 <cedk> pheller: I will wait until tomorrow before pushing sqlite patch
2010-11-06 17:37 <pheller> cedk: ok, I can make the packages tomorrow too
2010-11-06 17:38 <pheller> cedk: we should add a setup wizard action to create financial periods for 2.0....
2010-11-06 17:39 <cedk> pheller: why not
2010-11-06 17:40 <pheller> cedk: I'll open an enhancement for this. we should maybe define some default sequences too.
2010-11-06 17:40 <pheller> cedk: ... so it is easier for someone who is trying tryton to get up and running
2010-11-06 17:40 <cedk> pheller: normally there is default sequence
2010-11-06 17:40 <pheller> cedk: ... for a fiscal year?
2010-11-06 17:40 <pheller> cedk: every time I add a fiscal year, all the sequences are empty
2010-11-06 17:41 <cedk> pheller: no because there is sequences per fiscal year
2010-11-06 17:41 <pheller> cedk: right, maybe this could be a part of the wizard; it could offer to create sequences with a default name, like: "FY2010_post_move_seq", etc
2010-11-06 17:42 <pheller> cedk: the user could change them....
2010-11-06 17:43 <cedk> pheller: yes it could
2010-11-06 17:43 <cedk> pheller: perhaps the better will be to have a sequence generator for fiscalyear
2010-11-06 17:44 <pheller> cedk: yes, I think so. if the integrator for a real installation does not like the default, they can change it before the new Fiscal Year begins
2010-11-06 17:45 <pheller> cedk: sqlite patch works fine
2010-11-06 17:45 <pheller> time for a very late breakfast... back in a while
2010-11-06 17:46 <cedk> pheller: did you test migration?
2010-11-06 17:49 <cedk> udono: ping
2010-11-06 18:12 -!- chrue(~chrue@host-091-097-034-227.ewe-ip-backbone.de) has joined #tryton
2010-11-06 18:19 <cedk> udono: did you finish the demo data script?
2010-11-06 18:22 <cedk> I have uploaded new 1.6 series for tryton
2010-11-06 18:22 <cedk> http://www.b2ck.com/~ced/tryton-1.6.2.exe
2010-11-06 18:22 <cedk> http://www.b2ck.com/~ced/tryton-setup-1.6.2.exe
2010-11-06 18:33 <cedk> pheller: here is a command to get last release from hg:
2010-11-06 18:34 <cedk> hg up -r `hg tags|head -2|tail -1|cut -d " " -f 1`
2010-11-06 19:14 <cedk> http://www.b2ck.com/~ced/neso-setup-1.6.1.exe
2010-11-06 19:34 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2010-11-06 19:48 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2010-11-06 19:57 <pheller> cedk: shit, I dropped the old database (the one created with neso before the patch). I'll have to create a new one with trunk, then apply the patch again.
2010-11-06 20:27 <cedk> http://www.b2ck.com/~ced/tryton-1.4.5.exe
2010-11-06 20:27 <cedk> http://www.b2ck.com/~ced/tryton-setup-1.4.5.exe
2010-11-06 20:27 <cedk> http://www.b2ck.com/~ced/neso-setup-1.4.2-r3.exe
2010-11-06 20:28 <pheller> cedk: hmmh, it doesn't seem that the sale I created on neso 1.8 before sqlite fix works after I re-run neso with the fix....
2010-11-06 20:30 <cedk> pheller: that's possible but is new one works?
2010-11-06 20:30 <pheller> cedk: if I create a new database from scratch, then yes
2010-11-06 20:30 <cedk> pheller: no new sale order
2010-11-06 20:30 <pheller> cedk: oh oh, let me try it
2010-11-06 20:31 <pheller> cedk: hmmh, no. but, the server and module versions are 1.8.0 before the fix, and after the fix... so will the migration be run?
2010-11-06 20:32 <cedk> pheller: yes you must run -u all
2010-11-06 20:33 <pheller> cedk: this will work with neso?
2010-11-06 20:34 <cedk> pheller: make a backup and restore it with update checkbox checked
2010-11-06 20:34 <pheller> cedk: ah ok, trying
2010-11-06 20:36 -!- udono(~udono@dynamic-unidsl-85-197-23-235.westend.de) has joined #tryton
2010-11-06 20:36 <pheller> cedk: interesting, the restore database dialog doesn't allow db name to start with digits
2010-11-06 20:37 <cedk> pheller: I think there is already an issue for that
2010-11-06 20:37 <pheller> cedk: hmmh, nope, doesn't seem to work after I reimport the database with update
2010-11-06 20:38 <cedk> pheller: what?
2010-11-06 20:38 <pheller> cedk: I still get the recursion error, even with new sale
2010-11-06 20:38 <pheller> cedk: let me double check the trytond does have the patch....
2010-11-06 20:39 <pheller> cedk: d'oh, patch isn't applied. fixiong
2010-11-06 20:42 <pheller> cedk: works.
2010-11-06 20:42 <pheller> cedk: sorry for the confusion
2010-11-06 20:44 <cedk> pheller: also for old sale order?
2010-11-06 20:44 <pheller> yep
2010-11-06 20:44 <cedk> pheller: great
2010-11-06 20:45 <cedk> pheller: I will upload soon dmg for old series
2010-11-06 20:46 <pheller> cedk: ah, you're backporting this patch?
2010-11-06 20:55 <cedk> pheller: no
2010-11-06 20:56 <pheller> cedk: ok... I'm not sure I understand why you need to upload the dmg then?
2010-11-06 21:06 <cedk> pheller: to test if they work
2010-11-06 21:06 <pheller> ok
2010-11-06 21:21 -!- chrue(~chrue@host-091-097-034-227.ewe-ip-backbone.de) has joined #tryton
2010-11-06 22:11 -!- enlightx(~enlightx@dynamic-adsl-94-34-221-67.clienti.tiscali.it) has joined #tryton
2010-11-06 22:47 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2010-11-06 22:54 -!- bechamel(~user@host-85-201-147-56.brutele.be) has joined #tryton
2010-11-06 23:09 <cedk> http://www.b2ck.com/~ced/tryton-1.6.2.dmg
2010-11-06 23:09 <cedk> http://www.b2ck.com/~ced/neso-1.6.1.dmg
2010-11-06 23:19 <cedk> http://www.b2ck.com/~ced/tryton-1.4.5.dmg

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!